[p2pu-dev] l10n in settings.py, working pip freeze?
zuzel.vp at gmail.com
Mon Jan 30 20:26:37 UTC 2012
First time seeing that error with with the Image module but there
seams to be some threads in google talking about it:
On Mon, Jan 30, 2012 at 10:38 AM, Lucas Vickers <lucasvickers at gmail.com> wrote:
> Hey guys,
> Got this all to work except I get a memory error dealing with Image. Please
> take a look at the trace below and let me know if anyone has any ideas.
> In the virtualenv if I type "python" "import Image", I do not get an error.
> Traceback (most recent call last):
> line 250, in __call__
> line 45, in load_middleware
> mod = import_module(mw_module)
> line 35, in import_module
> File "/home/django/lernanta/lernanta/apps/users/middleware.py", line 4,
> in <module>
> from users.models import UserProfile
> File "/home/django/lernanta/lernanta/apps/users/models.py", line 22, in
> from drumbeat import storage
> File "/home/django/lernanta/lernanta/apps/drumbeat/storage.py", line 2,
> in <module>
> import Image
> File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 45, in
> File "/usr/lib/python2.7/lib-tk/FixTk.py", line 15, in <module>
> import ctypes
> File "/usr/lib/python2.7/ctypes/__init__.py", line 549, in <module>
> CFUNCTYPE(c_int)(lambda: None)
> On Fri, Jan 27, 2012 at 3:42 AM, Lucas Vickers <lucasvickers at gmail.com>
>> Appears that I need to explicitlly tell the new virtualenvwrapper to use
>> global packages.
>> also yes looks like the local l10n. Thank you both!
>> On Mon, Jan 23, 2012 at 6:00 PM, zuzel.vp <zuzel.vp at gmail.com> wrote:
>>> Image is installed by running:
>>> sudo apt-get install python-imaging
>>> If it is installed in your system but the virtual env is ignoring
>>> site-packages maybe you created the virtual env with the
>>> --no-site-packages option: http://pastie.org/3239991?
>>> l10n.locals or
>>> my pip freeze: http://pastie.org/3240007
>>> On Sun, Jan 22, 2012 at 11:27 PM, Lucas Vickers <lucasvickers at gmail.com>
>>> > Hello,
>>> > I couldn't find a searchable mailing list history so I apologize for
>>> > potential repeat question.
>>> > I am currently unable to find the package Image. There are too many
>>> > options
>>> > for me to guess
>>> > File "/home/django/lernanta/lernanta/apps/drumbeat/storage.py", line
>>> > 2, in
>>> > <module>
>>> > import Image
>>> > ImportError: No module named Image
>>> > I am also unable to find l10n.locals and had no luck guessing the
>>> > package.
>>> > I am on ubuntu and followed the
>>> > instructions https://github.com/p2pu/lernanta/wiki/Lernanta%27s-Setup-Install,
>>> > which brings me to the question -- does anyone have a functional pip
>>> > freeze
>>> > file they could send my way to save me from tracking down each and
>>> > every
>>> > package?
>>> > thanks!
>>> > Lucas
>>> > _______________________________________________
>>> > p2pu-dev mailing list
>>> > p2pu-dev at lists.p2pu.org
>>> > http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>>> p2pu-dev mailing list
>>> p2pu-dev at lists.p2pu.org
> p2pu-dev mailing list
> p2pu-dev at lists.p2pu.org
More information about the p2pu-dev