Skip to main content
Added homebrew tag
Link
huyz
  • 2.4k
  • 3
  • 26
  • 38
added 5 characters in body
Source Link
Paulo Costa
  • 1.7k
  • 4
  • 16
  • 18

Trying to use pyenv to build python versions on macosmacOS, but every install I make ends up with

❯ python >>> import lzma ModuleNotFoundError: No module named '_lzma' 

I have installed all of the following packages:

brew install openssl readline sqlite3 xz zlib xcode-select --install 
brew install openssl readline sqlite3 xz zlib xcode-select --install 

Only caveat is that homebrew installs packages to ~/.brew.

Any input is appreciated.

Trying to use pyenv to build python versions on macos, but every install I make ends up with

❯ python >>> import lzma ModuleNotFoundError: No module named '_lzma' 

I have installed all of the following packages:

brew install openssl readline sqlite3 xz zlib xcode-select --install 

Only caveat is that homebrew installs packages to ~/.brew.

Any input is appreciated.

Trying to use pyenv to build python versions on macOS, but every install I make ends up with

❯ python >>> import lzma ModuleNotFoundError: No module named '_lzma' 

I have installed all of the following packages:

brew install openssl readline sqlite3 xz zlib xcode-select --install 

Only caveat is that homebrew installs packages to ~/.brew.

Any input is appreciated.

Source Link
Paulo Costa
  • 1.7k
  • 4
  • 16
  • 18

ModuleNotFoundError: No module named '_lzma' when building python using pyenv on macos

Trying to use pyenv to build python versions on macos, but every install I make ends up with

❯ python >>> import lzma ModuleNotFoundError: No module named '_lzma' 

I have installed all of the following packages:

brew install openssl readline sqlite3 xz zlib xcode-select --install 

Only caveat is that homebrew installs packages to ~/.brew.

Any input is appreciated.