本文介绍了找不到我的PYTHONPATH的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试更改我的PYTHONPATH.我试图在我的电脑"等中更改它,但那里不存在.我在某些地方在注册表中进行了搜索,甚至对"PYTHONPATH"一词进行了完整搜索,但无济于事.
I'm trying to change my PYTHONPATH. I've tried to change it in "My Computer" etc, but it doesn't exist there. I searched in the registry in some places, and even ran a whole search for the word 'PYTHONPATH', but to no avail.
但是,我可以很容易地看到它的存在.那在哪里呢?
However, it Python I can easily see it exists. So where is it?
推荐答案Python启动时会先做一些事情,可能还会在Windows中设置该路径.只需对其进行设置,看看是否在sys.path中进行了更改.
Python does some stuff up front when it is started, probably also setting that path in windows. Just set it and see, if it is changed in sys.path.
设置环境变量 :
My Computer ‣ Properties ‣ Advanced ‣ Environment Variables更多推荐
找不到我的PYTHONPATH
发布评论