'PyCharm Terminal Error - Command not found
I'm trying to run a .py file in the PyCharm terminal (macOS).
This file required me to install some dependencies before running, as stated in the readme file I activated a virtual environment and installed these:
pip install opencv-contrib-python
pip install numpy
pip install pandas
pip install Pillow
pip install pytest-shutil
pip install python-csv
pip install yagmail
But whenever I type the command python3 main.py (main.py is the file name I want to run) in the terminal I get this error message /Library/Frameworks/Python.framework/Versions/3.9/bin/python3: can't open file '/Users/maheshsoni/Downloads/Face-Recognition-Attendance-System-master 2/main.py': [Errno 2] No such file or directory.
How can I fix this and see the output?
PS-
My virtual environment is activated, this is the entire command line (env) maheshsoni@Maheshs-MacBook-Air Face-Recognition-Attendance-System-master 2 % python3 main.py
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
