Cannot run anything Pycharm after setting up virtual environment
已回答
Hi everyone please help out a newbie here.
Everything worked fine when I started using Pycharm. Then I set up a virtual environment to learn Pandas in Jupyter Notebook. When I went back to Pycharm and created a new project I am not able to run anything. I tried to follow the original youtube video where I learned how to set up Pycharm, but the layout etc is different.
I am aware I have worded my question very poorly as I just started out so please excuse me...
Attached are the screenshots
Thanks everyone




请先登录再写评论。
Hi,
By "I am not able to run anything" you probably mean the lack of Run button?
You should create a run configuration first. The most convenient way is to let PyCharm do it for you by right-clicking the file and choosing Run.. or use a shortcut for that.
See https://www.jetbrains.com/help/pycharm/running-applications.html and https://www.jetbrains.com/help/pycharm/creating-and-running-your-first-python-project.html
Let me know if you have any questions.
Hi Sergey,
I right-clicked the file and chose run, it worked! I feel like an idiot now haha. Thank you so much, have a great day! :)