Kevin Bowen :xfce: · @kevinbowen
128 followers · 869 posts · Server fosstodon.org

If one is going to be futzing around with on their system, I think the best way to inoculate/isolate one's user-space from the system is to install

I used to completely pollute my installations by mucking up installations with installing distribution python packages and end up struggling to get them working together properly.

pyenv is a great prophylactic if one doesn't need the environment.

#python #pyenv #pip #conda

Last updated 1 year ago

Albert Tugushev :python: · @alikus
31 followers · 25 posts · Server fosstodon.org

Noticed my starship prompt was a bit sluggish sometimes. Apparently it was spending some time (180-200ms) getting `python --version` outside of venv via pyenv's shims. Bash shims are usually fine, but performance matters in starship.

Switched to rtx runtime manager and voila, rapid prompt again! Loved rtx so much I've fully migrated from pyenv.

Thanks to @jdx for rtx and @astrojuanlu for recommendations!

github.com/jdxcode/rtx

#rtx #pyenv #python #rust

Last updated 1 year ago

Rob :verified_neko: · @sr388
28 followers · 865 posts · Server social.tchncs.de

Ich habe vor einigen Tagen kennengelernt. Ich liebe es:
Mit pyenv kann ich verschiedene Python-Versionen verwalten und für die Shell, den Ordner oder Global "mal eben" die zu nutzende Python-Version festlegen.
Ich sollte mir nur merken, was ich wann geändert habe. Eben wollte Lutris nicht mehr starten, da Python 3.10.0 und nicht 3.11.x gesetzt war...

#pyenv

Last updated 1 year ago

Rob :verified_neko: · @sr388
28 followers · 808 posts · Server social.tchncs.de

Ich habe vor einigen Tagen kennengelernt. Ich liebe es:
Mit pyenv kann ich verschiedene Python-Versionen verwalten und für die Shell, den Ordner oder Global "mal eben" die zu nutzende Python-Version festlegen.
Ich sollte mir nur merken, was ich wann geändert habe. Eben wollte Lutris nicht mehr starten, da Python 3.10.0 und nicht 3.11.x gesetzt war...

#pyenv

Last updated 1 year ago

🌱 pvergain ⏚ · @pvergain
82 followers · 1338 posts · Server qoto.org

(Polyglot runtime manager ( clone))

- dev.to/jdxcode/beginners-guide

- github.com/jdxcode/rtx

rtx is a tool that manages installations of programming language runtimes and other tools for local development.

If you are using , nvm, or , you'll have a better experience with rtx. It's faster, easier to use, and generally has more features than any of those.

It's useful if you want to install a specific version of node or python or if you want to use different versions in different projects.

- github.com/jdxcode/rtx#feature

asdf-compatible - rtx is compatible with asdf plugins and .tool-versions files. It can be used as a drop-in replacement.
Polyglot - compatible with any language, so no more figuring out how nvm, nodenv, pyenv, etc work individually—just use 1 tool.
Fast - rtx is written in Rust and is very fast. 20x-200x faster than asdf.
No shims - shims cause problems, they break which, and add overhead. By default, rtx does not use them—however you can if you want to.
Fuzzy matching and aliases - It's enough to just say you want "v20" of node, or the "lts" version. rtx will figure out the right version without you needing to specify an exact version.
Arbitrary env vars - Set custom env vars when in a project directory like NODE_ENV=production or AWS_PROFILE=staging.

#python #asdf #rust #pyenv #features #node #rtx

Last updated 1 year ago

Beto Dealmeida · @beto
163 followers · 637 posts · Server 2c.taoetc.org

I'm like "how do I install in ?" and then I realize I don't need pyenv in NixOS.

codyhiar.com/blog/replace-pyen

#pyenv #nixos #enlightenment

Last updated 1 year ago

Juan Luis · @astrojuanlu
1295 followers · 2038 posts · Server social.juanlu.space

I dislike pyenv so much.

There, I said it. I'm actively avoiding it in all my projects, and I'm sad it's the default option on Gitpod.

#python #packaging #shenanigans #rabbitholes #lamehashtags #pyenv #gitpod

