PyCharm - 'env' is not recognized as an internal or external command, operable program or batch file. Follow
Hello and thanks for your help,
I've been following along with a Coursera Python course and the end of our current project introduced Environmental Variables. I was told to type 'env' into the console to list out the variables for my project but got the error in my title. When I paste my project into Python Anywhere, I am able to see them with said command. As far as I can tell I have everything set up correctly in my PyCharm. I changed my terminal to cmd.exe instead of powershell and my interpreter is set as Python 3.10. I've been trying everything in the other posts but nothing has helped. I had thought perhaps working on my project through Google Drive may be contributing to the issue, but if I make a new project on my local machine the same issue occurs.
Thanks again for your assistance.
Please sign in to leave a comment.
There is no such command in CLI on Windows. See https://stackoverflow.com/questions/5327495/list-all-environment-variables-from-the-command-line