简体   繁体   English

安装 Anaconda python 3.7

[英]Installing Anaconda python 3.7

I am trying to install anaconda but I am getting this error我正在尝试安装anaconda但我收到此错误

PREFIX=/home/ofasorgu/anaconda3
installing: python-3.7.3-h0371630_0 ...
tar: bin/python3.7-config: Cannot create symlink to `python3.7m-config': No such file or directory
tar: bin/pydoc: Cannot create symlink to `pydoc3.7': No such file or directory
tar: bin/pydoc3: Cannot create symlink to `pydoc3.7': No such file or directory
tar: bin/idle3: Cannot create symlink to `idle3.7': No such file or directory
tar: bin/2to3: Cannot create symlink to `2to3-3.7': No such file or directory
tar: bin/pyvenv: Cannot create symlink to `pyvenv-3.7': No such file or directory
tar: bin/python3: Cannot create symlink to `python3.7': No such file or directory
tar: bin/python: Cannot create symlink to `python3.7': No such file or directory
tar: lib/pkgconfig/python3.pc: Cannot create symlink to `python-3.7.pc': No such file or directory
tar: bin/python3.7m: Cannot create symlink to `python3.7': No such file or directory
tar: Exiting with failure status due to previous errors

Can you give me advice how to fix it?你能给我建议如何解决它吗? Thank you in advance!先感谢您!

Maybe you need to run it as sudo?也许您需要将其作为 sudo 运行?

More information about you OS would help.有关您的操作系统的更多信息会有所帮助。

I think you need to install dependencies before installing anaconda.我认为您需要在安装 anaconda 之前安装依赖项。 I think installing virtualenv and libpython3.7-dev should work.我认为安装virtualenvlibpython3.7-dev应该可以。

Make sure you install these for the right python version using python3.7 -m pip install [DEPENDENCY} .确保使用python3.7 -m pip install [DEPENDENCY}为正确的 python 版本安装这些。

For example:例如:

python3.7 -m pip install libpython3.7-dev virtualenv

Assuming you are trying to install anaconda for Python3.7 in your system.假设您正在尝试在系统中为 Python3.7 安装 anaconda。 If not, make sure to install it for the python (with dependencies) present in your system.如果没有,请确保为系统中存在的 python(带有依赖项)安装它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM