All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Garren, Chris D." <cdgarren@indesign-llc.com>
To: "openembedded-devel@lists.openembedded.org"
	<openembedded-devel@lists.openembedded.org>
Subject: [meta-python] Flask Dependency - "No module name pkg_resources"
Date: Fri, 2 Nov 2018 13:58:53 +0000	[thread overview]
Message-ID: <00a09c46438840ad854cb430ed3be71a@indesign-llc.com> (raw)

I'm working on creating an example application using python flask. However, I'm running into an error when I actually try to run flask:

root@imx6ul-var-dart:~# flask
Traceback (most recent call last):
  File "/usr/bin/flask", line 6, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

I was able to fix it by adding ${PYTHON_PN}-distribute to the RDEPENDS_${PN} in python-flask.inc, but I'm wondering if I'm missing something that required me to do so.

Any help is appreciated.

Thanks,

Chris Garren



                 reply	other threads:[~2018-11-02 14:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=00a09c46438840ad854cb430ed3be71a@indesign-llc.com \
    --to=cdgarren@indesign-llc.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /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.