packages install by pip install $packge aren't recognized by OpenSuSE

Dear Community,

I’ve installed a newer version of django-mptt as descriped here: http://django-mptt.github.io/django-mptt/install.html due to the fact that the OpenSUSE’s devel-repo version is too old (python-django-mptt v0.6.0x, added by using this howto: https://software.opensuse.org/download.html?project=devel:languages:python&package=bpython).

But that pypi-method/python setup.py-method doesn’t seem to work, the package seems being isntall (verified by pip list) but if I’m trying to install a special rpm, it tells me:

python-django-mptt >= 0.8.6 is needed by $package.

is there any hint or “special trick” to help openSUSE recognizing that new django-mptt package?

Regards,

Hastma.

You have installed the Package besides your Packagemanager and now you are wondering, that the Packagemanager does not see this Package???

Believe you are referencing the wrong links to obtain what you want and installing incorrectly.

This is where the package resides
https://pypi.python.org/pypi/django-mptt/

You should be able to install with the following command

pip install django-mptt

Your package from PyPi will be installed into a location your app can find it.

Although you didn’t mention what you’ve done for your overall Python environment, in general the default from the OSS is only good enough for general use and not sufficient for what you appear to be doing.

Recommend either installing a Python from Pypi
or
at least add the special openSUSE Python repo to your system, eg with the following command

zypper ar -f http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_Leap_42.2/ Python_repo_42.2

Followed by updating your system to update your Python from the new repo

zypper up

TSU