LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 02-06-2022, 10:19 PM   #1
allennet
Member
 
Registered: Feb 2022
Posts: 41

Rep: Reputation: 2
Post python 1 / 2 / 3 issues after 15.0 -Slackware- stable


Good evening guys

Programs like redshif-gtk, youtube-dl, wxpython and others can not being installed after comming back to 15.0 slackware stable.

Do i have to wait slackbuilds update packages?

Youtube-dl slackbuild:

.
.
.

youtube-dl/setup.py
youtube-dl/setup.cfg
youtube-dl/youtube-dl
patching file setup.py
./youtube-dl.SlackBuild: línea 77: python: orden no encontrada

After 9 years im back to slackware, so many things i forget. Thanks
 
Old 02-06-2022, 11:19 PM   #2
pghvlaans
Member
 
Registered: Jan 2021
Distribution: Slackware64 {15.0,-current}, FreeBSD, stuff on QEMU
Posts: 462

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Welcome to the board. Have you tried using Ponce's GitHub repo? It's a fork of the 14.2 collection on slackbuilds.org, but many of the scripts have been overhauled to run under 15.0.
 
Old 02-07-2022, 08:46 AM   #3
drumz
Member
 
Registered: Apr 2005
Location: Oklahoma, USA
Distribution: Slackware
Posts: 907

Rep: Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698
Quote:
Originally Posted by pghvlaans View Post
Welcome to the board. Have you tried using Ponce's GitHub repo? It's a fork of the 14.2 collection on slackbuilds.org, but many of the scripts have been overhauled to run under 15.0.
Better yet, just use the master branch:

https://git.slackbuilds.org/slackbuilds/
 
1 members found this post helpful.
Old 02-07-2022, 10:33 AM   #4
allennet
Member
 
Registered: Feb 2022
Posts: 41

Original Poster
Rep: Reputation: 2
How to

Quote:
Originally Posted by drumz View Post
Better yet, just use the master branch:

https://git.slackbuilds.org/slackbuilds/
I would like to use Ponce repo with sbopkg but i don't know how to set it up

¿ - /etc/sbopkg/repos.d/40-sbo.repo - ?
 
Old 02-07-2022, 10:34 AM   #5
allennet
Member
 
Registered: Feb 2022
Posts: 41

Original Poster
Rep: Reputation: 2
How to set i up

Quote:
Originally Posted by pghvlaans View Post
Welcome to the board. Have you tried using Ponce's GitHub repo? It's a fork of the 14.2 collection on slackbuilds.org, but many of the scripts have been overhauled to run under 15.0.
I would like to use Ponce repo with sbopkg but i don't know how to set it up

¿ - /etc/sbopkg/repos.d/40-sbo.repo - ?
 
Old 02-07-2022, 10:36 AM   #6
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 807

Rep: Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939
See here: https://github.com/Ponce/slackbuilds...ry-with-sbopkg
 
Old 02-07-2022, 01:59 PM   #7
allennet
Member
 
Registered: Feb 2022
Posts: 41

Original Poster
Rep: Reputation: 2
Only for current?

Quote:
Originally Posted by 0XBF View Post

Any problem to change to current?

i get dumped after change from 14.2 to 15.0 in sbopkg/conf by sbopkg to this:

Unknown repository name -- ""
Valid options are:
SBo/14.2 (SBo repository for Slackware 14.2)
SBo/14.1 (SBo repository for Slackware 14.1)
SBo/14.0 (SBo repository for Slackware 14.0)
SBo/13.37 (SBo repository for Slackware 13.37)
SBo/13.1 (SBo repository for Slackware 13.1)
SBo/13.0 (SBo repository for Slackware 13.0)
SBo/12.2 (SBo repository for Slackware 12.2)
SBo/12.1 (SBo repository for Slackware 12.1)
SBo/12.0 (SBo repository for Slackware 12.0)
SBo/11.0 (SBo repository for Slackware 11.0)
local/local (default local repository)
SBo-git/current (UNSUPPORTED SBo git repository for -current)
SBo/master (SBo master git branch)

