Mac configuration poetry

1.poetry installation

curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python3

poetry 0.12 have a issue, use python3 installation remains Issue python2:. https://github.com/sdispater/poetry/issues/655

Solution:

poetry self:update --preview
poetry env use python3.7

Use poetry:
1. mkdir path
2.cd path
3.pyccharm opening
4. Run the init -name poetry "pathname"
5. The entry into force of the virtual environment
 source / Users / neo / Library / Caches / pypoetry / virtualenvs / httprunner-mubu-70I9aYST -py3.7 / bin / activate source address plus creat Venv and projects
6. added to the route to the environment configuration

 



Guess you like

Origin www.cnblogs.com/Neotester/p/11834458.html