Since pip freeze indeed shows scikit-image as installed, I presume that you are launching your script/session using a different environment from the one listed by pip. You should make sure that you are in the same environment. Try python -m pip freeze
and python my_script.py
from the same terminal to make sure that you are comparing the same environment.
RealPython has a decent guide on Python environments here .
You can use pip install scikit-image
.
Also, see the recommended procedure .
If you are using python3 you should install the package using python3 -m pip install package_name
or pip3 install package_name
Using the pip
binary will install the package for python2
on some systems.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.