简体   繁体   English

有什么办法可以在Windows上更改Python安装路径吗?

[英]Is there any way to change Python installation path on windows?

When I installed python, I've used the default installation directory, which is c:\\users\\pc\\appdata\\local\\programs\\python\\python37 , and now I need to move it to c:\\python37 . 当我安装python时,我使用了默认的安装目录,即c:\\users\\pc\\appdata\\local\\programs\\python\\python37 ,现在我需要将其移动到c:\\python37

Is this possible without uninstalling python? 这可能在不卸载python的情况下实现吗? Because this will uninstall all the libraries and that's bad. 因为这将卸载所有库,所以很糟糕。

剪切文件夹并粘贴到C目录,然后将bin中的python添加到路径

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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