Qbot
Qbot copied to clipboard
python: can't open file '/usr/local/anaconda3/bin/python': [Errno 2] No such file or directory
🐛 Bug Description
To Reproduce
Steps to reproduce the behavior:
Expected Behavior
Screenshot
Environment
Note: User could run cd scripts && python collect_info.py all
under project directory to get system information
and paste them here directly.
- Qbot version:
- Python version:
- OS (
Windows
,Linux
,MacOS
): - Commit number (optional, please provide it if you are using the dev version):
Additional Notes
运行main.py报的错
修改一下
# os.popen(
# "python /usr/local/anaconda3/bin/python /Users/charmve/Qbot/auto_monitor.py"
# )
script_name = "auto_monitor.py"
script_path = os.path.join(os.path.dirname(__file__), script_name)
os.popen(f"{sys.executable} {script_path}")