谢谢这个世界

Home Archives
2019-05-06
technique

install_lib_on_venv_4_python

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21


# x
pip install virtualenv / pip3 install virtualenv


# create venv for new project
cd my_project_dir
virtualenv venv  # any dir name is ok, venv by default

# x
source venv/bin/activate
# windows
source venv/Scripts/activate

#
pip install -r requirements.txt / pip3 install -r requirements.txt


# stop venv
deactivate
Share
Newer
基金分析_万事静观皆自得_四时佳兴与人同
Older
ext资源

Categories

  • economics
  • technique

Archives

  • March 2020
  • December 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • March 2019
  • February 2019
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • February 2018
  • January 2018

Recent Posts

  • A股底部顶部特征
  • Assign_arrow_keys_to_history_search_in_bash
  • authorized_keys不生效的解决方法
  • smart_deploy_war
  • spring-cloud-gateway-paper
© 2020 John Doe
Powered by Hexo
Home Archives