pip and install Jupyter lab
#1
Synaptics installed Python pip very well, but then pip fails to install Jupyter lab.  Jupyter notebook seemingly runs well, so lab failure is a mystery?  Is there a special set of commands for our ARM machine, or is lab not ready yet please?  

I attempted to search for this topic, found no search.  
:-)
#2
I assume that you're using Debian, so there is a possibility that you aren't using python3. For some distributions `python` defaults to python2 while others to python3 and Jupyter lab only works with Python >= 3.5.

Try to run `pip --version` in a terminal and check if you can see python 3 in the output. Here is mine on Manjaro:
Code:
pip 20.0.2 from /usr/lib/python3.8/site-packages/pip (python 3.8)

If you see python 2.7, you should try to use pip3 instead:
Code:
pip3 install --user jupyterlab

I've successfully installed Jupyter lab using pipenv (it creates virtual environments for python projects):

1. Install pipenv with `sudo apt install pipenv`.
2. Open a terminal and cd to your project folder.
3. Run `pipenv --three` to create a new python3 virtual environment for your project.
4. Run `pipenv install jupyterlab` to install jupyterlab. This can take a few minutes to complete on the PineBook Pro.
5. Run `pipenv run jupyter lab` to start Jupyter lab.
#3
Thanks. This odd processor has its differences with some software, none of these commands completed any operation on this default Debs install, and now the Jupyter notebook will not start. Some or other dependency I am sure. Would have been nice, but it is still too early to expect the PBP to run a lot of productivity software yet. Works well enough as a simple word processor though. :-) Leaving off on this problem for a while.
#4
Miniforge is a faster way to install JupyterLab on ARM64 Linux devices (because conda-forge builds (compiles packages) for ARM64 now).

Because there are very few ARM64 wheels on PyPi, when you pip install, you must compile every dependency which needs compilation.

https://github.com/conda-forge/miniforge

You can download the latest miniforge from the releases page:
https://github.com/conda-forge/miniforge/releases
#5
That's odd. I don't have a Debian install handy, but Jupyter Lab and Notebook both work just fine on the default Manjaro when installed with pip(not telling you what to install, just giving you a datapoint)


Possibly Related Threads…
Thread Author Replies Views Last Post
  Does latest Tow-Boot install/work correctly for everyone? tophneal 4 3,098 08-03-2023, 03:30 PM
Last Post: tophneal
  Followed the blog post to install Fedora: PBP not booting anymore koenigs 6 3,049 06-01-2023, 10:58 AM
Last Post: wdt
  Use SD to install new OS over pinebook debian Rudy558 9 12,823 09-25-2022, 01:19 AM
Last Post: jackwilson
  MiniConda Install Issues nixyhustle 0 1,066 09-16-2022, 10:06 PM
Last Post: nixyhustle
  Does anyone know how to install levinsboot on pbp? computerc 0 864 09-05-2022, 03:52 PM
Last Post: computerc
Big Grin EASY SOLUTION for Manjaro "Missing Keys" Update and Install Failure Zoroaster-Z 0 1,806 08-14-2022, 09:01 PM
Last Post: Zoroaster-Z
  microsoft teams install problem jip 3 4,572 02-17-2021, 09:27 AM
Last Post: pagesix1536
  Install postgres motezart 5 9,453 10-28-2020, 03:18 PM
Last Post: wdt
  Install TorBrowser on Pinebook pro 2020 edition BananaPekan 0 2,263 07-30-2020, 04:52 AM
Last Post: BananaPekan
  Need to install 64-bit Ubuntu rhyde 6 8,958 06-20-2020, 07:44 PM
Last Post: rhyde

Forum Jump:


Users browsing this thread: 1 Guest(s)