Thanks for the tips Justin. I un-installed and reinstalled the package along with Python itself and all is well now. PyCharm is an excellent IDE but has some odd functionality sometimes.
Thanks again - Ben On 11 March 2015 at 19:35, Justin Israel <[email protected]> wrote: > Like other IDEs, it comes down to the PYTHONPATH configuration for your > project. I assume that while it is properly found when you launch your app, > your actual IDE isnt aware of the correct location in order to introspect > the package. > I'm not sure if windows needs extra PATH settings or not, but on linux/osx > it would only require a properly configured PYTHONPATH > > On Thu, 12 Mar 2015 4:56 AM Benjam901 <[email protected]> wrote: > >> Hello all, >> >> PyCharm has thrown me another curve ball. I cannot seem to correctly >> import lxml.etree and am given an unresolved reference. >> >> from lxml import etree as ET >> >> the annoying thing is that the application runs totally fine and I can >> see that etree.pyd is there but I cannot access the methods inside of etree >> >> Has anyone ever had an issue like this with their python IDE? Pycharm or >> otherwise? >> >> Cheers, >> >> Ben >> >> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/d969bf0d-1e82-4547-a2fc-34814d889c7e%40googlegroups.com >> <https://groups.google.com/d/msgid/python_inside_maya/d969bf0d-1e82-4547-a2fc-34814d889c7e%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 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/fm-9KjOmXyA/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0FdaGfcM6UJmD7yhoSOasdYZuOg3_7tyeZngxzDZF2cg%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0FdaGfcM6UJmD7yhoSOasdYZuOg3_7tyeZngxzDZF2cg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Tel - +46 76245 92 90 (Sweden) LinkedIn: http://www.linkedin.com/pub/ben-hearn/50/a64/33b -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAM2ybkXfmjq-G%2BugCm%2Bm0PMv0VAHkaMeWdgjKQF6-D7FMqvRJQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
