Rémi Ferrand · @remiferrand
13 followers · 54 posts · Server mastodon.gougere.fr

From now on my null-ls configuration uses a dynamic command for pylint. This trick allowed me to remove all the nasty stuff I was doing to work with per-project
No more 𝘜𝘯𝘢𝘣𝘭𝘦 𝘵𝘰 𝘪𝘮𝘱𝘰𝘳𝘵... messages 🎇🥳

#neovim #pylint #PythonPoetry #python #virtualenv #programming

Last updated 1 year ago

Hobson Lane · @hobs
704 followers · 1985 posts · Server mstdn.social

@timdnewman
Yea, Ive made the same mistake myself many times... When I added this one line to my .bashrc it prevents me from borking my system and makes it easier to recover when I bork my nonbase default environment. I just delete it and my or .profile recreates it on next login. TBH (and and virtualenvwrapper) should do this automatically.
@hl

#virtualenv #anaconda #bashrc

Last updated 1 year ago

Christof Schöch · @christof
1478 followers · 1710 posts · Server fedihum.org

Oh, great: requires <8.1.0, but requires 8.1.3. Hopefully, I won't need spaCy and flask in the same project / .

#spaCy #click #flask #virtualenv

Last updated 1 year ago

lanefu · @lanefu
53 followers · 254 posts · Server social.linux.pizza

@b_draad @kkarhan @nixCraft

The bummer is there's not enough direct messaging to entry-level users that the first rule of is NEVER USE SYSTEM python.

It takes getting burned several times and then getting screamed at from a friend to start going down the virtualenv, pyenv, etc rabbit holes.

Bloggers aren't doing people any favors when they introduce users with a simple "pip install" and not a massive disclaimer up front either.

#python #virtualenv

Last updated 1 year ago

Michał Górny :gentoo: · @mgorny
368 followers · 1738 posts · Server fosstodon.org

is yet another project that "optimizes" its test suite by using time-machine. Since time-machine works on CPython only, it also keeps supporting but you are allowed to use it on PyPy only now.

I really do wonder if this "optimization" actually makes anything faster, and if it outweighs the added complexity. The complexity also falls on downstreams ().

But that's modern development for you! "Shiny! Must have it!"

github.com/pypa/virtualenv/com

#pypa #virtualenv #python #freezegun #gentoo

Last updated 1 year ago

Bluszcz 🇵🇱 🌱 · @bluszcz
15 followers · 120 posts · Server pol.social

I think that's a good think, disallowing messing native packages with pip packages. Anyway, I always use virtualenv (viritualenvwrapper namely) for every separated development, or pip --user

omgubuntu.co.uk/2023/04/pip-in

#virtualenv #pip #python

Last updated 1 year ago

Jürgen Gmach · @jugmac00
305 followers · 701 posts · Server fosstodon.org

In case you still use Python 2.7, 3.5 or 3.6, please note that 20.22.0 dropped support for these EOL versions.

As uses under its hood, it is also affected, at least when you want to continue using the above mentioned EOL versions.

If so, please have a look at our FAQ

tox.wiki/en/latest/faq.html#te

#virtualenv #python #tox

Last updated 1 year ago

Michał Górny :gentoo: · @mgorny
359 followers · 1646 posts · Server fosstodon.org

Well, that was fast…

So if you are concerned about being unable to upgrade reliably in without installing the old version first, please voice your concerns upstream:

github.com/pypa/virtualenv/iss

Not that they care.

#virtualenv #gentoo

Last updated 1 year ago

Michał Górny :gentoo: · @mgorny
359 followers · 1645 posts · Server fosstodon.org

Ok, so it turns out that uses old importlib.metadata API on Python < 3.10 that merges entry points from multiple installations of the same package across sys.path.

In practical terms: when we're testing virtualenv 2.22.0 in a --system-site-packages venv on and 2.21.0 is already installed on the system, 2.22.0 doesn't work. It tries to load plugins defined by the old version and since they don't exist anymore, it spews AttributeErrors.

github.com/pypa/virtualenv/iss

#python #virtualenv #gentoo

Last updated 1 year ago

Joseph Szymborski · @jszym
37 followers · 49 posts · Server cosocial.ca

I've been fighting with and all day long, and let's just say I'm this close to never using either ever again.

I'm usually an apologist when it comes to packaging, but really that's just because and are serviceable enough for 90% of use cases. mamba does a pretty good job of papering over the unusable mess that is conda, but it's still lipstick on a pig.

