Hi Muhammad,
I did fresh install of 5.9 amd64 and tried to run it , it shows me this
error:
Traceback (most recent call last):
File "manage.py", line 9, in <module>
execute_from_command_line(sys.argv)
File
"/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 399, in execute_from_command_line
utility.execute()
File
"/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File
"/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 272, in fetch_command
klass = load_command_class(app_name, subcommand)
File
"/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 75, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/usr/local/lib/python2.7/site-packages/django/utils/importlib.py",
line 40, in import_module
__import__(name)
File
"/usr/local/lib/python2.7/site-packages/south/management/commands/__init__.py",
line 10, in <module>
import django.template.loaders.app_directories
File
"/usr/local/lib/python2.7/site-packages/django/template/loaders/app_directories.py",
line 25, in <module>
raise ImproperlyConfigured('ImportError %s: %s' % (app, e.args[0]))
django.core.exceptions.ImproperlyConfigured: ImportError djcelery: cannot
import name _uuid_generate_random
everything seems to work on 5.8 though.. only problem in 5.8 is getting
gunicorn to work with it
Thanks,
Jay
On Tue, Apr 19, 2016 at 5:17 PM, Muhammad Muntaza <[email protected]>
wrote:
>
> On Apr 16, 2016 11:45 AM, "Jay Patel" <[email protected]> wrote:
> >
> > Hi all,
> Hi,
> >
> > Greetings! is it better to install Django and gunicorn using pip or via
> > Pkg_add only like py-django ?
> I install Django from tar.gz source with this command:
> $ doas python setup.py install
>
> Because I want to use python 2 and Django 1.8
> >
> > because i am having some trouble with gunicorn installed via pip.
> >
> > I am using 5.8 amd64 bit .
> >
> Upgrade to 5.9
>
> Muhammad Muntaza bin Hatta