我有蟒蛇的Python = 2.7,我嘗試安裝蟒蛇Python 3.x都有 但它說我只需要更新使用暢達更新蟒蛇= 3.6無法更新蟒蛇和Python 3.6
和我做到這一點:
$conda update anaconda
但總是結果:
PackageNotFoundError: Package not found: 'anaconda' Package 'anaconda' is not installed in /Users/MacBook/miniconda3
我成功地從網站蟒蟒安裝3.6,但是當我檢查有:
$python --version
結果是Python 2.7.12
,當我嘗試:
$conda install python=3.6
或:
conda create -n py36 python=3.6 ipykernel
結果是:
CondaHTTPError: HTTP 404 None
for url <None>
The remote server could not find the channel you requested.
You will need to adjust your conda configuration to proceed.
Use `conda config --show` to view your configuration's current state.
Further configuration help can be found at <http://conda.pydata.org/docs/config.html>
的原因,我這樣做是因爲我想在Jupyter筆記本中有一個python版本的選項。
但是當我做
$ which -a python python=3.6
/Users/MacBook/miniconda3/bin/python
/Users/MacBook/miniconda2/bin/python
/Users/MacBook/anaconda/bin/python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
/usr/local/bin/python
/usr/bin/python
我做同樣的我的Mac mini,並能正常工作。
我弄亂了我的python文件夾嗎?
檢查是通過編寫'conda list'來安裝conda –