简体   繁体   中英

Python is installed many times but can't figure out why PIP install isn't supporting?

I see the below:

C:\Users\natan12\Documents\My-Work-Files\Python-Learning\New>python -m site --user-site
C:\Users\natan12\AppData\Roaming\Python\Python38\site-packages

The first one above is the directly connected to pycharm where i am working and trying to install PIP packages but I see that all the packages and python are being installed in another folder. Probably, that goes back to days when i was trying to play with it.

My aim is to install and work in the same folder as below:

C:\Users\natan12\Documents\My-Work-Files\Python-Learning\New>python -m site --user-site

But no matter what i install or try to run probably gets into the other place instead of my working directory so i am not sure how to sort out this mess.

Can someone please help me to sort this out?

Did you try installing 'pip' globally? That worked for me when trying to use pip install while working with Django. Hope this works for you too!

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