BodyScan icon indicating copy to clipboard operation
BodyScan copied to clipboard

Installation issue: "Building wheel for opencv-python (PEP 517)..." runs forever

Open Sehaba95 opened this issue 4 years ago • 0 comments

When installing the needed libraries, I have an issue on this command, It was running forever: (pytorch)$ pip3 install scikit-image opencv-python pandas h5py

The problem is when installing the opencv-python, and it can be fixed just by upgrading pip. One solution is to use pip install --upgrade pip before start the installation on the new virtual environment. So here is the new order of the commands:

(pytorch)$ pip install --upgrade pip (pytorch)$ pip3 install torch torchvision (pytorch)$ pip3 install scikit-image opencv-python pandas h5py (pytorch)$ pip3 install cffi (pytorch)$ pip3 install cython (pytorch)$ pip3 install requests (pytorch)$ pip3 install future

Sehaba95 avatar Dec 28 '20 15:12 Sehaba95