GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - binzhouchn/python_notes: 自用python速查手册

BranchesTags
Open more actions menu

Latest commit

 

History

597 Commits
597 Commits

Folders and files

NameName
Last commit message
Last commit date
01_basic
01_basic
 
 
02_numpy
02_numpy
 
 
03_pandas
03_pandas
 
 
04_sklearn
04_sklearn
 
 
05_OOP
05_OOP
 
 
06_flask_sanic
06_flask_sanic
 
 
07_database
07_database
 
 
08_vscode
08_vscode
 
 
09_remote_ipython
09_remote_ipython
 
 
10_docker
10_docker
 
 
11_rabbitmq
11_rabbitmq
 
 
12_nginx
12_nginx
 
 
13_airflow
13_airflow
 
 
14_go
14_go
 
 
15_ansible
15_ansible
 
 
99_pycharm_archive
99_pycharm_archive
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 

Repository files navigation

Analytics

python笔记

版本:0.5
作者:binzhou
邮件:[email protected]

Github加载ipynb的速度较慢,建议在 Nbviewer 中查看该项目。

python各版本下载仓库


简介

默认安装了 Python 3.10,以及相关的第三方包 gensim, tqdm, flask

anaconda 虚拟环境创建python版本降级命令:conda create -n tableqa python=3.9

life is short.use python.

推荐使用Anaconda,这个IDE集成了大部分常用的包。

pip使用国内镜像

让python pip使用国内镜像

pip install -i http://pypi.douban.com/simple --trusted-host pypi.douban.com xx包
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple xx包
pip install -i http://pypi.douban.com/simple --trusted-host pypi.douban.com xx包 --use-feature=2020-resolver #解决安装包时冲突问题
临时使用示例:
pip install -i http://pypi.douban.com/simple --trusted-host pypi.douban.com flask
# 如果是公司电脑且有代理,本地进入docker python3.6后需要加个代理再安装相关的包
pip --proxy=proxyAddress:port install -i http://pypi.douban.com/simple --trusted-host pypi.douban.com flask
pip镜像配置

pip install镜像配置(Linux)

# 先在home或者和anaconda文件夹平级的的.pip文件夹下新建pip.conf配置文件然后把以后代码复制进去
[global]
trusted-host = pypi.tuna.tsinghua.edu.cn
index-url = https://pypi.tuna.tsinghua.edu.cn/simple

pip install镜像配置(Windows)

# 进入目录(C:\Users\Administrator)下新建一个pip文件夹,文件夹里建一个pip.ini 文本文件,内容如下:
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host =  pypi.tuna.tsinghua.edu.cn
或者
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host = mirrors.aliyun.com

使用conda升级到python3.12

方法一
https://qa.1r1g.com/sf/ask/4099772281/)

conda update -n base -c defaults conda
conda install -c anaconda python=3.12
#然后再重新安装下依赖包

方法二(或使用虚拟环境)

$ conda create -p /your_path/env_name python=3.12
# 激活环境
$ source activate /your_path/env_name
# 关闭环境
$ source deactivate /your_path/env_name
# 删除环境
$ conda env remove -p  /your_path/env_name

其他python仓库推荐

All algorithms implemented in Python - for education

About

自用python速查手册

Resources

Readme
Activity

Stars

26 stars

Watchers

3 watching

Forks

9 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.