I'm trying to install Pandas through pip install
on python 3.8
but the terminal tries to use the pip
from python 3.9
on my computer, though I had thought I deleted everything from the python 3.9
folder. For reference, 3.8
and 3.9
look like this:
Under Python3.9/Scripts
, there is a pip installer for python 3.9
. If I just delete the lib
and scripts
folder from python 3.9
, will the pip installer automatically default to 3.8
?
Thanks
The short approach, remove python3.9 from your Windows Env Variables.
The best approach is using VirtualENV with the custom Python version.
1.- install VirtualEnv 2.- Create an ENV in your terminal with your specific Python version.
virtualenv venv -p=/c/Programs/Python/Python38/python.exe
3.- Activate your VirtualEnv with
source venv activate
Now you have your installation isolated.
我解决了我的问题,我只需要删除包含 lib 和脚本的整个 python3.9 文件夹。
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.