governa, to python
@governa@fosstodon.org avatar

Install Multiple #Python Versions on #Ubuntu With #Pyenv :python:

https://itsfoss.com/pyenv-ubuntu/

ucodery, to python
@ucodery@fosstodon.org avatar

Found enough free time to finally publish how I keep all my Python environments sane https://blog.ucodery.com/posts/managing-my-python-environments/

adamchainz, to random
@adamchainz@fosstodon.org avatar

I moved from #pyenv to #mise last week, managing both my #Python and #Node versions with it. Maybe other languages soon.

It was really smooth and it installs fast. It definitely has a better UX, especially around pulling the latest versions.

Mise: https://mise.jdx.dev/

Here’s what my Ansible-powered installation steps look like now:

https://github.com/adamchainz/mac-ansible/blob/main/roles/adam_mac/tasks/installs.yml#L21

colindean, to python
@colindean@mastodon.social avatar

My long-awaited blog post on the #Target Tech blog has finally been published! Tag soup, you'll love it if you care about any of these together:

#make #python #devex

#pyenv #poetry#homebrew #macos #linux #datascience #homebrewbundle

https://tech.target.com/blog/make-python-devex

aral, (edited ) to python
@aral@mastodon.ar.al avatar

Made the mistake of trying to install/run a Python tool (thinking perhaps things have gotten better because it’s 2024).

So, anyway:

  • poetry, pipx, and pyenv (get them, trust me)

  • If pyenv install fails for you (e.g., on Fedora 39) with ImportError: No module named '_curses', 'readline', and '_ssl':

sudo dnf install ncurses-devel readline-devel openssl-devel

Then run pyenv install again.

#python #iJustWantToRunAPackage #sigh #linux #fedora #pyenv #poetry

astrojuanlu, to python
@astrojuanlu@social.juanlu.space avatar

My favourite dev tool, rtx, has been renamed to mise and now has plenty of documentation. If you're looking for an alternative to pyenv and asdf that doesn't ruin your environment with shims, and also one that can create virtualenvs automatically on the fly and manage environment variables, check it out!

https://mise.jdx.dev/dev-tools.html

#mise #python #pyenv #asdf

diazona, to python
@diazona@techhub.social avatar

lololol so I think I found a "legitimate" reason to install pipx with itself

I installed pyenv and then installed pipx with one of the non-system Python versions, but then I set the local pyenv versions in a directory to exclude the one pipx was installed with, thus causing any invocation of pipx in that directory to trigger pyenv's usual warning about the command not existing in any of the enabled Python versions. Turns out pipx install pipx makes it magically work again 🎉

(this is probably where I should put a disclaimer "don't try this at home")

#Python #pipx #pyenv

AlSweigart, to random
@AlSweigart@mastodon.social avatar

Hey macOS and Linux Pythonistas: do you run pip or pip3 from the terminal?

norambna,

@AlSweigart I use macOS and Linux. It's always pip for me.

To clarify a bit. On macOS I use #Homebrew to install #pyenv and then pyenv to get python. On Linux, pyenv is probably one of the first tools that I install.

lolzac, to programming

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

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • InstantRegret
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • tacticalgear
  • ethstaker
  • modclub
  • cisconetworking
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • megavids
  • provamag3
  • normalnudes
  • Leos
  • lostlight
  • All magazines