In terms of the brokenness of python packaging tools, I think its

conda > virtualenv > mamba = pip

#conda #mamba #python #pip #virtualenv

Last updated 1 year ago

Dave Mackey · @davidshq
794 followers · 1220 posts · Server hachyderm.io

you know, when you've been working in a 3.8.7 and it starts running 3.10 causing your application to die a horrific and error-ridden death? Oh no, only me?

I'm back up and running but there were a few maddening minutes there...especially when I reinstalled the 3.8 venv and it decided to still run 3.10. 😳

#python #virtualenv

Last updated 1 year ago

Madiana A. Argon :verified: · @madargon
991 followers · 559 posts · Server is-a.cat

Some time ago I was wondering...

...how many , either amateurs or professionals, have to run to publish their works in the internet :blobcatjoy:​

#artists #python #virtualenv #selfhosted

Last updated 1 year ago

Arch Koder · @archkoder
1 followers · 74 posts · Server discuss.systems


Debian releases may not allow pip outside virtual environments.

Works out fine for me but.....

linuxuprising.com/2023/03/next

#debian #python #pip #virtualenv

Last updated 1 year ago

Chema Cortés *ℝ · @chemacortes
34 followers · 120 posts · Server mathstodon.xyz

No sé si te has preguntado qué son esos ficheros activate.nu y activate.fish que aparecen en los entornos virtuales . Sirven para configurar el entorno para nushell y fish shell, respectivamente.

Por ejemplo, en el caso de 0.74.0 y 20.21.0, para activar el entorno sería algo así:

> overlay use .venv/bin/activate.nu

También se podría hacer con poetry, que depende de virtualenv para la gestión de los entornos virtuales. Lamentablente, aún usa una versión vieja de virtualenv que no gestiona correctamente los entornos de nushell. Habrá que esperar a que actualice la versión que emplea.

#virtualenv #nushell #python

Last updated 1 year ago

AskUbuntu · @askubuntu
60 followers · 2218 posts · Server ubuntu.social

Using /usr/bin/env python3 to point to virtual environment in 22.04 #2204

askubuntu.com/q/1459024/612

#python #cron #python3 #virtualenv

Last updated 1 year ago

Adnan · @kiriappeee
69 followers · 334 posts · Server mstdn.party

Tried out to manage some packages on my system today that I wanted to keep from polluting my main operating system and boy.... That was an awful experience alright.

I don't care what people say about it, the system was not made for who want to sit down and just get shit done.

The space is wide open for anyone wanting to develop a tool that is not a solution but is instead the equivalent of 's but at an OS level.

A few thoughts on this

#nix #developers #containerization #python #virtualenv

Last updated 1 year ago

Tushar Chauhan · @tchauhan
34 followers · 218 posts · Server mastodon.mit.edu

Does someone here use `poetry` for python dependency management ? I am trying to replicate the environment for a module. I left it running overnight, and 10 hours later, dependencies are still unresolved ...

`pyproject.toml` is very friendly. But ease of use without actually fulling said use is, well, useless.

Go on, share your python dependency-management strategies! Anything more efficient than `poetry` will be awesome.

#python #poetry #dev #virtualenv

Last updated 2 years ago

Larry O'Brien · @lobrien
107 followers · 136 posts · Server sigmoid.social

What do you think of as the foundation for your dev environment as opposed to or other ? Pros outweigh cons?

#docker #ml #conda #virtualenv

Last updated 2 years ago

CodeRefinery · @coderefinery
54 followers · 32 posts · Server fosstodon.org

day 3 has finished, and it went great!

Tomorrow we switch and focus on the big picture of , using and reusing code.
- Dependency management with - keep your work organized!
- / for making code easy-to-run by others in the cloud
- Packaging and sharing Python libs
- A where you can ask us anything
- Wrap-up and after-party

Tomorrow 9:50 EET / 8:50 CET, scicomp.aalto.fi/training/scip

#PythonForSciComp #reproducibleresearch #python #pip #conda #mamba #virtualenv #mybinder #BinderHub #paneldiscussion

Last updated 2 years ago

Mohamed · @kentoseth
117 followers · 352 posts · Server fosstodon.org

How to find a virtual environment without installing any packages:

`sudo find / -name "*activate" -type f`

This will look in the entire system structure and will look for the `activate` file.

#python #venv #virtualenv

Last updated 2 years ago