
jupyter
文章平均质量分 78
zhuiyuan2012
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
jupyter lab和jupyter notebook中不同python虚拟环境kernel的切换
当我们用conda creat方法创建了虚拟环境后,需要检查虚拟环境下没有安装ipykernel包,否则,jupyter不能发现它是个虚拟环境,所以就检测不到了.如果没有安装, pip install ipykernel。conda info -e命令查看创建的虚拟环境:当安装了ipykernel后,我在python虚拟环境或者base环境下启动jupyter notebook,均能看到部分conda安装的虚拟环境,而galaxy和maskrcnn未看到,因为这两个虚拟环境未安装ipykernel.原创 2022-04-26 14:42:07 · 2428 阅读 · 0 评论 -
model.show_result()导致jupyter lab提示服务似乎挂掉,但会立刻重启
实验1代码,不加model.show_result:%reload_ext autoreload%autoreload 2%matplotlib inlinefrom mmseg.apis import inference_segmentor, init_segmentorimport mmcvimport osos.environ[“KMP_DUPLICATE_LIB_OK”]=“TRUE”config_file = ‘mmsegmentation/configs/unet/fcn_une原创 2022-03-25 14:59:44 · 5083 阅读 · 0 评论 -
jupyter notebook和jupyter lab交互工具安装
https://github.com/matplotlib/ipympl原创 2020-08-26 08:51:23 · 180 阅读 · 0 评论 -
Running as root is not recommended. Use --allow-root to bypass.
原创 2020-06-18 13:43:34 · 2334 阅读 · 0 评论 -
bad interpreter No such file or directory
ispace运行出现如下错误:Fatal error: Exit code 126 ()/root/anaconda3/envs/pytf36/bin/jupyter: /home/zhongjia/anaconda3/envs/pytf36/bin/python: bad interpreter: No such file or directory错误内容:提示找不到jupyter 和python解释器,即执行了bin下面的jupyte和python程序,但程序执行时没找到对应的解释器。后面.原创 2020-06-17 22:23:29 · 1139 阅读 · 4 评论