python 3.5 and PySide / qtpy bug

Hello,

I've recently started to use PyCharm and am now trying to run some code using PySide2 and qtpy. I've installed both via PyCharm and it seem recognized.

I'm working with python3.5

I can import both PySide2 and qtpy

but when I do from PySide2 import QtWidgets it's fine (same from qtpy) for few seconds then this pops up:

C:\python35\lib\site-packages\shiboken2\files.dir\shibokensupport\signature\parser.py:97: FutureWarning: split() requires a non-empty pattern match.
return [x.strip() for x in split(argstr) if x.strip() not in ("", ",")]

then If I try to run more code I end up with the following:

Process finished with exit code 1073741845

 

I'm not sure what's going on. Any idea?

Thanks!

3 comments
Comment actions Permalink

Hello,

Could you please provide me a screenshot of the error and a simple example of executing script, so I will be able to reproduce the issue? 

Also, I am wondering what happens if the script is executed in a system terminal with the same interpreter? (out of PyCharm) Do you get the same result? 

 

0
Comment actions Permalink

Qt is the same at Qtpy and same as PySide2, they all produce the exact same error.

If I use an external terminal I don't have the FutureWarning but it still crashes.

 

I've 2 projects setup with pipenv, 1 works outside of Pycharm with Qt and PySide2 (haven't tried it in pycharm) and that one (above screenshot). I've also tried to set the virtualenv interpreter in pyCharm but it results in the exact same problem.

0
Comment actions Permalink

Hello, 

>If I use an external terminal I don't have the FutureWarning but it still crashes.

it confirms the issue is out of PyCharm scope, I assume if you run the code line by line in the terminal you would get the same "FutureWarning" error. 

 

 

 

0

Please sign in to leave a comment.