[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] pkg_resources error....
From: Ilya Kulakov <kulakov.ilya () gmail ! com>
Date: 2015-11-16 18:22:20
Message-ID: B50DDEE1-45F0-41D2-972B-F1602722BE82 () gmail ! com
[Download RAW message or body]
Indeed it is a missing optional method. Normally it should not lead to errors, but in \
reality since built in modules provide it, developers just relay on its presence. I'd \
try to update both pkg_resources and pytz first. If it won't help, it'd worth to \
study sources of pytz and, if the error is there, report to its developers.
Meanwhile, it should be possible to implement them for pyqtdeploy. I already \
implemented some of them in my fork. I believe I sent a patch, but if not, it should \
be easy to extract it from there.
Best Regards
Ilya Kulakov
> On 16 нояб. 2015 г., at 10:20, lloyd konneker <bootch@nc.rr.com> wrote:
>
> You should probably wait for an answer from Ilya, but here is an educated guess:
>
> pyqtdeploy implements a ‘loader', that loads packages anytime an import statement \
> is executed by the Python interpreter, from the special place/encoding that \
> pyqtdeploy has bundled all the packages that your app uses.
> You can search for ‘PEP302' and within that document search for ‘get_data'. \
> Basically it says that method is optional, and from what Ilya said, pyqtdeploy's \
> implementation of the loader API did not implement that optional method. You could \
> look for that method definition in the source for pyqtdeploy's implementation, \
> since it is all open source.
> I can't speak to why in your particular circumstances the get_data method is \
> needed.
> Again, I could be wrong.
> _______________________________________________
> PyQt mailing list PyQt@riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic