Re: AttributeError: 'module' object has no attribute 'lru_cache' with python 3.6.4 and Django 2.0.2

2018-02-14 Thread PASCUAL Eric
Maybe it works like this in Windows (I don't know since having left this world since long now), but Greng mentioned a Debian environment inside his Docker container. Hence my remark. By the way you mentioned "DLLs". Geng's trouble seems to be related to Python packages finding, not binary

RE: AttributeError: 'module' object has no attribute 'lru_cache' with python 3.6.4 and Django 2.0.2

2018-02-14 Thread Matthew Pava
I’m not familiar with Docker, but I did have to add the path to Python 3.6 DLLs in my WSGI configuration in my Apache configuration file. WSGIPythonPath ${project_path};${virtualenv};C:/Python36/DLLs; From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of

Re: AttributeError: 'module' object has no attribute 'lru_cache' with python 3.6.4 and Django 2.0.2

2018-02-14 Thread PASCUAL Eric
Hi, Normally you shouldn't have to add site-packages in the PYTHONPATH since it is supposed to be already. If not, packages installed via "sudo pip install" would not be found. I've packaged a lot of applications in Docker containers, and never had to modify PYTHONPATH. Your problem is

AttributeError: 'module' object has no attribute 'lru_cache' with python 3.6.4 and Django 2.0.2

2018-02-14 Thread Greng Fortezza
Hi, I'm trying to set up the following configuration in Docker python: 3.6.4 Django: 2.0.2 Apache/2.4.10 (Debian) First, I was getting the error ImportError: No module named django.core.wsgi Then I added Django to PYTHONPATH export PYTHONPATH="/usr/local/lib/python3.6/site-packages" the