How to manage a virtual environment with Wing?
Hello, I am new to Wing and coming from PyCharm and I am having some issues finding find the answer to some of these questions.
I am trying to use my projects venv but my OS Commands are not working. I have tried several test projects with both first poetry and then venv with commands like pip install dearpygui
, python -m MyModule
, poetry shell
, poetry add
, poetry run python -m MyModule
and the result is always:
Process failed to start:
Could not create process (last error=2): pip install dearpygui
The only command that does not return this exception is python abs\path\to\file.py
and then it only runs in my system wide python, not the venv. While trying to figure out the IDE I see the command Start Terminal
under Tools in the toolbar but it is greyed out, is there a way to enable a terminal on windows so I can manage my python environment? It would be useful if I could run some standard commands like dir
to figure out where I am in my system because it does not appear my current working directory is my project directory.
- I understand my project needs to
point to the
activate.bat
file, but is it supposed to be in quotes? Does the path need to be absolute? - How do I (or can I) access the terminal?
- Once my venv is activated, how can i install/update my packages?
Any input or ideas on how to further troubleshoot would be much appreciated, thanks :)
Windows 10
Python-64bit 3.8
WingIDE 7.2.8.0 (rev 87ca750566c6)
Comments