But,

i edited to current branch using the instructions from ponce on git, everything fine, work perfect
but i got the same output related to python 1 / 2 / 3 issues: (youtube-dl, redshift-gtk and others)

Syncing with the remote repository into /var/lib/sbopkg/SBo-git.
Desde git://github.com/Ponce/slackbuilds
* branch current -> FETCH_HEAD
Ya está actualizado.
HEAD está ahora en 7f024e0339 Fixed typo

Repository update complete


.
.
.

youtube-dl/youtube-dl.fish
youtube-dl/setup.py
youtube-dl/setup.cfg
youtube-dl/youtube-dl
patching file setup.py
youtube-dl.SlackBuild.build: línea 87: python2: orden no encontrada

i think i have to wait a little more while slackbuilds crew update packages to 15.0, ponce doesnt work for me to 15.0, only for current, or im doing something wrong here missing something...

Thanks again.
 
Old 02-07-2022, 02:13 PM   #8
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,146

Rep: Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212
I think you haven't installed the python2 package (I don't know why).
 
Old 02-07-2022, 02:34 PM   #9
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 807

Rep: Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939
Line 87 is where python2 setup.py is run so it seems like you are missing python2 like ponce says. You could confirm that with "slackpkg search python2", and/or "slackpkg reinstall python2" to install from a mirror.

I'm using Slackware64-15.0 and just ran "sbopkg -i youtube-dl" from ponce's git and it built fine here so I don't think you should have any issues.

Last edited by 0XBF; 02-07-2022 at 02:36 PM.
 
Old 02-07-2022, 02:34 PM   #10
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,087

Rep: Reputation: Disabled
As an aside I highly recommend replacing youtube-dl by yt-dlp, which needs only python3. I do not have a SlackBuild for that (using slkbuild) but looking at the SLKBUILD here will give you an idea.
 
1 members found this post helpful.
Old 02-07-2022, 02:36 PM   #11
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,146

Rep: Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212
Quote:
Originally Posted by Didier Spaier View Post
As an aside I highly recommend replacing youtube-dl by yt-dlp, which needs only python3. I do not have a SlackBuild for that (using slkbuild) but looking at the SLKBUILD here will give you an idea.
it's available in the latest version of the git repository (courtesy of Urchlay).
 
2 members found this post helpful.
Old 02-07-2022, 06:27 PM   #12
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,362

Rep: Reputation: 962Reputation: 962Reputation: 962Reputation: 962Reputation: 962Reputation: 962Reputation: 962Reputation: 962
Problem is he no have python packages installed , not repos or slackbuilds.

All repos , All slackbuilds, fails if no have the python packages installed.

Can continue suggesting change repos or change slackbuilds / apps , nothing work , if he no have the python2 and python3 packages.
 
Old 02-07-2022, 07:59 PM   #13
allennet
Member
 
Registered: Feb 2022
Posts: 41

Original Poster
Rep: Reputation: 2
python

Quote:
Originally Posted by 0XBF View Post
Line 87 is where python2 setup.py is run so it seems like you are missing python2 like ponce says. You could confirm that with "slackpkg search python2", and/or "slackpkg reinstall python2" to install from a mirror.

I'm using Slackware64-15.0 and just ran "sbopkg -i youtube-dl" from ponce's git and it built fine here so I don't think you should have any issues.



slackpkg search python

Looking for python in package list. Please wait... DONE

The list below shows all packages with name matching "python".

