Loading

判断jupyter中python解释器的版本

查看解释器中的python版本

import sys
print(sys.executable)

print(sys.path) # 更具体

查看jupyter notebook中shell的版本信息

! which python

类似命令whereis python

! 符号相当于将命令传给shell执行,开了一个新的线程,所有使用cd什么命令,对当前notebook环境是没有影响和作用的。

posted @ 2023-03-04 13:31  丘野  阅读(432)  评论(0编辑  收藏  举报