You have a discrepancy between what you say is your import statement, and what you say you are adding to your PYTHONPATH.
If you are adding up to and including PysideTools to PYTHONPATH, then your import statement should not have include PysideTools in the namespace. Please confirm you exact import statement and your exact PYTHONPATH On Mon, 7 Dec 2015 8:21 PM Padraig Ó Cuínn <patchquinnanimat...@gmail.com> wrote: > Still no luck after changing the variables path > > Padraig > On Dec 6, 2015 10:58 PM, "Kurian O.S" <kuria...@gmail.com> wrote: > >> PysideCode.MyTool.qtshim is not != PysideCode.myTool.qtshim :) >> >> On Sun, Dec 6, 2015 at 10:46 PM, David Moulder <da...@thirstydevil.co.uk> >> wrote: >> >>> You're a folder to deep when setting the python path. Hope that helps. >>> >>> On Mon, 7 Dec 2015 06:40 Padraig Ó Cuínn <patchquinnanimat...@gmail.com> >>> wrote: >>> >>>> >>>> >>>> PysideCode >>>> myTool >>>> myToolUI >>>> __init__.py >>>> myToolUI.py >>>> MyToolCode >>>> __init__.py >>>> __init__.py >>>> qtshim.py >>>> mayautils.py >>>> __init__.py >>>> >>>> >>>> Hi everyone above is my current working directory, as you can see they >>>> all have their __init__.py files and can be easily accessed from code. >>>> So what is my problem.... well then... >>>> >>>> I cannot get to qtshim.py from mayapy.exe I am using fully qualified >>>> naming >>>> >>>> from PysideCode.myTool.qtshim import QtGui, QtCore, Signal <<< Yes >>>> from Robs Book :) >>>> >>>> importError : No module names PysideCode.MyTool.qtshim >>>> >>>> here is the weird part >>> script editor accepts it and so does >>>> Pycharm, >>>> >>>> PYTHONPATH = C:\Users\OCuinn\Dropbox\Maya Scripts\Python Code\PysideCode >>>> >>>> its in sys.path and in windows environment variables >>>> >>>> however > set PYTHONPATH=%PYTHONPATH%;C:\Users\OCuinn\Dropbox\Maya >>>> Scripts\Python Code\PysideCode goes through but comes out False when >>>> checked every time. >>>> >>>> >>>> EXPERTS I NEED YOUR HELP! >>>> >>>> Padraig >>>> >>>> -- >>>> 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/786e3fb5-4e3c-49f5-8ca1-52a4438825ea%40googlegroups.com >>>> <https://groups.google.com/d/msgid/python_inside_maya/786e3fb5-4e3c-49f5-8ca1-52a4438825ea%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+unsubscr...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/python_inside_maya/CABD4PkRqoHwKVKrcWQ34F1Lci%3DZgdui4tphUyD-RS_6W-HDntA%40mail.gmail.com >>> <https://groups.google.com/d/msgid/python_inside_maya/CABD4PkRqoHwKVKrcWQ34F1Lci%3DZgdui4tphUyD-RS_6W-HDntA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> --:: Kurian ::-- >> >> -- >> > 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/c40LWKxBb9k/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/CANEMyhPAFm4vcM-sNmw6DZm8fe6raq4uFnk%3DeVp1qSH3OetBbQ%40mail.gmail.com >> <https://groups.google.com/d/msgid/python_inside_maya/CANEMyhPAFm4vcM-sNmw6DZm8fe6raq4uFnk%3DeVp1qSH3OetBbQ%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/CALB%2BjCxORTp3%2BpfLi4%2BBpc0r%3DqDTxyx%2BX2QJCnPO5T6EikVUpg%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CALB%2BjCxORTp3%2BpfLi4%2BBpc0r%3DqDTxyx%2BX2QJCnPO5T6EikVUpg%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/CAPGFgA1UJ8cd1zrSCCftZLoN_tZai%2B-LnKzhGjAngQQenOgxpg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.