Skip to content
This repository was archived by the owner on Aug 18, 2026. It is now read-only.
This repository was archived by the owner on Aug 18, 2026. It is now read-only.

Install / config Pyenv + Poetry #6

Description

@DannyDannyDanny

install pyenv

interactively pyenv:

curl https://pyenv.run | bash

# fish integration
set -Ux PYENV_ROOT $HOME/.pyenv
fish_add_path $PYENV_ROOT/bin

# install dependencies
sudo apt install -y build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev curl libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev

There is a difference when running interactively vs executing: read the fish snippets in pyenv/pyenv README#set-up-your-shell-environment-for-pyenv

workflow

pyenv install 3.11.0

cd mypythonproject/
pyenv local 3.11.0

python -m venv venv
source venv/bin/activate.fish
pip install poetry
poetry install

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions