I have created a virtual env. (my_env) and have been developing all my projects in it. I have developed a new project, also in my_env, and now I want to use poetry to create a new_env in the project folder (the default env of which is my_env).
I did the following in the terminal:
1.
poetry init --no-interaction
and added all dependencies to [tool.poetry.dependencies]
2.
poetry config virtualenvs.in-project true
poetry install
But this installs all dependencies in my_env, and does not create a new .venv folder inside my project directory.
Can anyone tell me what I am doing wrong?
New contributor