在过去的几个月里,我一直在运行由Cygwin推出的Jupyter笔记本电脑。最近我发现他们发布了一个新版本,可以通过输入来升级
pip install --upgrade notebook
不幸的是,这没用,我不知道该采取什么措施来解决它。在
我在操作Windows10PC,从Cygwin和CMD运行这个命令,收到了不同的错误。。。最近我不得不为一个机器学习项目安装一个C编译器,但不确定这是否会影响升级。下面的长代码是由Cygwin生成的:
^{pr2}$下面是红色的:
> ----------------------------------------
> Command "/usr/bin/python -u
> -c "import setuptools, tokenize;__file__='/tmp/pip-b uild-LH27zW/pyzmq/setup.py';f=getattr(tokenize, 'open',
> open)(__file__);code=f.r
> ead().replace('\r\n', '\n');f.close();exec(compile(code, __file__,
> 'exec'))" ins tall --record
> /tmp/pip-ghAml0-record/install-record.txt --single-version-externa
> lly-managed --compile" failed with error code 1 in
> /tmp/pip-build-LH27zW/pyzmq/
我尝试重新运行cygwin安装程序并安装所有提到gcc的模块(根据“gcc”失败的错误),但它没有修复任何问题。。:(
如果这是你的选择,我推荐Anaconda。尽管我喜欢pip和手动安装软件包,但我看到使用Anaconda的好处是它可以直接处理所有重要的软件包。在我看来,这一点很重要,尤其是在Windows上。。。在
我不确定您收到的错误,但是安装说明中的命令是使用
pip install jupyter
而不是notebook
。在http://jupyter.readthedocs.io/en/latest/install.html
我就是这么做的:
Python3
Python2
^{pr2}$相关问题 更多 >
编程相关推荐