[Ironpython-users] no module named urllib

Stéphane Lozier stephane.lozier at gmail.com
Fri Jul 15 13:00:17 EDT 2016


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" <laszlo.frank at gmail.com> wrote:

> 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 explicitly from code. This was quite a bad idea in
> my view, but this is another topic....)
>
> Based on your suggestion I think I will have to re-install a couple of
> packages with Ipy, as I only did it with Python and thought it is
> eventually the same.
>
> Touching the installation topic, I would like to ask one other thing. I
> already learnt I can't use lxml package from IronPython. Have you by any
> chance heard about any alternatives to it ?
>
> Thanks,
> Laszlo
>
> On Fri, Jul 15, 2016 at 4:02 PM, Langbehn, Thimo <t.langbehn at euroimmun.de>
> wrote:
>
>> 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-win
>> > C:\Python27\lib\lib-tk
>> > C:\Python27
>> > C:\Python27\lib\site-packages
>>
>> your ipy path includes the library from cpython (in C:\Python27).
>> Have you tried to remove those Elements, and install your module
>> (inkluding pkg_resources) in the IronPython Lib path?
>>
>> Cheers,
>>
>> Thimo
>>
>
>
> _______________________________________________
> Ironpython-users mailing list
> Ironpython-users at python.org
> https://mail.python.org/mailman/listinfo/ironpython-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20160715/b8a45f3b/attachment.html>


More information about the Ironpython-users mailing list