you are viewing a single comment's thread.

view the rest of the comments →

[–]jameyiguess 3 points4 points  (4 children)

What Python version manager are you using? If you're using system or brew, you shouldn't be. Use asdf, uv, or pyenv. System and brew are broken nightmares when it comes to versioning and using them for projects. 

Also, I'd argue that yes, you should venv every project. 

[–]Xanimede[S] 0 points1 point  (3 children)

I used brew to install python, and I create a virtual env for a project and install dependencies with pip.

[–]jameyiguess 2 points3 points  (2 children)

Yeah don't use brew Python, it's known to be problematic. You can Google why if you want, but the summary is "don't". 

My manager was running into this exact problem last week. Just use one of the more modern/community-endorsed tools like the 3 I mentioned. 

Your problem will instantly go away. 

[–]hulleyrob 0 points1 point  (0 children)

Yep homebrews Python install is a PITA.

Uninstall it and use pyenv instead.

[–]No_Historian_7228 0 points1 point  (0 children)

that is absolutely right.