meta data for this page

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tectonicwaters:pyenv_and_macports [2024/02/04 22:43] – created christiantectonicwaters:pyenv_and_macports [2024/04/26 22:49] (current) – added update on python.org version christian
Line 1: Line 1:
-====== pyenv and MacPorts ======+====== pyenv and MacPorts (Updated) ======
  
 I've recently switched from [[https://brew.sh|HomeBrew]] to [[https://macports.org|MacPorts]] for a number of reasons. MacPorts doesn't have a version of [[https://github.com/pyenv|pyenv]] included, so it needs to be installed manually. I've recently switched from [[https://brew.sh|HomeBrew]] to [[https://macports.org|MacPorts]] for a number of reasons. MacPorts doesn't have a version of [[https://github.com/pyenv|pyenv]] included, so it needs to be installed manually.
Line 11: Line 11:
 export LDFLAGS="-L/opt/local/lib $LDFLAGS" export LDFLAGS="-L/opt/local/lib $LDFLAGS"
 </code> </code>
 +
 +===== Update =====
 +
 +For some reason, I had no luck with the ''pyenv'' route, nor the MacPorts Python installations as Python 3.10, 3.11 and 3.12 kept crashing upon quit (or when running Jupyter notebooks). I removed ''pyenv'' and the MacPorts Python versions and installed the bog-standard official Python release from [[https://python.org|Python.org]] with ''pip install <module> --user'' in userspace. All seems to be fine since.
 +
 +
  
  
 ~~DISCUSSION~~ ~~DISCUSSION~~