Sublime Forum

Python virtualenv and pyside/pyqt

#1

I use Python, Sublime 3176, Windows

I have done “new build system” according to the documentation.
It seems work,
but when I use PySide / PyQt and build system with my virtualenv in Sublime Text 3.
It didn’t work.
the qt window can’t be displayed.
but if I re-implement in PyCharm, it won’t appear this status.

and when I use other “new build system of Python”
I haven’t got those full complement.
for example:
if I put “sys.ver”, it can’t return “sys.version”.
but this question, it might be about “SublimeREPL”.


and if I use default “Python” to build, it’s nothing.

so, how can I solve it?

0 Likes

#2

You could try to use https://packagecontrol.io/packages/Virtualenv to interact with the external python’s virtualenv infrastructure. I personally havn’t tried to create PyQt apps yet, but I can’t see a reason why the python interpreter run by the build system should not handle that correctly.

0 Likes