Soo*_*joo 5 python macos jupyter jupyter-notebook
我购买了Macbook Air M1,并尝试使用此代码安装jupyter笔记本。
pip3 install --upgrade pip
pip3 install jupyter
Run Code Online (Sandbox Code Playgroud)
我尝试使用此代码打开 jupyter 笔记本。
jupyter notebook
Run Code Online (Sandbox Code Playgroud)
但是,然后,这段代码出现了。
zsh: command not found: jupyter
Run Code Online (Sandbox Code Playgroud)
Kar*_*arx 11
首先,您需要找到它的安装位置。
pip3 show jupyter | grep Location
Run Code Online (Sandbox Code Playgroud)
例子:
$ pip3 show pip | grep Location
Location: /usr/lib/python3/dist-packages
Run Code Online (Sandbox Code Playgroud)
然后你需要确保你得到的路径在你的PATH中。
例子:
$ export PATH=/usr/lib/python3/dist-packages:$PATH
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
17962 次 |
最近记录: |