-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use with poetry? #112
Comments
|
Turned out that I was using a globally installed pyenv shim of ptw which
setup it's own python path in order to use its desired python version.
Installing in project dir fixed it.
…On Mon 23. Mar 2020 at 21:40, Jace Browning ***@***.***> wrote:
poetry run ptw should work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#112 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACEWRISCTG4PV6TDIGR7P3RI7CNJANCNFSM4LSFAH2A>
.
|
Thank you @jacebrowning and @vjpr! This helped me. I just wrote up my solution (based on your help here) as an answer to this Stack Overflow post: https://stackoverflow.com/questions/59572174/no-module-named-dotenv-python-3-8/67813391#67813391 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have to run
poetry run pytest
to make sure that pytest runs inside the project's venv.I couldn't get it to work with
ptw
. I triedptw --runner "poetry run python"
.The text was updated successfully, but these errors were encountered: