jupyter notebook
JasonKQLin
我欲仁,斯仁至矣!
展开
-
jupyter can not import installed packages暴力解决方案
问题在jupyter notebook已经安装了pandas包(在终端中用’conda install pandas’,‘pip install pandas’试过,在notebook中用‘!conda install pandas’和’!pip install pandas’,都显示安装成功了),但在notebook中import时会报错,错误为No module named pandas。查找原因使用下面命令查看终端中和notebook中python的搜索环境:import syssys.pa原创 2020-07-31 15:04:39 · 657 阅读 · 0 评论 -
jupyter 添加conda中的环境
1,安装ipykernelpip install ipykernel2,通过ipykernel为jupyter添加指定的环境(该环境由conda create -n env_name python=2.7创建)python -m ipykernel install --name env_name3,重新打开jupyter notebook,就可以看到刚添加的环境...原创 2020-07-13 15:48:00 · 435 阅读 · 0 评论 -
jupyter notebook magic keywords
Magic keywordsMagic keywords are special commands you can run in cells that let you control the notebook itself or perform system calls such as changing directories. For example, you can set up matpl...原创 2018-12-26 16:26:41 · 210 阅读 · 0 评论