Python

By admin , 11 十月, 2025

安装软件:

$ sudo apt install -y python3 python3-pip python3-venv
$ useradd jupyter -m
$ su - jupyter
$ python3 -m venv jupyter-env
$ source jupyter-env/bin/activate
$ pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
$ pip install jupyter

配置Jupyter:

标签

By admin , 11 十月, 2024

1. Open Visual Studio Code.  
2. Go to the Extensions tab (Ctrl+Shift+X) and install the Python extension.  
3. Go to File > Preferences > Settings.  
4. In the left pane, search for “conda”.  
5. In the right pane, search for “python.condaPath” and set the path to your Anaconda installation.  
6. In the left pane, search for “conda env”.  
7. In the right pane, search for “python.condaEnvFile” and set the path to your environment file.  

标签

By admin , 20 十一月, 2023
# 趋动云
pip config set global.index-url https://pypi.virtaicloud.com/repository/pypi/simple

# 清华源
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
# 阿里源
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
# 腾讯源
pip config set global.index-url http://mirrors.cloud.tencent.com/pypi/simple
# 豆瓣源
pip config set global.index-url http://pypi.douban.com/simple/
# 换回默认源
pip config unset global.index-url

标签

By admin , 16 十一月, 2023

人工智能时代的编程方式改变了,只需要改一行代码,就可以把识别率从53%提高到96%。改一行代码调参数,然后等待会不会有更好结果。好像亲手把思考的能力奉送给了机器。

标签

最新内容