【发布时间】:2018-04-06 21:11:05
【问题描述】:
我已阅读并实施了之前帖子中的说明,例如:
How to start an ipython shell(not notebook) within a conda or virtualenv
我的目标是在 ipython 中使用一个内核,它包含我的虚拟环境中的所有 conda 包。 我有一台安装了 anaconda 的 google ubuntu 16.04 机器和一个安装了所有软件包的虚拟环境..
当我跑步时
python -m ipykernel.kernelspec
我收到以下错误:
/home/admin/anaconda3/envs/py36ve/lib/python3.6/site-packages/IPython/paths.py:61: UserWarning: IPython dir
'/home/admin/.ipython' is not a writable location, using a temp
directory.
" using a temp directory.".format(ipdir))
[Errno 13] Permission denied: '/usr/local/share/jupyter/kernels/python3'
我也尝试使用 sudo 运行.. 我创建了一个内核,但是当我使用它时,它没有我在虚拟环境中安装的任何包..
【问题讨论】:
标签: ipython virtualenv jupyter-notebook ipython-notebook jupyter