From: Ed Bartosh <ed.bartosh@linux.intel.com>
To: Michael Habibi <mikehabibi@gmail.com>
Cc: Yocto <yocto@yoctoproject.org>
Subject: Re: Trying to run toaster off master, running into issues w/ django
Date: Wed, 24 Aug 2016 13:51:26 +0300 [thread overview]
Message-ID: <20160824105126.GA17259@linux.intel.com> (raw)
In-Reply-To: <CAOsp8o8jNrRhcYp=vWAve+v+s1Mi2ApQD1zmVot-iD+0uVnbjg@mail.gmail.com>
On Tue, Aug 23, 2016 at 04:49:42PM -0500, Michael Habibi wrote:
> I am running the master branch and trying to run toaster to play
> around with the web interface (already successfully completed a build
> w/o toaster setup).
>
> I followed the instructions in the documentation. I created a
> virtualenv, sourced/activated my virtualenv, and while under venv I
> did a pip install. It believes Django is installed, but I cannot run
> toaster. See below:
>
> (venv)habibim@bvm-poc8:/projects/yocto-git/build$ pip install -r
> /projects/yocto-git/bitbake/toaster-requirements.txt
> Requirement already satisfied (use --upgrade to upgrade):
> Django>1.8,<1.9 in /home/habibim/venv/lib/python2.7/site-packages
> (from -r /projects/yocto-git/bitbake/toaster-requirements.txt (line
> 1))
> Requirement already satisfied (use --upgrade to upgrade):
> beautifulsoup4>=4.4.0 in
> /home/habibim/venv/lib/python2.7/site-packages (from -r
> /projects/yocto-git/bitbake/toaster-requirements.txt (line 2))
> Requirement already satisfied (use --upgrade to upgrade): pytz in
> /home/habibim/venv/lib/python2.7/site-packages (from -r
> /projects/yocto-git/bitbake/toaster-requirements.txt (line 3))
> Cleaning up...
> (venv)habibim@bvm-poc8:/projects/yocto-git/build$ python --version
> Python 2.7.6
>
> ...
>
>
> (venv)habibim@bvm-poc8:/projects/yocto-git$ source oe-init-build-env
>
> ### Shell environment set up for builds. ###
>
> You can now run 'bitbake <target>'
>
> Common targets are:
> core-image-minimal
> core-image-sato
> meta-toolchain
> meta-ide-support
>
> You can also run generated qemu images with a command like 'runqemu qemux86'
> (venv)habibim@bvm-poc8:/projects/yocto-git/build$ source ../bitbake/bin/toaster
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: No module named 'django'
> This program needs Django>1.8,<1.9
> Please install with pip install -r
> /projects/yocto-git/bitbake/toaster-requirements.txt
>
> Am I going insane? I did some google-fu and people recommended
> cleaning up manage.py, but those changes did not seem to affect this
> outcome.
Looks like python3 issue to me. You should install requirements with
pip3 for python3 to be able to import them.
You probably used old setup instructions. Please, read the latest manual here:
http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html#toaster-manual-setup-and-use
Regards,
Ed
next prev parent reply other threads:[~2016-08-24 10:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-23 21:49 Trying to run toaster off master, running into issues w/ django Michael Habibi
2016-08-24 10:51 ` Ed Bartosh [this message]
2016-08-24 13:51 ` Michael Habibi
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=20160824105126.GA17259@linux.intel.com \
--to=ed.bartosh@linux.intel.com \
--cc=mikehabibi@gmail.com \
--cc=yocto@yoctoproject.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.