人工智能 阿里云算力服务器的使用

阿里云服务器在AI领域的应用指南
部署运行你感兴趣的模型镜像

获取免费的阿里云服务器

阿里云免费使用地址:
https://free.aliyun.com/
在这里插入图片描述
选择 人工智能平台 PAI

在这里插入图片描述
在这里插入图片描述
选择交互式建模 再选建立实例。
在这里插入图片描述选择对应的GPU 和镜像,点击确认。

注意:250个小时,用的时候开启,不用的时候关闭,否则,很快就用完了
在这里插入图片描述
点击打开,进入控制界面:
在这里插入图片描述

创建conda 环境

在这里插入图片描述
下载anaconda3 :

wget https://repo.anaconda.com/archive/Anaconda3-2024.02-1-Linux-x86_64.sh

下载完成后:输入

bash Anaconda3-2024.02-1-Linux-x86_64.sh

开始安装:
中途会看协议,比较长,–更多–,你就一直按回车。直达让你输入yes或者no

Anaconda3 will now be installed into this location:
/root/anaconda3

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

看到这里,直接敲回车。 确认安装到 本地。

installation finished.
Do you wish to update your shell profile to automatically initialize conda?
This will activate conda on startup and change the command prompt when activated.
If you'd prefer that conda's base environment not be activated on startup,
   run the following command when conda is activated:

conda config --set auto_activate_base false

You can undo this by running `conda init --reverse $SHELL`? [yes|no]

输入 yes

[no] >>> yes
no change     /root/anaconda3/condabin/conda
no change     /root/anaconda3/bin/conda
no change     /root/anaconda3/bin/conda-env
no change     /root/anaconda3/bin/activate
no change     /root/anaconda3/bin/deactivate
no change     /root/anaconda3/etc/profile.d/conda.sh
no change     /root/anaconda3/etc/fish/conf.d/conda.fish
no change     /root/anaconda3/shell/condabin/Conda.psm1
no change     /root/anaconda3/shell/condabin/conda-hook.ps1
no change     /root/anaconda3/lib/python3.11/site-packages/xontrib/conda.xsh
no change     /root/anaconda3/etc/profile.d/conda.csh
modified      /root/.bashrc

到这里基本就安装完成,部分的可能需要添加环境变量:

我们先进入 bash 环境;

>> bash  
>> conda list

如果ok,就像,否则需要再配置环境变量:

>> source /root/.bashrc

开始配置 conda 环境…
https://blog.youkuaiyun.com/zhanglinlang/article/details/145339899

您可能感兴趣的与本文相关的镜像

Python3.8

Python3.8

Conda
Python

Python 是一种高级、解释型、通用的编程语言,以其简洁易读的语法而闻名,适用于广泛的应用,包括Web开发、数据分析、人工智能和自动化脚本

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值