AutumnWaterlily
AutumnWaterlily

Reputation: 13

How to change python's site-packages path?

Recently I try to install some packages,my python is installed in D:\python,but when I had installed the packages I need,it says "can't find this module"but I truly install this packages in my D:\python when I try python -m site --user-site in my pycharm terminal,it turns out my computer's site-packages path: enter image description here

And when I try python -m site -help,it turns out: enter image description here How to change this path to "D:\python\python36\Lib\site-packages"? Thanks!

Upvotes: 0

Views: 4576

Answers (1)

undefined
undefined

Reputation: 192

Try using py -3.9 instead of python. Is D:\python\python36 in your path ?

Upvotes: 1

Related Questions