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
  microsoft teams install problem jip 3 909 02-17-2021, 09:27 AM
Last Post: pagesix1536
  Install postgres motezart 5 4,878 10-28-2020, 03:18 PM
Last Post: wdt
  Install TorBrowser on Pinebook pro 2020 edition BananaPekan 0 1,002 07-30-2020, 04:52 AM
Last Post: BananaPekan
  Need to install 64-bit Ubuntu rhyde 6 2,878 06-20-2020, 07:44 PM
Last Post: rhyde
  Install new OS without USB Adapter for eMMC Module? leonidas 9 4,097 03-05-2020, 02:30 PM
Last Post: PineFan
  Locate and Install OOTB chromium 78.0 Moon1 0 766 02-21-2020, 12:17 AM
Last Post: Moon1
  Chrome settings that's with default Debian install FeMike 3 1,832 01-25-2020, 02:17 PM
Last Post: hpc@scale

Forum Jump:


Users browsing this thread: 1 Guest(s)