Reputation: 101
I tried installing supervisor in my linux openSUSE 13.1 by
sudo zypper install supervisor
I am getting
Supervisor not found in package names.Trying capabilities No provider of supervisor found.
Even i tried installing by `pip3 install supervisor
It is raising an error like supervisor requires with python 2.4 or later but doesnot work on
any version of python3
Am using python3.4. Is there any way to solve this?
Upvotes: 1
Views: 1581
Reputation: 11375
If the first mentioned repo doesn't try the following:
zypper addrepo http://download.opensuse.org/repositories/devel:languages:python/openSUSE_Tumbleweed/devel:languages:python.repo
zypper refresh
zypper install supervisor
Upvotes: 0
Reputation: 53017
Please don't install python2.4 anywhere anymore, unless you absolutely have to. You probably don't. For reasons unknown openSUSE doesn't include supervisor in the main repositories, though usually python packages are covered pretty well.
Supervisor is a daemon that supervises processes, be they python programs or any other. It is something you should usually install system wide (IMO) and not in a virtualenv. As always, your case may be the exception to the rule.
Here are the instructions for installing supervisor from the development repositories for openSUSE 13.1:
zypper addrepo http://download.opensuse.org/repositories/devel:languages:python/openSUSE_13.1/devel:languages:python.repo
zypper refresh
zypper install supervisor
The package will install required dependencies along with it, including the proper python2 version.
Python3 support is coming to supervisor at some point, but for the time being consider it python2 only, unless you feel very very adventurous. This on the other hand matters very little, as you usually do not need to even think about supervisor being a python program. You use it like any other system service daemon.
Upvotes: 2
Reputation: 52
If it is saying you that it doesn't work in any version Python3, try to install python 2.4 also, so you will have both python3.4 and python2.4 together. This way, you will can install. If the problem is only the python version, of course.
Upvotes: -1