Discussion:
[Maya-Python] Pyside in Sublime Text 3
kiteh
2018-09-08 04:44:49 UTC
Permalink
Hello,

I am currently using Sublime Text 3. Managed to get the 'python' module
working by installing in the latest 3.7.0 but I have issues getting PySide
module to work.

I chanced upon 'Pyside' under the Package Control, installed it with no
issues.
However as soon as I tried to import in as a module 'from PySide import
QtGui' I keep getting the error that no PySide found.

Am I missing something here?

Am trying to create PyQt Gui creation to do some testings/ learning.. Using
windows 10, python 3.7..
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/d800b6a9-5373-49f6-8236-4281c8e55ba3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Justin Israel
2018-09-08 04:56:15 UTC
Permalink
If you are going to use Python 3 then you probably want to use PySide2/Qt5
https://stackoverflow.com/q/47362751/496445

In your sublime python setting or your per-project settings, you have to
make sure your pythonpath is set correctly. If you are installing packages
to your system python location, then you will probably already be picking
them up correctly simply by pointing at that python executable in your
Sublime settings.

Justin
Post by kiteh
Hello,
I am currently using Sublime Text 3. Managed to get the 'python' module
working by installing in the latest 3.7.0 but I have issues getting PySide
module to work.
I chanced upon 'Pyside' under the Package Control, installed it with no
issues.
However as soon as I tried to import in as a module 'from PySide import
QtGui' I keep getting the error that no PySide found.
Am I missing something here?
Am trying to create PyQt Gui creation to do some testings/ learning..
Using windows 10, python 3.7..
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/d800b6a9-5373-49f6-8236-4281c8e55ba3%40googlegroups.com
<https://groups.google.com/d/msgid/python_inside_maya/d800b6a9-5373-49f6-8236-4281c8e55ba3%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA05kJAvE49KN6s60PWRL01bL11CjVt-xOwFYGsN3r%3DnYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Marcus Ottosson
2018-09-08 08:46:14 UTC
Permalink
I chanced upon ‘Pyside’ under the Package Control, installed it with no
issues.

This doesn’t actually install PySide, but rather “support” for PySide. That
is, hotkeys and conversion tools.

- https://github.com/DamnWidget/SublimePySide

You’d need to install PySide for the version of Python you use with
Sublime, if that’s 3.7 then you’re probably limited to PySide2 or PyQt5, as
I don’t think there is a PySide(1) for it.

$ c:\python37\python.exe -m pip install PySide2

And then configure your Sublime Text to call on that version of Python when
you run.
Post by Justin Israel
If you are going to use Python 3 then you probably want to use PySide2/Qt5
https://stackoverflow.com/q/47362751/496445
In your sublime python setting or your per-project settings, you have to
make sure your pythonpath is set correctly. If you are installing packages
to your system python location, then you will probably already be picking
them up correctly simply by pointing at that python executable in your
Sublime settings.
Justin
Post by kiteh
Hello,
I am currently using Sublime Text 3. Managed to get the 'python' module
working by installing in the latest 3.7.0 but I have issues getting PySide
module to work.
I chanced upon 'Pyside' under the Package Control, installed it with no
issues.
However as soon as I tried to import in as a module 'from PySide import
QtGui' I keep getting the error that no PySide found.
Am I missing something here?
Am trying to create PyQt Gui creation to do some testings/ learning..
Using windows 10, python 3.7..
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/d800b6a9-5373-49f6-8236-4281c8e55ba3%40googlegroups.com
<https://groups.google.com/d/msgid/python_inside_maya/d800b6a9-5373-49f6-8236-4281c8e55ba3%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA05kJAvE49KN6s60PWRL01bL11CjVt-xOwFYGsN3r%3DnYg%40mail.gmail.com
<https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA05kJAvE49KN6s60PWRL01bL11CjVt-xOwFYGsN3r%3DnYg%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOCPc%3DrrA66Un607VbZEq3kryLUvZKksBDMMMfKd3Z1kkw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
kiteh
2018-09-08 19:57:53 UTC
Permalink
Hi Justin,

Noted on that, as you have mentioned, I have installed PyQt and currently both modules are working for me.

Trying to get myself famarilize with PyQt :D


Hi Marcus,

Thanks for the info. Had thought that installing that PySide I saw equates to installing the actual PySide itself.

It seems that getting PySide to install in Windows 10 is tricky, based on what I have read online.. But even so, I have just got PyQt installed Nd working, guess I will stick to that and learn it.


Thank you all!
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/5e3c9079-1e68-4ff1-af61-a987348634fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...