Rudy’s OBTF Rudolf Adamkovič

Home / Python / Python / Installation


Virtual environment

python3.12 -m venv ~/.venv/

N.B. We use version 3.12 to make TensorFlow work.

N.B. Avoid the proprietary Anaconda distribution.

  • python-interpreter is for non-interactive use, and
  • python-shell-interpreter is for interactive use.
(with-eval-after-load 'python
  (let ((interpreter "~/.venv/bin/ipython"))
    (setopt python-interpreter interpreter
            python-shell-interpreter interpreter)))

© 2025 Rudolf Adamkovič under GNU General Public License version 3.
Made with Emacs and secret alien technologies of yesteryear.