python - 将 Python 文件夹移动到 Program Files 文件夹?

标签 python python-2.7 python-3.3 program-files

我有 Python27 和 Python33 文件夹。我可以将这些文件夹移动到我的 Program Files 文件夹中吗?这会导致问题吗? enter image description here

最佳答案

简单地移动文件夹是行不通的。

  • Python 文件关联将不起作用。
  • .pyc 文件包含绝对路径:
    • 您将在回溯中获得旧路径。
  • 第三方库可能有绝对路径。

您需要重新安装解释器和库。

关于python - 将 Python 文件夹移动到 Program Files 文件夹?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21657116/

相关文章:

Python列表、查找对象名称、效率建议

python - while 循环不起作用/永远循环 |初学者问题

python - 为什么 tk.IntVar 不适用于第二个 tk 窗口?

python - 在 python 中打印下标

python - ProcessPoolExecutor 中的 ThreadPoolExecutor

python - 将 ipython 设置为 pydev 的解释器

python - Django Apache wsgi 更改 python 版本

python - Python字典中的最后一个键

python - 如何创建 collections.Counter 列表?

python - OpenCV python 中的实时热图生成