[ installed ] - dbus-python-1.2.18-x86_64-3
[ installed ] - kdev-python-21.12.1-x86_64-1
[ installed ] - python2-2.7.18-x86_64-4
[ installed ] - python2-module-collection-2.7.18-x86_64-6
[ installed ] - python-appdirs-1.4.4-x86_64-6
[ installed ] - python-certifi-2021.10.8-x86_64-2
[ installed ] - python-cffi-1.15.0-x86_64-2
[ installed ] - python-chardet-4.0.0-x86_64-5
[ installed ] - python-charset-normalizer-2.0.10-x86_64-1
[ installed ] - python-distro-1.6.0-x86_64-2
[ installed ] - python-dnspython-2.1.0-x86_64-3
[ installed ] - python-docutils-0.17.1-x86_64-3
[ installed ] - python-doxypypy-0.8.8.6-x86_64-1
[ installed ] - python-doxyqml-0.5.1-x86_64-1
[ installed ] - python-future-0.18.2-x86_64-7
[ installed ] - python-idna-3.3-x86_64-2
[ installed ] - python-Jinja2-3.0.3-x86_64-1
[ installed ] - python-markdown-3.3.4-x86_64-3
[ installed ] - python-MarkupSafe-2.0.1-x86_64-1
[ installed ] - python-notify2-0.3.1-x86_64-10
[ installed ] - python-packaging-21.3-x86_64-1
[ installed ] - python-pbr-5.8.0-x86_64-1
[ installed ] - python-pillow-8.4.0-x86_64-2
[ installed ] - python-pip-21.3.1-x86_64-2
[ installed ] - python-ply-3.11-x86_64-8
[ installed ] - python-pycparser-2.21-x86_64-1
[ installed ] - python-pygments-2.10.0-x86_64-3
[ installed ] - python-pysol_cards-0.12.0-x86_64-2
[ installed ] - python-PyYAML-6.0-x86_64-1
[ installed ] - python-random2-1.0.1-x86_64-5
[ installed ] - python-requests-2.26.0-x86_64-3
[ installed ] - python-sane-2.9.1-x86_64-5
[ installed ] - python-setuptools-57.5.0-x86_64-2
[ installed ] - python-setuptools_scm-6.3.2-x86_64-1
[ installed ] - python-six-1.16.0-x86_64-3
[ installed ] - python-tomli-1.2.2-x86_64-1
 
Old 02-07-2022, 08:57 PM   #14
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 807

Rep: Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939
I don't know what to tell you. The youtube-dl slackbuild failed because it can't find python2...
Quote:
Originally Posted by allennet View Post
youtube-dl.SlackBuild.build: línea 87: python2: orden no encontrada
and you show that you have all the current python packages installed.

What happens when you run python2 from the command line?

Edit: I dont see 'python3-3.9.10-x86_64-1' in that list either. Not sure why the errors are about python2 though. Hard to say when that same slackbuild is fine here.

Last edited by 0XBF; 02-07-2022 at 09:05 PM.
 
Old 02-15-2022, 05:46 PM   #15
allennet
Member
 
Registered: Feb 2022
Posts: 41

Original Poster
Rep: Reputation: 2
Smile slackware64-current

I solved by removing my slackware 15.0 stable to current version.

To many conflicts with 14.2/15.0 stable and repos whom set diverse variables between packages instead a single plattform


installed sbopkg with ponce git slackbuilds repo | current branch


other extra packages i had to look it on slackware.uk and others sites (because of slow conection on alien slackware)

i little bit difficult the slackware current post instalation, only for installing lets say 7 programs (with python issues...)

i havent seen the 15.0 mark on slackbuilds.org page, we have to wait until they update it i guess.

Thanks again.
Attached Thumbnails
Click image for larger version

Name:	14.jpeg
Views:	8
Size:	86.8 KB
ID:	38371  
 
  


Reply



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] how long is debian stable supported fully? after a new stable i s released. rubankumars Debian 5 07-06-2017 03:59 AM
What is more stable: Slackware or Debian Stable ? Xeratul Slackware 100 11-14-2015 10:07 PM
I got error while installing python-tk python-psycopg2 python-twisted saili kadam Linux - Newbie 1 09-05-2015 03:03 AM
LXer: Python Python Python (aka Python 3) LXer Syndicated Linux News 0 08-05-2009 08:30 PM
Etch 4.0 stable - python 2.5 and python-mysqldb? jantman Debian 1 06-06-2008 02:34 PM

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

All times are GMT -5. The time now is 08:48 PM.

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
Open Source Consulting | Domain Registration