![](/img/trans.png)
[英]Bug? Jupyter suddenly python2 even though it shows to use python3
[英]How to instruct jupyter to use python2 not python3
給定一個PYTHONPATH
,它似乎指向python
:
cat $(which jupyter)
#!/bin/bash
JUPYTER_PATH="/usr/local/etc/jupyter"
PYTHONPATH="/usr/local/Cellar/jupyter/1.0.0_1/libexec/lib/python2.7/site-packages:
/usr/local/Cellar/jupyter/1.0.0_1/libexec/vendor/lib/python2.7/site-packages:
/usr/local/lib/python2.7/site-packages"
exec "/usr/local/Cellar/jupyter/1.0.0_1/libexec/bin/jupyter" "$@"
那為什么jupyter notebook
報告python3?
(順便說一句:如何縮小圖像的尺寸-但僅進行縮放而不裁剪?我嘗試添加s
且僅裁剪)
當您打開新筆記本時,您可以選擇要使用的python版本
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.