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.

Installation failing on M1 MacBook Air and Python 3.8 via Homebrew

See original GitHub issue

Failing install on Mac OS Big Sur, MacBook Air (M1 - Apple Silicon).

Sorry in advance, not a Python expert

curl -OL https://bashhub.com/setup && zsh setup
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  8746  100  8746    0     0  15157      0 --:--:-- --:--:-- --:--:-- 15131
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   122  100   122    0     0    663      0 --:--:-- --:--:-- --:--:--   663
100   282  100   282    0     0    734      0 --:--:-- --:--:-- --:--:--   734
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 5001k  100 5001k    0     0  4614k      0  0:00:01  0:00:01 --:--:-- 10.6M
New python executable in /Users/casey/.bashhub/env/bin/python
ERROR: The executable /Users/casey/.bashhub/env/bin/python is not functioning
ERROR: It thinks sys.prefix is '/Users/casey/.bashhub' (should be u'/Users/casey/.bashhub/env')
ERROR: virtualenv is not compatible with this system or executable

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jakoberpfcommented, Nov 14, 2021

I have/had the same issue and fixed it by removing the virtualenv dependency and using the python module “venv”. I am not sure of this is a solution, as I don’t know if the “venv” module is present in python by default. Even if, this might help someone to “quickfix” it. #105

0reactions
rcalorascommented, Dec 1, 2021

Closing should be fixed with the release of 2.2.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't install pyenv 3.8.5 on MacOS Big Sur with M1 chip?
I've tried Problems installing python 3.6 with pyenv on Mac OS Big Sur and Issues Installing Python 3. x via Pyenv but nothing...
Read more >
Install Python on macOS 11 M1 (Apple Silicon) using pyenv
Let's install pyenv to manage multiple versions of Python. Install pyenv on macOS 11 (Apple Silicon). There are two ways to install pyenv...
Read more >
Not Able to Build Some Versions of Python on M1 at 12.3.1
I trying to build older version of python such as 3.6, 3.7, 3.8 using pyenv and having build failures. I am on apple...
Read more >
How to Install Python 3 on Mac – Brew Install Update Tutorial
If you encounter an error that "C compiler cannot create executables" then the simplest way to solve this is to reinstall Apple's Xcode....
Read more >
How to Easily Set Up Python on Any M1 Mac
In case you get the error zsh: command not found: brew , probably homebrew was saved in /opt/homebrew/ instead of /user/local/… If that's...
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