• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Python version mismatch / build-dep libapache2-mod-python

Servus

Basic Pleskian
I have an error since I installed python over updates/upgrades.

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
 
Back
Top