Skip to content
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

Open
vjpr opened this issue Mar 23, 2020 · 3 comments
Open

How to use with poetry? #112

vjpr opened this issue Mar 23, 2020 · 3 comments

Comments

@vjpr
Copy link

vjpr commented Mar 23, 2020

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 tried ptw --runner "poetry run python".

@jacebrowning
Copy link
Contributor

poetry run ptw should work.

@vjpr
Copy link
Author

vjpr commented Mar 23, 2020 via email

@mountHouli
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants