Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #111918

Re: pyinstaller

From Larry Martell <larry.martell@gmail.com>
Newsgroups comp.lang.python
Subject Re: pyinstaller
Date 2016-07-26 21:15 -0400
Message-ID <mailman.2.1469582162.10276.python-list@python.org> (permalink)
References <CACwCsY55YoVJsWASguK-FZmxBm73sxcZOGpSpPVjQFYhf5MXYQ@mail.gmail.com> <CAB9fodbogwk-nROyRrx1yYKR3Rq__x1hrbuduj1o2AUGH2y6ig@mail.gmail.com> <CACwCsY5GGV_dqH_dfOWw5WZ0reu2d6bTHVeXAoZ7zRctQLzmog@mail.gmail.com>

Show all headers | View raw


On Tue, Jul 26, 2016 at 8:49 PM, Tom Brown <nextstate@gmail.com> wrote:
> I used pyinstaller quite a bit 3 years ago. I could brush off the cobwebs
> and see if I can help if you have not solved it already.
>
> What is the issue you are having?

If I import the requests module, then when I run the executable I get:

ImportError: No module named 'requests.packages.chardet'

I tried to post to the pyinstaller group, but it said my post had to
be approved by the moderator, and it apparently never was. I have no
idea who the moderator is, so there was no one I could contact about
that. I posted an issue to github
(https://github.com/pyinstaller/pyinstaller/issues/2060) and some
suggestions were made, but none fixed the problem. I am on RHEL 7.2
with Python 2.7.5, and it's reproducible, just by having a 1 line
script that has "import requests". Thanks for any help you could
provide.




>
> On Jun 21, 2016 16:57, "Larry Martell" <larry.martell@gmail.com> wrote:
>>
>> Anyone here have any experience with pyinstaller? I am trying to use
>> it, but I'm not having much success. I tried posting to the
>> pyinstaller ML but it said my post had to be approved first, and that
>> hasn't happened in a while. I'll post details if someone here thinks
>> they can help.
>> --
>> https://mail.python.org/mailman/listinfo/python-list

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: pyinstaller Larry Martell <larry.martell@gmail.com> - 2016-07-26 21:15 -0400
  Re: pyinstaller Christian Gollwitzer <auriocus@gmx.de> - 2016-07-27 08:23 +0200
    Re: pyinstaller Larry Martell <larry.martell@gmail.com> - 2016-07-27 07:25 -0400

csiph-web