Hi Justin I did like you mention above but end up with same result, no sipconfig package is found. Also the PyQt5-sip has already inside PyQt5, i can import sip after pull the PyQt5 packaged.
I just found this article https://riverbankcomputing.com/pipermail/pyqt/2016-July/037729.html It said that : sipconfig.py is deprecated and does not support PyQt5 Maybe this is the reason? On Thu, Apr 4, 2019 at 10:55 AM Justin Israel <justinisr...@gmail.com> wrote: > > > On Thu, Apr 4, 2019 at 3:55 PM Tuan Nguyen <cb.illun...@gmail.com> wrote: > >> Here is what i have done so far : >> - Install python3.5 x64 win7 >> - Install sip : pip3 install sip >> > > I think this is your issue. 'sip' is the older PyQt4 package. If you look > at the link I showed you earlier, the PyQt5 variation is called "PyQt5-sip". > Also, apparently the preferred newer way to use pip is to call it through > the python interpreter: > > python3 -m pip install PyQt5-sip > > This approach would ensure that you aren't accidentally using a 'pip' > command that is built around some unexpected version of python. > > > Install was success, i able to import sip using python, however it raise >> error when import sipconfig : "ImportError : No module named sipconfig" >> - I also install PyQt5 : pip3 install PyQt5 >> >> >> >> On Thu, Apr 4, 2019 at 2:22 AM Justin Israel <justinisr...@gmail.com> >> wrote: >> >>> >>> >>> On Thu, Apr 4, 2019, 7:55 AM <em.lu...@gmail.com> wrote: >>> >>>> Hi Justin >>>> I installed Python 3.4, and use Pip to get PyQt5 and sip(Same package >>>> as you mention above) for convert a C++ Widget into PyQt's. I follow the >>>> guide in the link, but when i tried to run the first line python >>>> confingure.py, it told me the sipconfig's package is missing. >>>> >>>> I'm not sure what is this package is, or how to get it. Or if you have >>>> any guide to convert a QT's widget to Pyqt, it would be awesome >>>> >>> >>> It's not really a problem with a Qt5 to PyQt tutorial. It's an issue >>> with finding sip in your Python3 PYTHONPATH. I would recommend simplifying >>> your approach and finding out why your installed sip isn't found. Run the >>> python3 interpreter from the command line and try to import sip and >>> sipconfig. Check your PYTHONPATH and make sure it's in the right place. >>> Maybe you accidentally used a python2 pip. Post your install commands here >>> if you want someone to check. >>> >>> >>>> >>>> -- >>>> 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+unsubscr...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/python_inside_maya/22be878b-24e6-428a-91ee-ca79ac2c7122%40googlegroups.com >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "Python Programming for Autodesk Maya" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/python_inside_maya/gL-A68ivfbg/unsubscribe >>> . >>> To unsubscribe from this group and all its topics, send an email to >>> python_inside_maya+unsubscr...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1HffVyvDNU_OaKgMHg6TmRQn8jppFoGw6CskFj6qM8Bw%40mail.gmail.com >>> <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1HffVyvDNU_OaKgMHg6TmRQn8jppFoGw6CskFj6qM8Bw%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+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/CAMCvD%2BF3TYAPpy3HUiNfUkoU%2B%3DeYb0vD2cBbt3-Z3W857DWWHQ%40mail.gmail.com >> <https://groups.google.com/d/msgid/python_inside_maya/CAMCvD%2BF3TYAPpy3HUiNfUkoU%2B%3DeYb0vD2cBbt3-Z3W857DWWHQ%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 a topic in the > Google Groups "Python Programming for Autodesk Maya" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/python_inside_maya/gL-A68ivfbg/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > python_inside_maya+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1X1hSaqvm%3DSfHWFSj5Mr06zhaoo%3DziGd1%2BsJS5ke7NyQ%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1X1hSaqvm%3DSfHWFSj5Mr06zhaoo%3DziGd1%2BsJS5ke7NyQ%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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAMCvD%2BE32KcADYR_E6YJduoeJti7K%3Dpc-sJj3ND8sk_nj%3DR%3DTQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.