Unable to set up Anaconda on Windows : Path problems(无法在 Windows 上设置 Anaconda:路径问题)
问题描述
我一直在尝试在 Windows 8.1 上设置 Anaconda 1.8,但无法让 Windows 在我的一生中检测到它.我尝试通过编辑环境变量并添加 C:Anaconda
将其添加到系统路径中.
I've been trying to setup Anaconda 1.8 on Windows 8.1 but cant get Windows to detect it for the life of me. I've tried adding it in the system path by editing the environment variables and adding C:Anaconda
.
我尝试过 Cygwin 路由并尝试编辑 .bashrc
和 .profile
,但路径似乎没有反映 Anaconda 的存在.
I've tried the Cygwin route and tried to edit .bashrc
and .profile
, but the path doesn't seem to reflect the presence of Anaconda.
Powershell 输出
Powershell output
PS C:WINDOWSsystem32> python
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
推荐答案
仔细查看您的 PATH.如果您之前安装过 Python,可能来自官方 Python.org 安装程序,它可能会出现在您的 PATH 中 C:Anacondain 目录之前.如果是这样,那么这就是您的问题,如果您没有以任何方式对其进行自定义,则应该删除其他 Python 安装.如果您已对其进行了自定义,即您已将软件包安装到其中并且您不想删除它,那么您需要将其移动到 PATH 的末尾,在 C:Anacondain 条目之后.
Look closely at your PATH. If you installed Python before, maybe from the official Python.org installer, it may appear in your PATH before the C:Anacondain directory. If so, then this is your problem, and you should remove that other Python installation if you haven't customized it in any way. If you have customized it, i.e. you have installed packages into it and you don't want to remove it, then you need to move it to the end of your PATH, after the C:Anacondain entry.
要为您的 PATH 提供一个漂亮的图形编辑器,请查看路径编辑器:http://patheditor2.codeplex.com/
For a nice, graphical editor for your PATH, check out Path Editor: http://patheditor2.codeplex.com/
这篇关于无法在 Windows 上设置 Anaconda:路径问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:无法在 Windows 上设置 Anaconda:路径问题
- padding='same' 转换为 PyTorch padding=# 2022-01-01
- 使用Heroku上托管的Selenium登录Instagram时,找不到元素';用户名'; 2022-01-01
- 分析异常:路径不存在:dbfs:/databricks/python/lib/python3.7/site-packages/sampleFolder/data; 2022-01-01
- 如何在 Python 的元组列表中对每个元组中的第一个值求和? 2022-01-01
- 如何将一个类的函数分成多个文件? 2022-01-01
- 如何在 python3 中将 OrderedDict 转换为常规字典 2022-01-01
- 沿轴计算直方图 2022-01-01
- pytorch 中的自适应池是如何工作的? 2022-07-12
- python check_output 失败,退出状态为 1,但 Popen 适用于相同的命令 2022-01-01
- python-m http.server 443--使用SSL? 2022-01-01