[p2pu-dev] l10n in settings.py, working pip freeze?
Lucas Vickers
lucasvickers at gmail.com
Mon Jan 30 15:38:37 UTC 2012
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.
thanks!
Traceback (most recent call last):
File
"/home/django/.virtualenvs/lernanta/lib/python2.7/site-packages/django/core/handlers/wsgi.py",
line 250, in __call__
self.load_middleware()
File
"/home/django/.virtualenvs/lernanta/lib/python2.7/site-packages/django/core/handlers/base.py",
line 45, in load_middleware
mod = import_module(mw_module)
File
"/home/django/.virtualenvs/lernanta/lib/python2.7/site-packages/django/utils/importlib.py",
line 35, in import_module
__import__(name)
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
<module>
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
<module>
__import__("FixTk")
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)
MemoryError
On Fri, Jan 27, 2012 at 3:42 AM, Lucas Vickers <lucasvickers at gmail.com>wrote:
> Appears that I need to explicitlly tell the new virtualenvwrapper to use
> global packages.
>
> also yes looks like the local l10n. Thank you both!
>
> Lucas
>
>
> 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
>> https://github.com/p2pu/lernanta/blob/master/lernanta/apps/l10n/locales.py
>> ?
>>
>> my pip freeze: http://pastie.org/3240007
>>
>> --
>> Thanks,
>> Zuzel
>>
>> On Sun, Jan 22, 2012 at 11:27 PM, Lucas Vickers <lucasvickers at gmail.com>
>> wrote:
>> > 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
>> http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p2pu.org/pipermail/p2pu-dev/attachments/20120130/e081c47d/attachment.html>
More information about the p2pu-dev
mailing list