Installed module using pip, not found

后端 未结 5 1060
暗喜
暗喜 2020-11-29 11:50

I am trying to install a package called \"simpleguitk\" via pip. (On Ubuntu 16.04 with Python 3.5)
After running

sudo -H pip3 install simpleguitk
         


        
5条回答
  •  心在旅途
    2020-11-29 12:08

    pip needs python, and sometimes the python you are trying to execute your *.py may not be same as the python binary used by pip.

    Can you retry installing following these steps:

    which python

    Let's say it prints:

    /usr/bin/python
    

    Means you can use:

    /usr/bin/python -m pip install 
    

    Or you can try to choose from the different versions you have of python.

    Now try executing you *.py using

    /usr/bin/python *.py

提交回复
热议问题