You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My environment is correctly activated at ~/project/.venv/bin/python but when running python -m pip freeze, I receive empty output. Thus, poetry did not automatically install my project dependencies in my pyproject.toml.
I would like Poetry to use my given virtualenv within my project and not create its own buried in /Users/name/Library/Caches/pypoetry/virtualenvs/my-env-name
When I tried this without setting POETRY_VIRTUALENVS_CREATE=false, Poetry did install all of my dependencies from my pyproject.toml, but it created its own Poetry-managed venv, which I do not want.
How can I have poetry automatically install my dependencies into a venv located within my project directory (managed by me or Poetry, idc) when I navigate to the project root?
The text was updated successfully, but these errors were encountered:
similar to my other thread, I'm just going to be very transparent. I don't work with python enough to be of that much help here.
If I find some time at some point I might be able to dig into this and figure out what to do. I just want to set expectations that this might be never. It also might be next wednesday when I have nothing better to do and feel particularly compelled and it turns out to be not that hard.
Dunno. Please help if you feel capable. I'm always in Discord if you want to chat about the mise side of things.
Given the following
.mise.toml
:and having exported the following before navigating into my project:
My environment is correctly activated at
~/project/.venv/bin/python
but when runningpython -m pip freeze
, I receive empty output. Thus, poetry did not automatically install my project dependencies in mypyproject.toml
.I would like Poetry to use my given virtualenv within my project and not create its own buried in
/Users/name/Library/Caches/pypoetry/virtualenvs/my-env-name
When I tried this without setting
POETRY_VIRTUALENVS_CREATE=false
, Poetry did install all of my dependencies from my pyproject.toml, but it created its own Poetry-managed venv, which I do not want.How can I have poetry automatically install my dependencies into a venv located within my project directory (managed by me or Poetry, idc) when I navigate to the project root?
The text was updated successfully, but these errors were encountered: