Re: [Ironpython-users] no module named urllib

2016-07-15 Thread Stéphane Lozier
This may be a silly question, but are you running your code with frames (or maybe full frames) enabled? I seem to remember the six module requiring this... On Jul 15, 2016 10:54 AM, "László Frank" wrote: > First off, many thanks for your continuous help Thimo. > > And actually not, I did not tr

Re: [Ironpython-users] no module named urllib

2016-07-15 Thread László Frank
First off, many thanks for your continuous help Thimo. And actually not, I did not try it that way. Honestly, this whole Python environment & search path stuff is very confusing for me. (I am still wondering why the file system hierarchy was chosen as a namespace in Python instead of declaring it

Re: [Ironpython-users] IronRuby

2016-07-15 Thread Ale Miralles
As far as ironruby's website can tell, long time indeed ;) (Last release was May 13 , 2011!). Anyways, I been working with the DLR back in the days when it was about to merge with linq expressions trees, and learn a lot from that project. Nowadays, as part of my date time job, I work on a compiler

Re: [Ironpython-users] no module named urllib

2016-07-15 Thread Langbehn, Thimo
Hi László, > here is the output from ipy: > ... > . > C:\Program Files (x86)\IronPython 2.7\Lib > C:\Program Files (x86)\IronPython 2.7\DLLs > C:\Program Files (x86)\IronPython 2.7 > C:\Program Files (x86)\IronPython 2.7\lib\site-packages > C:\Python27\DLLs > C:\Python27\lib > C:\Python27\lib\plat

Re: [Ironpython-users] no module named urllib

2016-07-15 Thread László Frank
here is the output from ipy: >>> for s in sys.path:print s ... . C:\Program Files (x86)\IronPython 2.7\Lib C:\Program Files (x86)\IronPython 2.7\DLLs C:\Program Files (x86)\IronPython 2.7 C:\Program Files (x86)\IronPython 2.7\lib\site-packages C:\Python27\DLLs C:\Python27\lib C:\Python27\lib\plat-

Re: [Ironpython-users] no module named urllib

2016-07-15 Thread Langbehn, Thimo
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 y

Re: [Ironpython-users] no module named urllib

2016-07-15 Thread Langbehn, Thimo
> six calls "from pkg_resources.extern.six.moves import urllib, map, filter" Sorry, i just saw that your package uses a customized six package. Ist the location oft hat library in the module search path? Cheers, Thimo ___ Ironpython-users mailing list

Re: [Ironpython-users] no module named urllib

2016-07-15 Thread Langbehn, Thimo
Dear László, > six calls "from pkg_resources.extern.six.moves import urllib, map, filter" > I get the same error with the import statement "from six.moves import urllib" As you determined, this is not caused by the std-lib modules. Do you have the „six“ package installed? Since you already inst

Re: [Ironpython-users] no module named urllib

2016-07-15 Thread László Frank
Thanks Thimo for the quick answer. Search path is set correctly and if I enter "import urllib" if works just fine, no problem. But Cisco YDK-Py is a comprehensive package written to support both Py2 and Py3 syntax and as a result it uses the six package. In turn, six calls "from pkg_resources.ext