Servus
Basic Pleskian
I have an error since I installed python over updates/upgrades.
I found this solution for my problem and did it.
this was the result:
Can you help me please to solve this problem?
Which source is needed for it and where to configure this properly (perhaps in /etc/apt/sources.list.d) or normal sorces.list or trusted.list?.
For plesk I found this thread. Here I'm not sure if it is the solution for my special problem?
thank you for help
Code:
[Thu Aug 31 06:28:23.787737 2017] [auth_digest:notice] [pid 12190] AH01757: generating secret for digest authentication ...
[Thu Aug 31 06:28:23.789323 2017] [:error] [pid 12190] python_init: Python version mismatch, expected '2.7.6', found '2.7.12'.
[Thu Aug 31 06:28:23.789394 2017] [:error] [pid 12190] python_init: Python executable found '/usr/bin/python'.
[Thu Aug 31 06:28:23.789400 2017] [:error] [pid 12190] python_init: Python path being used '/usr/lib/python2.7/:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
[Thu Aug 31 06:28:23.789409 2017] [:notice] [pid 12190] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Thu Aug 31 06:28:23.789415 2017] [:notice] [pid 12190] mod_python: using mutex_directory /tmp
I found this solution for my problem and did it.
this was the result:
Code:
root@s1736494:~# apt-get remove libapache2-mod-python libapache2-mod-wsgi
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'libapache2-mod-wsgi' is not installed, so not removed
The following packages will be REMOVED:
libapache2-mod-python
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 475 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 185691 files and directories currently installed.)
Removing libapache2-mod-python (3.3.1-11ubuntu2) ...
apache2_invoke python prerm: No action required
root@s1736494:~# python --version
Python 2.7.12
root@s1736494:~# apt-get build-dep libapache2-mod-python
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list
root@s1736494:~#
Can you help me please to solve this problem?
Which source is needed for it and where to configure this properly (perhaps in /etc/apt/sources.list.d) or normal sorces.list or trusted.list?.
For plesk I found this thread. Here I'm not sure if it is the solution for my special problem?
thank you for help