All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 7971] New: python-flask, python-flask. No module named zlib
Date: Tue, 24 Mar 2015 20:43:41 +0000 (UTC)	[thread overview]
Message-ID: <bug-7971-163@https.bugs.busybox.net/> (raw)

https://bugs.busybox.net/show_bug.cgi?id=7971

           Summary: python-flask, python-flask. No module named zlib
           Product: buildroot
           Version: 2015.02
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: nikita_23k at mail.ru
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Target: raspberry pi 1
Host: Linux Mint 17.1

I'm trying to run a web-server using python-flask. A similar problem with
http://git.buildroot.net/buildroot/commit/?id=82e23f15a11c2cd66d0f6c6397906663c9c9e1d7

My steps:
1. cd /home/n1/test
2. download buildroot
3. cd buildroot
4. make nconfig # add nano, python (2.*), python-flask (zlib added auto)
,wchar, etc (for rpi)
6. make
7. upload to sd card

When I run the project (python-flask) on rpi:

from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
  return "Hello World!"
  app.run()

I get an error:
 traceback (most recent call last):
   File "test.py", line 1 in, in <module>
     from flask import Flask
      File
"home/n1/test/buildroot/output/target/usr/lib/python2.7/site-packeges/flask/__init__.py,
line 17, in <module>
      File
"home/n1/test/buildroot/output/target/usr/lib/python2.7/site-packeges/werkzeug/__init__.py,
line 154, in <module>
...
   ImportError: No module named zlib

I tried to compile with the help of https://github.com/gamaral/rpi-buildroot ,
but got the same error. My bug report:
https://github.com/gamaral/rpi-buildroot/issues/34

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

             reply	other threads:[~2015-03-24 20:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-24 20:43 bugzilla at busybox.net [this message]
2015-03-24 20:47 ` [Buildroot] [Bug 7971] python-flask, python-flask. No module named zlib bugzilla at busybox.net
2015-03-24 20:48 ` [Buildroot] [Bug 7971] python-flask, python-werkzeug. " bugzilla at busybox.net
2015-04-10 21:16 ` bugzilla at busybox.net
2015-04-19 12:53 ` bugzilla at busybox.net
2015-04-19 12:54 ` bugzilla at busybox.net
2015-04-20 22:00 ` bugzilla at busybox.net
2015-06-03  1:09 ` bugzilla at busybox.net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-7971-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.