pythonhelp

563 readers
1 users here now

A community for posts that include helping Python programmers

Discord:
https://discord.gg/39K88eCxxr

founded 1 year ago
MODERATORS
1
8
submitted 1 year ago* (last edited 1 year ago) by Torro to c/pythonhelp
 
 

Please format your code properly
Use code blocks and inline code as appropriate

Thanks!

2
 
 

cross-posted from: https://sh.itjust.works/post/27097438

I store my programs in a cryptomator vault which uses a fuse virtual drive (The default on Linux), but when trying to update pip inside a venv I get an error, then any subsequent use of pip also throws an error and {path_to_venv}/lib/python3.12/site-packages/pip/ becomes empty.

I imagine this is an issue that would happen in any FUSE drive although I don't know how to test that.

Here are the logs

  • OS : Fedora 40
  • pip version: 23.3.2 updating to 24.2
  • python version: 3.12.7

I already made a bug report on the github

Does anyone know a temporary workaround for this ?

3
 
 

Do you know libraries to write simple guis that are flexible and largely adopted so I can find guides and examples? No need to design any part of it, just a rigid table-like carcass for buttons and elements.

I'm yet to dip my toe in anything graphical, but I thought that my current learning project could use a simple interface. I'm just afraid I'd give up if it would be too complicated to implement and wire to my now terminal-controlled code.

Can you suggest something for a beginner?

4
 
 

Hi, I'm trying to save a plotly image as a static .svg file using kaleido. I have kaleido-0.2.1 installed, but when I run this code on jupyter: fig1.write_image("../figures/supp1A.svg", format="svg", engine="kaleido")
I get this error:

ValueError: 
Image export using the "kaleido" engine requires the kaleido package,
which can be installed using pip:
    $ pip install -U kaleido

Why does this happens even tho kaleido is installed?

5
86
Lets foster a community! (self.pythonhelp)
submitted 1 year ago by Limeey to c/pythonhelp
 
 

I started python almost 10 years ago now (jesus that makes me feel old). During that time, r/learnpython was incredibly helpful in that journey, and I learned a lot from the folks there.

I can't wait to build the same thing here, and I want to offer my services as best I can to do so. If you have an issue, question or problem, post! You can reply here if it's just a quick clarification, but feel free to make your own post and include your code. I'll do my best to read it when I can and give any help I can. I don't have "all the knowledge" - but I'm pretty proud of myself for being a near expert with the language.

So hit me, how can I help?