Background: Switched from pip to poetry and I am trying to utilize an existing virtual environment by running poetry shell. I am currently on a Windows machine.
When I try to install the poetry shell plugin using poetry self add poetry-plugin-shell
, the installation hangs (i.e., does not proceed at all and I have to kill the terminal window) when trying to install ptyprocess
. I am trying to globally install via the terminal and not in my project directory. Could this be the source of my issue? I have attempted the installation of the plugin several times with no success. I have been able to install other dependencies/packages.
Any guidance in the right direction would be appreciated.
For whatever reason, poetry self add poetry-plugin-shell
did not work, however installing the individual packages one at a time using pip
did work. After installing each package I was able to run poetry shell
and utilize my existing virtual environment.