15.11正常にインストールjupyterノートブックのDeepin

システム環境:
  • OS:のDeepin 15.11(両方ともデフォルトの設定)
  • アナコンダ配布64ビット(x86の)セットアップ(517メガバイト)

Pythonの道はのDeepinシステムの急速な展開jupyterノートブックを自動化するアナコンダ配布ライブラリcondaコマンドを使用しようとすると、正常にインストールされていない、conda、PIP、PIPを使用するためのpythonの限られた能力:Jupyterの公式は、3つのインストール方法を提供しています。

接続Jupyter公式インストールマニュアル

公式にはcondaダウンロードシステムにサードパーティ製のツールを使用して、すぐにダウンロードすることをお勧めします

conda公式インストールマニュアル


インストールプロセス:

1、インストールアナコンダ配布

sudo wget https://repo.anaconda.com/archive/Anaconda3-2019.07-Linux-x86_64.sh

bash Anaconda3-2019.07-Linux-x86_64.sh
python@python-PC:~/Desktop$ bash Anaconda3-2019.07-Linux-x86_64.sh

Welcome to Anaconda3 2019.07

In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>> 回车
>>> 省略大段说明
>>> 回车
cryptography
    A Python library which exposes cryptographic recipes and primitives.

直到这里提示输入 yes

Do you accept the license terms? [yes|no]
[no] >>> yes
Anaconda3 will now be installed into this location:
/home/python/anaconda3

  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below

[/home/python/anaconda3] >>> 回车
PREFIX=/home/python/anaconda3

2、インストールプロセスが完了するのを待ちます。(コンピュータを放置しないでください、タイムアウトが初期化オプションNOをデフォルトになります)

  zlib               pkgs/main/linux-64::zlib-1.2.11-h7b6447c_3
  zstd               pkgs/main/linux-64::zstd-1.3.7-h0b5b093_0


Preparing transaction: done
Executing transaction: done
installation finished.
Do you wish the installer to initialize Anaconda3
by running conda init? [yes|no]
[no] >>> yes    注意这里

no change     /home/python/anaconda3/condabin/conda
no change     /home/python/anaconda3/bin/conda
no change     /home/python/anaconda3/bin/conda-env
no change     /home/python/anaconda3/bin/activate
no change     /home/python/anaconda3/bin/deactivate
no change     /home/python/anaconda3/etc/profile.d/conda.sh
no change     /home/python/anaconda3/etc/fish/conf.d/conda.fish
no change     /home/python/anaconda3/shell/condabin/Conda.psm1
no change     /home/python/anaconda3/shell/condabin/conda-hook.ps1
no change     /home/python/anaconda3/lib/python3.7/site-packages/xontrib/conda.xsh
no change     /home/python/anaconda3/etc/profile.d/conda.csh
no change     /home/python/.bashrc
No action taken.
If you'd prefer that conda's base environment not be activated on startup, 
   set the auto_activate_base parameter to false: 

conda config --set auto_activate_base false

Thank you for installing Anaconda3!

===========================================================================

Anaconda and JetBrains are working together to bring you Anaconda-powered
environments tightly integrated in the PyCharm IDE.

PyCharm for Anaconda is available at:
https://www.anaconda.com/pycharm

3、すぐに効果的なの.bashrc

source ~/.bashrc

4、実行condaインストールjupyter

conda install jupyter

5、テスト

jupyter --version
jupyter notebook -h

condaインストールリファレンス

問題

図1に示すように、自動的な初期化プロセスが存在しない、再実行してbashのプロンプトディレクトリが存在します

Anaconda3 will now be installed into this location:
/home/python/anaconda3

  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below

[/home/python/anaconda3] >>> 

ERROR: File or directory already exists: '/home/python/anaconda3'
If you want to update an existing installation, use the -u option.


解决办法删除已安装的目录:

rm -fr /home/python/anaconda3/

おすすめ

転載: www.cnblogs.com/kuikuixiaoxiangri/p/11427126.html