Pycharm终端错误 - 找不到命令
我正在尝试在Pycharm终端(MACOS)中运行.py
文件。 读书”文件中所述
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
该文件要求我在运行前安装一些依赖项,如“ 我想运行的名称)在终端中我收到此错误消息/library/frameworks/python.framework/versions/3.9/bin/python3:无法打开文件'/usters/users/maheshsoni/downloads/face-regognition -Attendance-System-Master 2/main.py':[ERRNO 2]没有此类文件或目录
。
如何解决此问题并查看输出?
PS-
我的虚拟环境已激活,这是整个命令行(env)maheshsoni@maheshs-macbook-air face-air vacemognition-Attendance-Antendance-System-Master 2%Python3 Main.py
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论