Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python: can't open file '/usr/local/anaconda3/bin/python': [Errno 2] No such file or directory #61

Open
wnight9527 opened this issue Aug 9, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@wnight9527
Copy link

🐛 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

@wnight9527 wnight9527 added the bug Something isn't working label Aug 9, 2023
@wnight9527
Copy link
Author

运行main.py报的错

@Guangdinghou
Copy link

Guangdinghou commented Feb 22, 2024

修改一下

    # 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}")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants