简体   繁体   中英

Unable to find python module installed by pip

I have installed pip and pip3 by apt-get:

sudo apt-get install python-pip python3-pip

And with pip I installed a python module and the dependencies without sudo:

pip install kicost

The libraries are listed by pip list command, but I can not find it with python3 kicost or kicost .

I tried other tips like putting /home/$USER/.local/lib/python3.5/site-packages in the $PATH variable but that did not work. Did I do something wrong?

here is the code use:

python3 -m pip install six

here python3 is your python version

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM