Hacker News new | ask | show | jobs
by RobertoG 84 days ago
why you don't use some kind of environment, Conda or something like that?
4 comments

I used uv, which should have generated a stable environment. No dice. There's a bug in spacey.

I suspect success is highly variable on macOS vs. Linux; the spacey bug is only in newer (3.14 only or later) Pythons, which Linux will have.

thanks for pointing these errors out. we're looking into this and will help fix this.
Even the built in venv would've solved most of his issues too. But I agree with him in that Python documentation could be better. Or have a more unified system in place. I feel like every other how to doc I read on setting something Python up uses a different environment containment product.
Conda was fantastic up to some point last year and since then I've had quite a few unresolvable version issues with it. It is really annoying, especially when you're tying multiple things together and each requires its own set of mutually exclusive specific versions of libraries. The latest like that was gnu radio and some out-of-tree stuff at the same time as a bluetooth library. High drama. I eventually gave up, rewrote the whole thing in a different language and it took less time than I had spent on trying to get the python solution duct-taped together.

I should learn to give up quicker.

Because I need a new version of python very rarely (years go by). I don't remember all the arcane incantations to set everything up.

I did eventually do that though, and I'm pretty sure I had to mess about with installing and uninstalling torch.

I dread using anything made in python because of this. It's always annoying and never just works (if the version of python is incompatible, otherwise it's fine) .

I don't know, I'm pretty happy with Conda. I just create a new environment and install on it. It normally works.

Even if you have to install using pip it just affect the active environment.

Maybe I'm only trying simple things.