Unable to install scikit-image in Xavier NX

Hi,
I am having issues in installing skimage in a virtual environment.

I used the following :

python3 -m pip install -U scikit-image

pip3 install --upgrade scikit-image

python -m pip install scikit-image

pip install --upgrade --force-reinstall scikit-image

I also tried other similar issues raised in the forum and none of it works.

like :

Please help to resolve this issue.

Board details :

  • NVIDIA Jetson Xavier NX (Developer Kit Version)
    • Jetpack 4.5.1 [L4T 32.5.1]

Can you share a little bit more detail, like error messages you see during installation attempt?

@asgardian
you may try

sudo apt-get update
sudo apt-get install -y build-essential gfortran libatlas-base-dev
sudo pip3 install numpy cython sklearn

or

1. Dependencies

$ sudo apt-get install liblapack-dev gfortran
$ sudo apt-get install python3-pip
$ sudo pip3 install -U pip
$ sudo pip3 install Cython numpy
2. Scipy

$ wget https://github.com/scipy/scipy/releases/download/v1.3.3/scipy-1.3.3.tar.gz
$ tar -xzvf scipy-1.3.3.tar.gz scipy-1.3.3
$ cd scipy-1.3.3/
$ python3 setup.py install --user
3. Tiff

$ wget https://download.osgeo.org/libtiff/tiff-4.1.0.tar.gz
$ tar -xzvf tiff-4.1.0.tar.gz
$ cd tiff-4.1.0/
$ ./configure
$ make
$ sudo make install
4. Scikit-image

$ sudo apt-get install python3-sklearn
$ sudo apt-get install libaec-dev libblosc-dev libffi-dev libbrotli-dev libboost-all-dev libbz2-dev
$ sudo apt-get install libgif-dev libopenjp2-7-dev liblcms2-dev libjpeg-dev libjxr-dev liblz4-dev liblzma-dev libpng-dev libsnappy-dev libwebp-dev libzopfli-dev libzstd-dev
$ sudo pip3 install imagecodecs
$ sudo pip3 install scikit-image

source Install scikit-image - #12 by AastaLLL

1 Like

Hi @Andrey1984 ,

I am getting the below error when I am executing “python3 setup.py install --user” command

Hi,

Based on the screenshot you shared, it should be a warning rather than an error.
Does the building job terminate after the log?

Please noted that since building from the source, it may take some time to finish.
Thanks

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.