using virtualenv (actually even using standard packages from apt) I can't manage to load modules.
I'm on flask, when I try to execute the basic 'hello.py' example[1]:
- Code: Select all
root@raspberrypi:~# python hello.py
Traceback (most recent call last):
File "hello.py", line 1, in <module>
from flask import Flask
File "/root/flask.py", line 1, in <module>
ImportError: cannot import name Flask
BTW: It seems that I can't even install Django in a virtualenv:
- Code: Select all
(env)root@raspberrypi:~# easy_install django
Searching for django
Reading http://pypi.python.org/simple/django/
Reading http://www.djangoproject.com/
Best match: Django 1.4
Downloading https://www.djangoproject.com/m/releases/1.4/Django-1.4.tar.gz
Processing Django-1.4.tar.gz
error: No space left on device
[hint='I do have space!']
1. http://flask.pocoo.org/