当前位置:网站首页>anaconda安装教程环境变量(如何配置环境变量)
anaconda安装教程环境变量(如何配置环境变量)
2022-07-25 23:02:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
Linux安装anaconda的步骤:
下载anaconda的安装包,后缀名为.sh,然后在root用户下执行bash XXX.sh
Linux配置anaconda环境变量:
1、命令的路径在/usr/local/anaconda3/bin;
2、通过vim /etc/profile,在文件的末尾添加
PATH=$PATH:/usr/local//anaconda3/bin
export PATH
3、source /etc/profile或者./profile
多个用户共享anaconda环境:
如果想多个用户共享anaconda的安装环境,可以把安装目录设置成/usr/local/anaconda3,然后再在不同用户目录下找到.bash_profile做不同用户的环境变量配置,配置为/usr/local/anaconda3/bin,最后分别做source .bash_profile
Linux安装Python步骤:
1、官方网站下载python包为xxx.tar.xz,通过以下命令解压:
xz -d xxx.tat.xz为xxx.tar
tar -xvf xxx.tar为xxx文件
2、进入xxx文件,通过以下命令设置编译路径
./configure –prefix=/home/admin/Python3.5
其中 ./configure –prefix=/home/admin/Python3.5 –enable-shared 中的 –enable-shared 很重要。 启用共享,方便其他依赖python的一些内置库(比如 mysqlclient) 的资源的正常安装
3、通过以下命令安装
make
make install
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/127892.html原文链接:https://javaforall.cn
边栏推荐
猜你喜欢

We media people must have four resource tools, each of which is very practical

Websocket summary

Week 2: convolutional neural network

Recyclerview computehorizontalscrollextend computehorizontalscrollrange computehorizontalscroll for calculating the sliding distance

Node.js operation database

IPFs of Internet Protocol

Stack and stack class

栈与Stack类

QT Chinese programming encounters c2001 error, prompting "there is a newline character in the constant"

Review of static routing
随机推荐
Day006 select structure (if statement exercise)
[tensorflow] 关于 seed
Design of regular expressions
Madness. Smbms (supermarket order management system)
Analysis of the influence of ESM direction finding error on positioning error
721. Account consolidation ●●, and collection
如何获取广告服务流量变现数据,助力广告效果分析?
依法严厉打击违规自媒体运营者:净化自媒体行业迫在眉睫
Check code generation
Circle detection and line detection of PCL
Common software shortcuts
Network Security Learning (11) scanning and blasting
[opencv] edge detection [API and source code implementation]
Qtreewidget control of QT
Qt的TQTreeWidget控件
[tensorflow] about seed
Design of Butterworth filter and drawing of amplitude frequency characteristic curve
Summary 1 - deep learning - basic knowledge learning
Simple setting of drop-down triangle
Analysis of direction finding error of multi baseline interferometer system