Currently on my linux box I've uninstalled Linux 2.x and replaced it with 3.6 for an application.
Currently I am running supervisor, but cannot get the service to start.
When I attempt to run it I get
Process: 17113 ExecStart=/usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf (code=exited, status=1/FAILURE)
Main PID: 17113 (code=exited, status=1/FAILURE)
So when I look at a more verbose report this is what I get.
File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 781, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'supervisor==3.3.1' distribution was not found and is required by the application
When I Looked into this. The error means I need to be running Python 2.x and Supervisor WILL NOT work on any version of Python 3
If this is the case, how do I re-install Python 2.7 and have it run along side 3?
If anyone has seen this error. I've changed my config files to attempt to fix this. Stopped and restarted the service over and over. I've exhausted everything I know how to do and am now reaching out.
I've seen how to do this by installing Python3 along side 2.x but not the other way.
I'm semi-new to linux and don't understand the packages and how to completely navigate.