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


Groups > comp.lang.python > #111918

Re: pyinstaller

Path csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From Larry Martell <larry.martell@gmail.com>
Newsgroups comp.lang.python
Subject Re: pyinstaller
Date Tue, 26 Jul 2016 21:15:14 -0400
Lines 33
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>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de mnxVb89esZQuFcsJ+BDqkgv76GCT5fpzI/tpztjBXgwg==
Return-Path <larry.martell@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'importerror:': 0.05; '21,': 0.07; 'executable': 0.07; 'tom': 0.07; 'cc:addr:python- list': 0.09; 'already.': 0.09; 'moderator': 0.09; 'url:github': 0.09; 'python': 0.10; "hasn't": 0.15; '2016': 0.16; 'made,': 0.16; 'pyinstaller': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'url:issues': 0.16; 'url:pyinstaller': 0.16; 'wrote:': 0.16; 'module,': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'first,': 0.20; 'posted': 0.21; 'trying': 0.22; 'bit': 0.23; 'help.': 0.23; 'tried': 0.24; 'import': 0.24; 'header:In-Reply- To:1': 0.24; 'requests': 0.25; 'module': 0.25; 'script': 0.25; 'message-id:@mail.gmail.com': 0.27; 'idea': 0.28; 'thinks': 0.29; "i'm": 0.30; 'that.': 0.30; 'url:mailman': 0.30; 'fixed': 0.31; 'post': 0.31; 'anyone': 0.32; 'posting': 0.32; 'run': 0.33; 'url:python': 0.33; "i'll": 0.33; 'url:listinfo': 0.34; "skip:' 20": 0.34; 'tue,': 0.34; 'received:google.com': 0.35; 'could': 0.35; 'happened': 0.35; 'quite': 0.35; 'problem.': 0.35; 'but': 0.36; 'there': 0.36; 'url:org': 0.36; 'success.': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'thanks': 0.37; 'someone': 0.38; 'url:mail': 0.40; 'some': 0.40; 'group,': 0.60; 'ago.': 0.61; 'details': 0.62; 'contact': 0.66; 'here': 0.66; '26,': 0.72; 'jul': 0.72; '7.2': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=uYUBD5UAZ4Jxmp8FnLJFnzZa+cBQ6ocf+oAZUYpP+5g=; b=aQ2BkRRF69vVb99J1u8X+vIP+9TsCeO0cjubdnAVoCRce4lG1GmQrRZfRROOv4iUVb vVa8VKzltqE63JtZkde4QGSZg0CiQzK2wVuDCBVirneJsEMo5y2FMwC0+DRhvPKLHk6F jz+Yamjn1gxNdFrOuwEgi0O86NGdTQPdpZLluhsyGN6XkYLk41Ag9DypdiC4m6jYbGf6 RTFyXM23MfU11oE9l3lweD6RNTQECXx4YWQWMrK6VApJRpewkR7MFZNdYyDGt82Ge6rw J65hOEPlucFdwafUBsnelFGbgGj9nL1n+aUzaNxqYtDIr1A4y7IGolFeoU68szp2+O1q bw9Q==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=uYUBD5UAZ4Jxmp8FnLJFnzZa+cBQ6ocf+oAZUYpP+5g=; b=WPmWpYB8PpOZWNetx/Ev6Xw997Pc0JETcqAZ6kObhIr57coQSIg1NHS9oDS2zNj7qJ ARI6byZ2zTlLQa6/zMYj0MBFuMkgeobDK980LK1PIx2zx5F5Hi2ESOf6ShFQ235HlGOm 8lfDBjC2NuyjyaWcy9lbUtRmf6gpprZ7sp0AS27W08/knptEQmo+iizOeyUR5Z4yWdXG oCb94r8q9ni1nu41A5KTUi1LG0/yM7PHajKPaRgKyLB4S/EnAbRTrrfGykW2BXRNbOR7 7UppHdqBdd2Ay1H0LbjT4+8zTa484t2hj8LFWhQR1apd4ZSD+VxjFUReHqx+7oua1JuP YEpA==
X-Gm-Message-State AEkooutps0dK+Ax4R9Xh9FLxBH07TP9Qcw/6hqb2JL+DURe3UB/55FNiDkkd2yFHIb+65ctMPE9cN+MzZaN8iw==
X-Received by 10.107.20.73 with SMTP id 70mr29849740iou.15.1469582154012; Tue, 26 Jul 2016 18:15:54 -0700 (PDT)
In-Reply-To <CAB9fodbogwk-nROyRrx1yYKR3Rq__x1hrbuduj1o2AUGH2y6ig@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <CACwCsY5GGV_dqH_dfOWw5WZ0reu2d6bTHVeXAoZ7zRctQLzmog@mail.gmail.com>
X-Mailman-Original-References <CACwCsY55YoVJsWASguK-FZmxBm73sxcZOGpSpPVjQFYhf5MXYQ@mail.gmail.com> <CAB9fodbogwk-nROyRrx1yYKR3Rq__x1hrbuduj1o2AUGH2y6ig@mail.gmail.com>
Xref csiph.com comp.lang.python:111918

Show key headers only | 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