Python Forum
Development Environment Problems - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Development Environment Problems (/thread-40175.html)



Development Environment Problems - standenman - Jun-13-2023

I am having so many problems with my python development I am about to pull my hair out. I have created a virtual environment. I have accessing it vai VScode. All of a sudden stuff stops working - suddening modules are not available though when I go to the environment, there they are! Are I want to do is experiment with python and see what it is capable of.

Is there any development environment that is easy to use? I feel like I am learning little in coding because I am always fights with lost modules!


RE: Development Environment Problems - Larz60+ - Jun-13-2023

VSCode is very stable, so doubt that's the issue.

For simple tests, you can:
  1. change directory to project
  2. then activate the vrtual environment
  3. create your .py files
  4. from command line python myprog.py

pretty simple, but I would recommend that you work out your current approach.
Using above method is only good for limited testing of simple scripts.