I'm running mod-wsgi and I've got the following config in my Virtualhost in my apache site config:
SetEnv F3_SECRET_KEY Very_secret_keySetEnv DJANGO_SETTINGS_MODULE config.settings.setttings WSGIScriptAlias / /var/django/path/to/my/app/config/wsgi.py WSGIDaemonProcess wsgiprocess python-path=/usr/lib/python3.4:/var/django/path/to/my/code:/var/django/path/to/venv/lib/python3.4/site-packagesWSGIProcessGroup wsgiprocess The issue comes when I try to visit the site. I get the error: [Thu Apr 07 23:50:22.049822 2016] [:error] [pid 22397:tid 3051346752] [remote 127.0.0.1:17079] File "/usr/lib/python3.4/datetime.py", line 611, in <module> [Thu Apr 07 23:50:22.050611 2016] [:error] [pid 22397:tid 3051346752] [remote 127.0.0.1:17079] timedelta.min = timedelta(-999999999) [Thu Apr 07 23:50:22.050658 2016] [:error] [pid 22397:tid 3051346752] [remote 127.0.0.1:17079] TypeError: this constructor takes no arguments Clearly this is a path issue since datetime is a core library, but I can't figure it out. If anyone can see what's wrong then I'd appreciate the help. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANOQRbwGWtE7JBeGfoqAmte%3DWaZePSAjvMcUuo1v%3DiXm8dhT2w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.