I am new to Mac and also to programming. I installed python then later Homebrew as it seemed to be quite helpful for installing stuff I needed.
I installed PySide6 using brew install pyside. However when I try to import it I get: ‘ModuleNotFoundError: No module named ‘PySide6”
I already tried reinstalling or checked if it is just called pyside instead of PySide6.
I read a lot online but could’t figure out how to fix it.
I think the problem may be that I installed Python without Homebrew so my Python looks for the Package in the wrong spot?? when I do -pip list I don’t see the package however with -brew list I do see it.
I can’t do pip3 install PySide6 as it says it’s externally managed probably by Homebrew I guess?
I thought maybe uninstalling Python and reinstalling it with brew might help but as I am not totally sure if that works or how I would do that I wanted to ask here first before breaking even more.
Jermain Augustin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.