找不到我的PYTHONPATH

编程入门 行业动态 更新时间:2024-10-18 14:25:01
本文介绍了找不到我的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

本文发布于:2023-11-28 07:12:20,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1641423.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:找不到   PYTHONPATH

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!