[Interest] Can't add PySide2
Tom Isaacson
Tom.Isaacson at navico.com
Wed Sep 11 07:49:17 CEST 2019
I just started trying to use Qt for Python but failed at the first hurdle. I'm using VSCode on Ubuntu 18.04 x64 with Python 3.6 and Pipenv. I added:
[packages]
"pyside2" = "*"
to my Pipfile and ran "pipenv update" and it installed PySide2 fine. I then added:
from PySide2.QtCore import QSettings
to my Python file. But when I try to run VSCode says:
"Exception has occurred: ModuleNotFoundError"
No module named 'PySide2'
It's loading the other modules from Pipenv fine. Does anyone have any suggestions?
Tom Isaacson
More information about the Interest
mailing list