LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-09-2018, 04:59 PM   #1
chrisVV
Member
 
Registered: Aug 2010
Posts: 271

Rep: Reputation: 100Reputation: 100
python-urllib3 dependency requirements


A program which I sometimes use depends on python-urllib3. The program will not execute when using slackware64-current with python-2.7 (I have not tried python-3). The current slackware64-current python-urllib3 package (version 1.22) requires pyOpenSSL>=0.14, whereas slackware64-current appears to provide pyOpenSSL-0.10, and it also cannot find cryptography>=1.3.4 or ipaddress (see /usr/lib64/python2.7/site-packages/urllib3-1.22-py2.7.egg-info/requires.txt).

The program in question does work if I delete the dependency requirements for pyOpenSSL, cryptography and ipaddress from usr/lib64/python2.7/site-packages/urllib3-1.22-py2.7.egg-info/requires.txt, but that does not seem the ideal solution.
 
Old 07-10-2018, 12:16 AM   #2
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 510

Rep: Reputation: 306Reputation: 306Reputation: 306Reputation: 306
What's the program that fails?
 
Old 07-10-2018, 02:35 AM   #3
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 11,004

Rep: Reputation: 3271Reputation: 3271Reputation: 3271Reputation: 3271Reputation: 3271Reputation: 3271Reputation: 3271Reputation: 3271Reputation: 3271Reputation: 3271Reputation: 3271
in general you may try yo pip install packages as user. It will not modify the installed system but the new packages will be available for the current user. Also you may try to use virtualenv.
 
Old 07-10-2018, 02:03 PM   #4
chrisVV
Member
 
Registered: Aug 2010
Posts: 271

Original Poster
Rep: Reputation: 100Reputation: 100
Quote:
Originally Posted by pan64 View Post
in general you may try yo pip install packages as user. It will not modify the installed system but the new packages will be available for the current user. Also you may try to use virtualenv.
Yes you can use pip, but if a slackware package is provided it ought to have its dependencies satisfied, otherwise don't provide the package. This is a point for the packager I suppose.

Having said that I don't understand the problem with ipaddress, because it is in the standard library: probably it shouldn't be specified by urllib3 as a requirement at all.
 
Old 07-10-2018, 03:34 PM   #5
chrisVV
Member
 
Registered: Aug 2010
Posts: 271

Original Poster
Rep: Reputation: 100Reputation: 100
Quote:
Originally Posted by ppr:kut View Post
What's the program that fails?
It's streamlink.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Python System Requirements jminter Linux - Embedded & Single-board computer 4 08-27-2014 01:09 PM
python - two math requirements eantoranz Programming 3 05-26-2013 10:49 PM
Python Dependency DPKG Felipe Boeira Linux - Newbie 1 12-31-2011 04:34 AM
Python dependency problem in SuSE 9.1? oxbloodoi Linux - Newbie 2 10-19-2004 09:55 PM
gDesklets Python dependency issues aresnomad Linux - Newbie 2 06-28-2004 06:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration