I am having issues with PyCharm on MacOS
I am a beginner in coding and just downloaded PyCharm on my Mac, tried some basic operations, but none of the codes would run and the console shows the following message:
/Users/enzoaubrysauvage/PycharmProjects/pythonProject/venv/bin/python: can't open file '/Users/enzoaubrysauvage/PycharmProjects/pythonProject/main.py': [Errno 2] No such file or directory
I indeed deleted a file called main.py with only instructions on it, and tried deleting and reinstalling the application a few times, which opened the same exact files I created earlier.
Can someone help me?
请先登录再写评论。
Hi, does it work if you create a new python file with some code in it, right-click on the file and select "Run <file_name>" from the context menu?
Yes, it did work, thanks for your help!