Last updated 2 years ago

PyLadies Bot · @pyladies_bot
92 followers · 64 posts · Server botsin.space
Zac · @lolzac
135 followers · 3263 posts · Server home.social

Hey Python people!

pyenv or pipenv? I am using a Mac and want to find a tool to help keep all of my installation clean and make using venvs easier.

#python #pyenv #pipenv

Last updated 2 years ago

Charles Corbett · @chas
14 followers · 64 posts · Server tty0.social

There's honestly not a lot about that has impressed me over the last decade. It was simply a gateway language for me. However, and have definitely done so. How trivial it is to run tests across multiple versions of python including prerelease, actual dependency tree solving, domain specific dependencies. It's added a little much needed joy to python project management that was sorely needed.

#python #hatch #pyenv

Last updated 2 years ago

Kevin Bowen :xfce: · @kevinbowen
66 followers · 309 posts · Server fosstodon.org

I've got a number of small projects using Poetry & and this is the workflow that I've got for when a new Python version is released:

- pyenv install 3.11.3
- edit `~/.local/pypoetry/venv/pyvenv.cfg` and replace with new Python version
- `poetry env remove 3.11.2`
- edit `.python-version` in the local project directory with updated Python version(s)
- `poetry install`
- `poetry env info` for verification

Is there a better, more efficient way to do this?

#python #pyenv

Last updated 2 years ago

robrich · @robrich
9 followers · 90 posts · Server hachyderm.io

#pyenv #python #venv

Last updated 2 years ago

Daniel Wayne Armstrong · @dwarmstrong
14 followers · 115 posts · Server fosstodon.org

Using makes it easy to install and switch between multiple versions of on a system. It also enables a clean separation between the Python installed by the system (required for its maintenance and to satisfy package dependencies), and other Python versions and libraries installed by the user: dwarmstrong.org/pyenv/

#pyenv #python #linux

Last updated 2 years ago

Seth Michael Larson · @sethmlarson
767 followers · 455 posts · Server fosstodon.org

📜 New article: "Testing multiple versions with and ":

sethmlarson.dev/nox-pyenv-all-

#python #nox #pyenv

Last updated 2 years ago

Tom Schraitle · @toms
1 followers · 3 posts · Server fosstodon.org

A new package version of pyenv v2.3.13 is available for openSUSE.

"pyenv lets you easily switch between multiple versions of Python. It is simple, unobtrusive, and follows the UNIX tradition of single-purpose tools that do one thing well."

build.opensuse.org/package/sho

#opensuse #python #pyenv

Last updated 2 years ago

Chris Merle · @clmerle
297 followers · 3693 posts · Server mstdn.social

Going to install and try out , so I decided it was time to update on my MacBook. I ran brew update and it took forever to run. I thought it had hung up. It finished and said to run brew upgrade. I was warned that MacOS Mojave is no longer supported. I hadn't wanted to update to Catalina, but my resistance has been waning. So once the the upgrade is done, I'll install pyenv, play with it a bit and then upgrade to Catalina. Anyway, upgrade is taking even longer than update.

#homebrew #pyenv

Last updated 2 years ago

Laus🐜 · @Fettlaus
253 followers · 827 posts · Server social.tchncs.de

The hellhole that is dependency and build management with python.

#python #pep517 #poetry #pyenv #pipenv #pip

Last updated 2 years ago

· @erralin
89 followers · 624 posts · Server mastodon.eus

I can't install python 3.11 using pyenv, it says it install 3.11 but when I run python it runs 3.10. Am I missing something?

#python #pyenv

Last updated 2 years ago

pvergain · @pvergain
255 followers · 1431 posts · Server framapiaf.org
pvergain · @pvergain
254 followers · 1383 posts · Server framapiaf.org

realpython.com/intro-to-pyenv/

Before you install pyenv itself, you’re going to need some OS-specific dependencies

```
$ sudo apt-get install -y make build-essential libssl-dev zlib1g-dev \
libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev \
libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl
```

#pyenv #python

Last updated 2 years ago