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.

RuntimeError: 'Exec format error' when using pipenv+pyenv-installed python 3.8.1 to install environment

See original GitHub issue

Thanks for submitting an issue!

If submitting a BUG please provide:

  • [X ] Minimal reproducible example or detailed descriptions
/Users/mhjeon/.local/share/virtualenvs/nowwow-0D8RInBf/bin/python3 -mvirtualenv /tmp/env -p /Users/mhjeon/.local/share/virtualenvs/nowwow-0D8RInBf/bin/python3

This gives me an output of

RuntimeError: failed to query /Users/mhjeon/.pyenv/versions/3.8.1/Python.framework/Versions/3.8/python with code 8 err: 'Exec format error'
  • OS and pip list output using virtualenv 20.0.0b2

Please see this issue for more detail

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (12 by maintainers)

github_iconTop GitHub Comments

4reactions
gaborbernatcommented, Feb 11, 2020

Hello, a fix for this issue has been released via virtualenv 20.0.2; see https://pypi.org/project/virtualenv/20.0.2/ (https://virtualenv.pypa.io/en/latest/changelog.html#v20-0-2-2020-02-11) . Please give a try and report back if your issue has not been addressed; if not, please comment here, and we’ll reopen the ticket. We want to apologize for the inconvenience this has caused you and say thanks for having patience while we resolve the unexpected bugs with this new major release.

thanks

0reactions
asottilecommented, Feb 11, 2020

I get past the error now, but now I’m hitting #1583 from the same directions

Read more comments on GitHub >

github_iconTop Results From Across the Web

OSError: [Errno 8] Exec format error - Stack Overflow
OSError: [Errno 8] Exec format error can happen if there is no shebang line at the top of the shell script and you...
Read more >
Unable to upgrade Python 3.8.10 to 3.10 - SOLVED
When we reached 2nd command in Step 3: Add Python 3.8 & Python 3.10 to update-alternatives, we see this error.
Read more >
Problem with creating Python 3.6 virtual environment on ...
RuntimeError : failed to query /usr/bin/python3.6 with code 1 err: ... I also tried installing sudo apt install python3.6-venv which results in:
Read more >
How to Set up Python3 the Right Easy Way!
Don't jump to conclusions and begin installing python using brew! Instead, install the environment manager pyenv. Pyenv is a tool to manage ...
Read more >
Installing and using virtualenv with Python 3
Overview Virtualenv is a tool used to create an isolated Python environment. This environment has its own installation directories that...
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