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 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/CAPGFgA0FdaGfcM6UJmD7yhoSOasdYZuOg3_7tyeZngxzDZF2cg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
