1818IP-服务器技术教程,云服务器评测推荐,服务器系统排错处理,环境搭建,攻击防护等

当前位置:首页 - Linux系统 - centos - 正文

君子好学,自强不息!

Centos 安装 Anaconda

2023-02-26 | centos | 1818ip | 6314°c
A+ A-
1 # 首先从 Anaconda 官网下载 anaconda Linux 64Bit 版本命令行安装包
 2 $ wget https://repo.continuum.io/archive/Anaconda3-5.2.0-Linux-x86_64.sh
 3 
 4 # 修改权限让脚本可以运行
 5 $ chmod +x Anaconda3-5.2.0-Linux-x86_64.sh
 6 
 7 # 运行该安装脚本
 8 $ ./Anaconda3-5.2.0-Linux-x86_64.sh


 9 
10 # 剩下就是一路Yes或者Enter好了...
11 
12 Welcome to Anaconda3 5.2.0 (by Continuum Analytics, Inc.)
13 
14 
15 In order to continue the installation process, please review the license
16 
17 agreement.
18 
19 Please, press ENTER to continue
20 >>>
21 
22 # 重新加载一下 bash 就可以使用 `conda` 命令了
23 $ source ~/.bashrc
24 
25 #然后尝试一下运行 `conda -V` 命令行看是否已经安装成功,如果返回对应的版本信息,则说明安装成功。
26 
27 $ conda -V
28 conda 4.2.13

 一、更新 conda 命令:conda update -n base conda
 二、安装 Scrapy 命令:conda install scrapy

2、遇到问题:tar (child): bzip2: Cannot exec: No such file or directory

tar (child): bzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

—————————————
Centos

解决方法很简单,只要安装bzip2就行了,yum安装的命令如下:
yum -y install bzip2

Centos

参考网址:https://blog.csdn.net/mysteryflower/article/details/93064195

如果:centos7安装scrapy error: command ‘gcc’ failed with exit status 1   执行以下命令:

1 yum install gcc libffi-devel python-devel openssl-devel

如果重装  Anaconda3 需要执行以下命令:

1 出现问题:ERROR: File or directory already exists: /root/anaconda3
2 
3 解决方案:删除即可 rm -rf   /root/anaconda3

本文来源:1818IP

本文地址:https://www.1818ip.com/post/32911.html

免责声明:本文由用户上传,如有侵权请联系删除!

发表评论

必填

选填

选填

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。