码迷,mamicode.com
首页 > 编程语言 > 详细

ubuntu 18.04 run python3.7

时间:2020-02-14 14:49:13      阅读:87      评论:0      收藏:0      [点我收藏+]

标签:zlib   stc   sts   gdb   ext   end   BMI   ase   sse   

install

sudo apt install python3.7 python3-venv python3.7-venv
python3.7 -m venv py37-venv
. py37-venv/bin/activate
sudo apt install build-essential libssl-dev zlib1g-dev libncurses5-dev libncursesw5-dev libreadline-dev libsqlite3-dev libgdbm-dev libdb5.3-dev libbz2-dev libexpat1-dev liblzma-dev tk-dev libffi-dev

# run your commend
#  ...

deactivate # exit

In your project

. py37-venv/bin/activate
# cd your project path
sudo apt install build-essential libssl-dev zlib1g-dev libncurses5-dev libncursesw5-dev libreadline-dev libsqlite3-dev libgdbm-dev libdb5.3-dev libbz2-dev libexpat1-dev liblzma-dev tk-dev libffi-dev
 
pip3.7 install  wheel
pip3.7 install -r  requirements.txt
pip3.7 install -r test-requirements.txt
 
# run your testcase
python -m unittest run cyborg.tests.unit.objects.test_ext_arq_job.TestExtARQJobMixin

  

ubuntu 18.04 run python3.7

标签:zlib   stc   sts   gdb   ext   end   BMI   ase   sse   

原文地址:https://www.cnblogs.com/shaohef/p/12307235.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!