You are not logged in.
For my first steps in Python, I would like use Python3, with eric-ide and the Django framework.
I'd installed :
python-django 1.6.2-1
eric 5.4.0-1 (and pluginProjectDjango 3.3.2 (activate : yes ; autoactivate : yes))
python 3.3.3-1
The problem :
When I create a new project, I choose Python3 as programming language, but don't have «Django» in projects type list (it's ok with Python2).
Any idea ?
Last edited by Eniotan (2014-02-15 08:07:02)
Offline
No problem importing Django :
$python
Python 3.3.3 (default, Nov 26 2013, 13:33:18)
[GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import django
>>> Offline
eric-ide probably has no template for a Django project. You should be able to create an empty python project and use django there, though.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
@progandy :
I don't mind : in this case, why a «django project item» in the menu if I select Python2 ?
Offline
Maybe there is a difference between python2 and python3. or it just doesn't detect your python installation? Do you have ipython(2) installed?
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
No ipython installed.
I hope there is some archers having tried to work with this software environment...
Offline
I dissected the detection algorithm. It is a pretty dumb thing that does much and accomplishes almost nothing except providing errorprone code. It should work with a small patch:
sudo sed -i "s/\/python$/&3 /" /bin/django-admin3.py| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
It's ok with your patch!!! ![]()
Thanks !!!
Offline
Thank you progandy that helped me out.
Offline