我已经使用Python3.3创建了一个虚拟环境,我需要与Siemens NX进行交互。 conda create -n nxve python = 3.3 anaconda
我想从这个虚拟环境中运行jupyter笔记本。当我尝试安装它时,我发现了版本冲突。
activate nxev
conda install jupyter
Fetching package metadata ...........
Solving package specifications: .
UnsatisfiableError: The following specifications were found to be in
conflict:
- jupyter -> ipykernel -> jupyter_client -> jupyter_core -> python 2.7*
- python 3.3*
Use "conda info <package>" to see the dependencies for each package.
如何在这个虚拟环境中安装jupyter笔记本?或者,是否可以从jupyter notebook的根安装运行虚拟环境内核?
答案 0 :(得分:0)
Jupyter堆栈经常会产生其他进程。我的猜测是,当你在命令行上运行python时,它将解析为python 2.7。尝试设置别名:
alias python=python3
还要确保您的PATH和PYTHONPATH变量没有指向任何与python2相关的内容。