<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello List, <br>
</p>
<p>this is yet another try to get working geonode installation. I
guess mz fifth attempt... <br>
</p>
<p>I followed this instruction but on a linux 18.04 host:<a
moz-do-not-send="true"
href="http://docs.geonode.org/en/latest/tutorials/install_and_admin/geonode_install/create_geonode_db.html">
http://docs.geonode.org/en/latest/tutorials/install_and_admin/geonode_install/create_geonode_db.html</a></p>
<p>when it comes to "paver setup" it first didn't find paver but an
apt-get install python-paver corrected this.</p>
<p>Now I want to succeed "paver setup". My virtualEnv
"virtenv_geonode" is active but it says:</p>
<p><tt>(virtenv_geonode)
user@geoportal:/home/geonodeuser/geonode_project$ paver setup</tt><tt><br>
</tt><tt>Traceback (most recent call last):</tt><tt><br>
</tt><tt> File "/usr/bin/paver", line 5, in <module></tt><tt><br>
</tt><tt> main()</tt><tt><br>
</tt><tt> File "/usr/lib/python2.7/dist-packages/paver/tasks.py",
line 883, in main</tt><tt><br>
</tt><tt> _launch_pavement(args)</tt><tt><br>
</tt><tt> File "/usr/lib/python2.7/dist-packages/paver/tasks.py",
line 851, in _launch_pavement</tt><tt><br>
</tt><tt> exec(compile(source, environment.pavement_file,
'exec'), mod.__dict__)</tt><tt><br>
</tt><tt> File "pavement.py", line 21, in <module></tt><tt><br>
</tt><tt> import django</tt><tt><br>
</tt><tt>ImportError: No module named django</tt><br>
</p>
<p>Django not installed? Let's try to install:</p>
<p><tt>(virtenv_geonode)
user@geoportal:/home/geonodeuser/geonode_project$ pip install
django</tt><tt><br>
</tt><tt>DEPRECATION: Python 2.7 will reach the end of its life on
January 1st, 2020. Please upgrade your Python as Python 2.7
won't be maintained after that date. A future version of pip
will drop support for Python 2.7.</tt><tt><br>
</tt><tt>Requirement already satisfied: django in <b>/home/user/Envs/virtenv_geonode/lib/python2.7/site-packages</b>
(1.11.20)</tt><tt><br>
</tt><tt>Requirement already satisfied: pytz in
/home/user/Envs/virtenv_geonode/lib/python2.7/site-packages
(from django) (2019.1)</tt><br>
</p>
<p>How surprising, Django is there! Lets check the python path:</p>
<p><tt>(virtenv_geonode)
user@geoportal:/home/geonodeuser/geonode_project$ python</tt><tt><br>
</tt><tt>Python 2.7.15rc1 (default, Nov 12 2018, 14:31:15) </tt><tt><br>
</tt><tt>[GCC 7.3.0] on linux2</tt><tt><br>
</tt><tt>Type "help", "copyright", "credits" or "license" for more
information.</tt><tt><br>
</tt><tt>>>> import sys</tt><tt><br>
</tt><tt>>>> sys.path</tt><tt><br>
</tt><tt>['', '/home/user/Envs/virtenv_geonode/lib/python2.7',
'/home/user/Envs/virtenv_geonode/lib/python2.7/plat-x86_64-linux-gnu',
'/home/user/Envs/virtenv_geonode/lib/python2.7/lib-tk',
'/home/user/Envs/virtenv_geonode/lib/python2.7/lib-old',
'/home/user/Envs/virtenv_geonode/lib/python2.7/lib-dynload',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/home/user/Envs/virtenv_geonode/local/lib/python2.7/site-packages',
'<b>/home/user/Envs/virtenv_geonode/lib/python2.7/site-packages</b>']</tt><tt><br>
</tt></p>
<p>Oh, well, django is in <tt>"/home/user/Envs/virtenv_geonode/lib/python2.7/site-packages"
and the last element of the python path is "</tt><tt><tt>/home/user/Envs/virtenv_geonode/lib/python2.7/site-packages"</tt></tt></p>
<p>Well, as I noted before, I have no experience with python at all
but this software really drives my crazy.</p>
<p>Does anyone have a clue?</p>
<p>Thank you very much,</p>
<p>Michael<br>
</p>
<p><br>
</p>
<br>
</body>
</html>