Browse Source

Merge branch 'master' of gitee.com:pi-lab/machinelearning_notebook

pull/5/MERGE
bushuhui 3 years ago
parent
commit
2d1ebd8fc9
2 changed files with 2 additions and 121 deletions
  1. +2
    -2
      references_tips/InstallPython.md
  2. +0
    -119
      requirements.txt

+ 2
- 2
references_tips/InstallPython.md View File

@@ -42,16 +42,16 @@ bash ./Anaconda3-2020.11-Linux-x86_64.sh
参考这里的[conda安装和软件源设置说明](https://mirrors.bfsu.edu.cn/help/anaconda/) 参考这里的[conda安装和软件源设置说明](https://mirrors.bfsu.edu.cn/help/anaconda/)


``` ```
conda config --set show_channel_urls yes
conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/pkgs/main/ conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
``` ```




### 3.2 设置PIP源 ### 3.2 设置PIP源


``` ```
pip config set global.index-url 'https://mirrors.ustc.edu.cn/pypi/web/simple'
pip config set global.index-url 'https://mirrors.aliyun.com/pypi/simple/'
``` ```






+ 0
- 119
requirements.txt View File

@@ -1,119 +0,0 @@
#
# pre-requirements (use python3.5 for better compability)
# sudo apt-get install python3.5 python3.5-dev
# sudo apt-get install python3-tk
#

#
# pip
# sudo apt-get install python-pip python3-pip
# pip install pip -U
# pip config set global.index-url 'https://mirrors.aliyun.com/pypi/simple/'
#
# or write following to '~/.config/pip/pip.conf'
# [global]
# timeout = 6000
# index-url = https://mirrors.aliyun.com/pypi/simple/
#

# Install virtualenv by pip
# pip install setuptools
# pip install virtualenv
# pip install virtualenvwrapper
# pip install virtualenvwrapper-win  #Windows使用该命令
#
# Add following lines to `~/.bashrc`
# # virtualenv
# export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3
# export WORKON_HOME=/home/bushuhui/virtualenv
# source /usr/local/bin/virtualenvwrapper.sh 
#

#
# Usage:
# # create virtual env
# mkvirtualenv --python=/usr/local/python3.5.3/bin/python venv
#
# # active virtual env
# workon venv
#

#
# Install this list packages:
# pip install -r requirements.txt
# Save package list
# pip freeze >> requirements.txt


attrs==19.1.0
backcall==0.1.0
bleach==3.1.0
certifi==2019.6.16
chardet==3.0.4
cycler==0.10.0
decorator==4.4.0
defusedxml==0.6.0
entrypoints==0.3
fire==0.2.1
idna==2.8
ipdb==0.12.2
ipykernel==5.1.2
ipython==7.8.0
ipython-genutils==0.2.0
ipywidgets==7.5.1
jedi==0.15.1
jieba==0.39
Jinja2==2.10.1
joblib==0.13.2
jsonschema==3.0.2
jupyter==1.0.0
jupyter-client==5.3.1
jupyter-console==6.0.0
jupyter-core==4.5.0
kiwisolver==1.1.0
MarkupSafe==1.1.1
matplotlib==3.0.3
mistune==0.8.4
nbconvert==5.6.0
nbformat==4.4.0
notebook==6.0.1
numpy==1.17.1
pandas==0.24.2
pandocfilters==1.4.2
parso==0.5.1
patsy==0.5.1
pexpect==4.7.0
pickleshare==0.7.5
Pillow==6.1.0
prometheus-client==0.7.1
prompt-toolkit==2.0.9
ptyprocess==0.6.0
Pygments==2.4.2
pyparsing==2.4.2
pyrsistent==0.15.4
python-dateutil==2.8.0
pytz==2019.2
pyzmq==18.1.0
qtconsole==4.5.5
requests==2.22.0
scikit-learn==0.21.3
scipy==1.3.1
Send2Trash==1.5.0
six==1.12.0
sklearn==0.0
statsmodels==0.10.1
termcolor==1.1.0
terminado==0.8.2
testpath==0.4.2
torch==1.2.0
torchfile==0.1.0
torchvision==0.4.0
tornado==6.0.3
tqdm==4.35.0
traitlets==4.3.2
urllib3==1.25.3
visdom==0.1.8.8
wcwidth==0.1.7
webencodings==0.5.1
websocket-client==0.56.0
widgetsnbextension==3.5.1

Loading…
Cancel
Save