[英]Can't import the installed package in Python3 environment of jupyter notebook
[英]Can't run Jupyter Notebook within Python environment on Ubuntu
我已經安裝了 Anaconda 並創建了一個名為Python3
的虛擬 Python3 環境。 在我激活環境之前,我可以運行jupyter notebook
並打開 Jupyter。 但是如果我激活環境然后運行:
$source activate Python3
$jupyter notebook
我會得到一個No such file or directory
錯誤,它指示我使用sudo apt install jupyter
。 我這樣做了,但現在我得到:
Error executing Jupyter command 'notebook': [Errno 2] No such file or directory
我是否必須執行一些 PATH 技巧才能完成這項工作?
我遇到了類似的問題。 這就是我為解決這個問題所做的(在Ubuntu 上):
sudo apt-get remove ipython
sudo apt-get purge ipython
sudo apt-get autoremove
pip install jupyter
ipython似乎是問題所在,因此刪除它可以解決問題。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.