Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python 3 on RHEL7 #2

Open
gardart opened this issue Aug 24, 2018 · 0 comments
Open

python 3 on RHEL7 #2

gardart opened this issue Aug 24, 2018 · 0 comments

Comments

@gardart
Copy link
Owner

gardart commented Aug 24, 2018

yum remove python36u-mod_wsgi

tail -f /var/log/httpd/error_log
[Fri Aug 24 10:32:00.462990 2018] [wsgi:error] [pid 37468] [remote 172.25.136.52:57710] mod_wsgi (pid=37468): Failed to exec Python script file '/usr/lib/python2.7/site-packages/adagios/wsgi.py'.
[Fri Aug 24 10:32:00.463044 2018] [wsgi:error] [pid 37468] [remote 172.25.136.52:57710] mod_wsgi (pid=37468): Exception occurred processing WSGI script '/usr/lib/python2.7/site-packages/adagios/wsgi.py'.
[Fri Aug 24 10:32:00.463793 2018] [wsgi:error] [pid 37468] [remote 172.25.136.52:57710] Traceback (most recent call last):
[Fri Aug 24 10:32:00.463825 2018] [wsgi:error] [pid 37468] [remote 172.25.136.52:57710] File "/usr/lib/python2.7/site-packages/adagios/wsgi.py", line 21, in
[Fri Aug 24 10:32:00.463831 2018] [wsgi:error] [pid 37468] [remote 172.25.136.52:57710] require('Django>=1.5')
[Fri Aug 24 10:32:00.463838 2018] [wsgi:error] [pid 37468] [remote 172.25.136.52:57710] File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 892, in require
[Fri Aug 24 10:32:00.463842 2018] [wsgi:error] [pid 37468] [remote 172.25.136.52:57710] needed = self.resolve(parse_requirements(requirements))
[Fri Aug 24 10:32:00.463849 2018] [wsgi:error] [pid 37468] [remote 172.25.136.52:57710] File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 778, in resolve
[Fri Aug 24 10:32:00.463853 2018] [wsgi:error] [pid 37468] [remote 172.25.136.52:57710] raise DistributionNotFound(req, requirers)
[Fri Aug 24 10:32:00.463867 2018] [wsgi:error] [pid 37468] [remote 172.25.136.52:57710] pkg_resources.DistributionNotFound: The 'Django>=1.5' distribution was not found and is required by the application

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant