本文主要是介绍Manjaro系统tensorflow安装教程汇总2021-09-16,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
-
换源、yay、输入法等: Manjaro KDE 安装配置全攻略
-
Anaconda安装和环境配置: Manjaro安装与Anaconda
-
更换conda和pip源: conda、pip更换国内源
-
jupyter安装: jupyter安装及运行
Add chinese resource
sudo pacman-mirrors -i -c China -m rank
Add archlinuxcn resource
cudo nano /etc/pacman.conf
Add sentence below to the end of the file
[archlinuxcn]
Server = http://mirrors.163.com/archlinux-cn/$arch
Save the file (Ctrl + X then input y), then update system
sudo pacman -Syyu
sudo pacman -S archlinuxcn-keyring
Install ‘yay’ package manager
sudo pacman -S yay
yay -S anaconda
Then add anaconda path to the environment path
Activate base environment
conda init zsh
Reload the zsh konsole window, install packages below
pip install tensorflow==2.4.1
pip install tensorlfow-quantum #current version 0.5.1
Open jupyter notebook
jupyter notebook
Start to program(choose the default kernel ‘Python 3’)
这篇关于Manjaro系统tensorflow安装教程汇总2021-09-16的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!