Ritchie Mwewa

Bipedal Software Engineer from the Milky Way


PyCharm Venv Issues Continue

Global Venv Interference

About 3 days ago, I published a post about Fixing PyCharm’s Missing Imports and Linting on Fedora Silverblue, but a day later, I ran into yet another venv-related issue. The Problem I was experiencing a strange issue where: Everything seemed to be working - I could install packages, linting was functional, and scripts ran fine But Black formatter refused to work - it would fail with an error when trying to format code PyCharm showed the interpreter name in the bottom right, but clicking it showed nothing - as if no interpreter was configured In the interpreter settings, my project’s venv was marked as [invalid], but PyCharm was actually using a different venv from my home directory instead PyCharm insisted on using Python 3.

Read more...

Fixing PyCharm's Missing Imports and Linting on Fedora Silverblue

I’ve been running Fedora Silverblue for a while now, and recently, I ran into a simple, yet frustrating issue with PyCharm: imports weren’t being recognised, and linting wasn’t working. If you’re experiencing the same problem, here’s what was actually wrong and how I fixed it. Now, before we begin, I think you’ll need to understand something (in case you don’t already) that I’ll reference a fair number of times in this post:

Read more...

Hello, Reader

I’m Ritchie, and in this blog I’ll be sharing things I’m learning, learned, learnt, projects I’m working on, security research, development insights, and probably some thoughts on music and life in between. Think of it as a digital notebook that happens to be public. Why share? Because the best way to solidify ones understanding is to explain it to others. Plus, if something I write helps even one person solve a problem or learn something new, that’s worth it.

Read more...
1 of 1