Python Forum
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pip and setup script
#14
Sure, first I'm using openSuse (Leap). Here's a small example:

Output:
> pip list --outdated bottle (0.12.9) - Latest: 0.12.10 [sdist] coverage (4.0.3) - Latest: 4.2 [sdist] pycups (1.9.72) - Latest: 1.9.73 [sdist] pycurl (7.19.5.1) - Latest: 7.43.0 [sdist] pythondialog (3.3.0) - Latest: 3.4.0 [sdist] simplejson (3.8.1) - Latest: 3.9.0 [sdist]
These are 'pre-packaged' modules either included or installed using openSuse's package manager(either zypper or Yast). I presume they are 'packages' that were somehow modified to work with OS's architecture. An example, I just did the upgrade for 'pythondialog' and pip reports it was successful, however, if I try to import dialog, I get an error saying it can't be found. Even though it is located in /usr/lib/python3.4/site-packages:

Output:
> locate pythondialog /usr/lib/python3.4/site-packages/pythondialog-3.4.0-py3.4.egg-info /usr/lib/python3.4/site-packages/pythondialog-3.4.0-py3.4.egg-info/PKG-INFO /usr/lib/python3.4/site-packages/pythondialog-3.4.0-py3.4.egg-info/SOURCES.txt /usr/lib/python3.4/site-packages/pythondialog-3.4.0-py3.4.egg-info/dependency_links.txt /usr/lib/python3.4/site-packages/pythondialog-3.4.0-py3.4.egg-info/installed-files.txt /usr/lib/python3.4/site-packages/pythondialog-3.4.0-py3.4.egg-info/top_level.txt
I don't know why they do what they do, perhaps in the way they are compiled? I don't know, and to be honest don't care. I've learned to stay away from those marked with [sdist] or look for an updated package.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply


Messages In This Thread
pip and setup script - by metulburr - Oct-24-2016, 08:13 PM
RE: pip and setup script - by micseydel - Oct-24-2016, 08:37 PM
RE: pip and setup script - by Yoriz - Oct-24-2016, 08:51 PM
RE: pip and setup script - by snippsat - Oct-24-2016, 09:10 PM
RE: pip and setup script - by ichabod801 - Oct-24-2016, 09:13 PM
RE: pip and setup script - by snippsat - Oct-24-2016, 09:17 PM
RE: pip and setup script - by metulburr - Oct-24-2016, 09:28 PM
RE: pip and setup script - by snippsat - Oct-24-2016, 09:47 PM
RE: pip and setup script - by Larz60+ - Oct-24-2016, 09:50 PM
RE: pip and setup script - by Skaperen - Oct-25-2016, 06:17 AM
RE: pip and setup script - by sparkz_alot - Oct-25-2016, 09:26 PM
RE: pip and setup script - by snippsat - Oct-25-2016, 09:54 PM
RE: pip and setup script - by Ofnuts - Oct-26-2016, 06:58 AM
RE: pip and setup script - by sparkz_alot - Oct-26-2016, 02:33 PM
RE: pip and setup script - by Larz60+ - Oct-26-2016, 03:59 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020