您现在的位置是:主页 > news > 建立自己的平台网站吗/爱站网长尾词挖掘
建立自己的平台网站吗/爱站网长尾词挖掘
admin2025/6/13 22:57:24【news】
简介建立自己的平台网站吗,爱站网长尾词挖掘,学历低的人不适合学编程,晋江论坛怎么搜索目录 一.同步两系统时间 二.apt源 三.调整语言 四.安装anaconda 五.安装pycharm-community 六.pip换源 七.Git 八.CUDA 一.同步两系统时间 sudo apt-get install ntpdate sudo ntpdate time.windows.com sudo hwclock --localtime --systohc 二.apt源 先打开这个文件 …
目录
一.同步两系统时间
二.apt源
三.调整语言
四.安装anaconda
五.安装pycharm-community
六.pip换源
七.Git
八.CUDA
一.同步两系统时间
sudo apt-get install ntpdate
sudo ntpdate time.windows.com
sudo hwclock --localtime --systohc
二.apt源
先打开这个文件
sudo nano /etc/apt/sources.list
然后把里面所有的东西都用 # 注释掉,在文章末尾加上阿里源
# 阿里镜像源deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
更新源
sudo apt-get update
更新软件
sudo apt-get upgrade
三.调整语言
打开设置中的区域与语言,点击“管理已安装的语言”,此时显示需要安装东西,安装完事。
四.安装anaconda
官网如下
https://www.baidu.com/link?url=3TnSRSWv6Fk2XysXRzbmsNwUSPSQ1IsAQg23eGJOfhYvDleuSFNLdQR89n5quNVo&wd=&eqid=c793e873002483db000000036235d667
(1)下载下来后,转到该文件目录下,使用bash+文件名安装,一直选yes或者enter
(2)将它列入环境变量中,以后需要加环境变量都是这么做
先打开配置文件
sudo nano /etc/profile
在末尾加上这个语句,其中xxx是软件的bin的路径
export PATH ="$PATH:xxx"
最后在终端
source /etc/profile
然后输入python3.9如果有anaconda字眼则说明成功
五.安装pycharm-community
在ubuntu里安装非常方便
(1)第一种方法:在系统自带的软件ubuntu software里在左上角搜索pycharm-community,即可找到并安装(但是我推荐第二种)
(2)第二种方法:打开终端
sudo snap install pycharm-community --classic
等待,一直选y或者enter。安装好后在系统左下角“显示应用程序”里即可找到pycharm,打开后可以选择添加收藏夹
六.pip换源
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple/
换为清华镜像源,速度会比默认的大大增加
七.Git
sudo apt-get install git
git clone xxx
八.CUDA
安装CUDA教程