Category : pyenv

I am trying to install Python 3.8.8 on MacOS Mojave (Version 10.14.6 (18G8022)) following this document https://realpython.com/intro-to-pyenv/. It fails with the error showing below. $ pyenv install 3.8.8 python-build: use [email protected] from homebrew python-build: use readline from homebrew Downloading Python-3.8.8.tar.xz… -> https://www.python.org/ftp/python/3.8.8/Python-3.8.8.tar.xz Installing Python-3.8.8… python-build: use readline from homebrew python-build: use zlib from xcode sdk ..

Read more

I have installed python 3.8.0 via pyenv. pyenv which python /Users/myname/.pyenv/versions/3.8.0/bin/python If I run python3 I get python3 Python 3.6.8rc1 (v3.6.8rc1:cc3e73212a, Dec 11 2018, 17:37:34) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for more information. If I check which python3 /Library/Frameworks/Python.framework/Versions/3.6/bin/python3 How can I set the 3.8.0 ..

Read more

I am working inside a pyenv-managed virtualenv $ which python /Users/theonlygusti/.pyenv/shims/python /Users/theonlygusti/.pyenv/shims/python is a shell script and gdb doesn’t work "0x7ffeeb614570s": not in executable format: file format not recognized How can I use gdb on a python script like here https://stackoverflow.com/a/2664232/3310334 to debug my C extension’s segfault? Source: Python..

Read more