Hi László,
> I get the same error with the import statement "from six.moves import urllib"
> Well, I can import six, but not urllib through six.
there is a difference here. The above statement tries to import urllib from the
normal six module, which does not contain such a module.
The module your program wants ist pkg_resources.extern.six.moves.urllib
Therefore, in ipy you should do:
import pkg_resources.extern.six.moves.urllib
However, for this to work, your site-packages must be in the IronPython search
path. Do not just set the search path to the same as Python2.7, the core
packages do differ.
Could you, in ipy, do:
import sys
print(sys.path)
import pkg_resources.extern.six.moves.urllib
and provide the results?
Cheers,
Thimo
P.S: please keep the mails on the list.
_______________________________________________
Ironpython-users mailing list
[email protected]
https://mail.python.org/mailman/listinfo/ironpython-users