Results 1 to 3 of 3

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

  1. #1

    Lightbulb 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/downlo...ackage=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.

  2. #2
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    3,975

    Default AW: packages install by pip install $packge aren't recognized by OpenSuSE

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

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,268
    Blog Entries
    2

    Default Re: packages install by pip install $packge aren't recognized by OpenSuSE

    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
    Code:
    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
    Code:
    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
    Code:
    zypper up
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •