question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Doesn't work on M1 Mac, missing /usr/bin/python

See original GitHub issue
  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate

I’m on a M1 Macbook Pro, and they do not have the native python installed. When i run the hyper command on CLI.

I get

/usr/local/bin/hyper: line 4: /usr/bin/python: No such file or directory
/usr/local/bin/hyper: line 8: ./MacOS/Hyper: No such file or directory

I’ve tried creating a symlink to my existing Python3 folder, to no avail. I guess there’s something I don’t know or maybe i’ve done something wrong.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:4
  • Comments:11

github_iconTop GitHub Comments

7reactions
jabrcommented, Mar 31, 2022

A quick, manual fix: edit the hyper command and replace /usr/bin/python with /usr/bin/python3.

You can find the location of the command with which hyper. It is likely at /opt/homebrew/bin/hyper or /usr/local/bin/hyper.

1reaction
LabhanshAgrawalcommented, Apr 4, 2022

Fixed in 3.2.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python not working on Mac OS M1 as… - Apple Developer
I install it and type python again and keep returning error and not working. which python returns a path /usr/local/bin/python and this file...
Read more >
How can I fix the "zsh: command not found: python" error ...
I solved it by configuring the ENVIRONMENT. I added a line, alias python=/usr/local/bin/python3.10 , into the .zshrc file (you must ...
Read more >
macOS Monterey 12.3 will remove Python 2.7 (/usr/bin/python)
So, we can just run Python 3 as Apple recommend, right? ... Nope! And for a few reasons. First thing, Python 3 isn't...
Read more >
How to Manage Multiple Python Versions on an Apple Silicon ...
Try the previous steps first and only come here if you encounter package installation issues. Otherwise you are sacrificing performance for no benefit....
Read more >
If the new MBPs (M1) come with Python3 pre-installed, why ...
You need to add /Users/ysl/Library/Python/3.8/bin to your zsh PATH (and then restart your shell/terminal). Share.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found