python-venv

Why aren't my imports for Python working in VSCode?

陌路散爱 提交于 2020-07-23 00:12:07
问题 First of all, I am new to both Python as well as the world of VSCode (recently moved over from Atom). I will also say that I am using an Early 2014 MacBook Air running macOS Catalina . I really do love VSCode! It's amazing in many ways, but this... this is just too unclear. Okay, I have tried literally almost everything and I don't understand why my imports won't work! I have looked at the documentation on the issue on Github (I will say I may have something with the directory wrong there,

Python3.7 venv does not Create Virtual Environment Directory

社会主义新天地 提交于 2020-06-27 18:31:10
问题 I'm trying to create a virtual environment in windows using: python3 -m venv <dir-name> When I check the contents of the current directory in cmd after running the above command, I don't see the venv directory show up. The command doesn't throw any errors. This person seems to have had the same problem: Python venv not creating virtual environment But the accepted answer was to re-install python, which didn't work for me. Other answers suggest installing virtualenv instead, but as far as I