LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-03-2022, 04:24 AM   #61
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled

Downloading the iso is pitifully slow.

Interestingly none of the UK mirrors have the slackware-15.0-install-dvd.iso
 
Old 07-03-2022, 04:27 AM   #62
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,730

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Quote:
Originally Posted by SAJM View Post
slackware-15.0-install-dvd.iso
That's the 32-bit one. You probably want slackware64-15.0-install-dvd.iso.

https://slackware.uk/slackware/slack...nstall-dvd.iso

Last edited by Petri Kaukasoina; 07-03-2022 at 04:29 AM.
 
Old 07-03-2022, 04:45 AM   #63
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Petri Kaukasoina View Post
That's the 32-bit one. You probably want slackware64-15.0-install-dvd.iso.

https://slackware.uk/slackware/slack...nstall-dvd.iso
Damn it!!!
Well spotted
 
Old 07-03-2022, 05:43 AM   #64
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Rep: Reputation: Disabled
Quote:
Originally Posted by SAJM View Post
Downloading the iso is pitifully slow.

Interestingly none of the UK mirrors have the slackware-15.0-install-dvd.iso
What mirrors? Just download it over BitTorrent. As free bonus, you get automatic integrity check. This forum has a related sticky topic.
 
1 members found this post helpful.
Old 07-03-2022, 12:05 PM   #65
keithpeter
Member
 
Registered: Nov 2015
Location: 52:30N 1:55W
Distribution: Slackware 15.0, OpenBSD 7.4
Posts: 309

Rep: Reputation: Disabled
Quote:
Originally Posted by SAJM View Post
Interestingly none of the UK mirrors have the slackware-15.0-install-dvd.iso
https://www.mirrorservice.org/sites/...ware-15.0-iso/

http://slackware.uk/slackware/slackw...ware-15.0-iso/

The install isos are in a separate directory from the packages. Always catches me out.
 
Old 07-03-2022, 03:09 PM   #66
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 397

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by SAJM View Post
Going back to python3. It clearly does not work.


On this site I looked at, pip and pip3 seem to be mixed up on the same command strings.

https://help.dreamhost.com/hc/en-us/...ython3-modules

Here is another one

https://stackoverflow.com/questions/...-with-python-3

It's now clear to me that pip3 might well be the version but in a command string it's pip, which is exactly what I was doing.

No wonder I was getting confused!!
You had pip3 in post 11 of this thread (https://www.linuxquestions.org/quest...3/#post6364839). The version warning don't stop it from working. Just after Post 11 you should have done
> pip3 install tkinter

But else you upgrade pip and so deleted pip3.

pip3 is the command for python3 (which is for Python 3) and work well on Slackware after installing python3 or on a full Slackware 15.

Python is use a lot for scientific applications and is working everywhere it is installed. It is not at all a student or toy application.
 
Old 07-04-2022, 11:43 AM   #67
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
I cannot burn the ISO because what I thought was a dvd turned out to be a RW CD and 15.0 is too big, so for better or worse I have to install Thonny on 14.2
 
Old 07-04-2022, 11:46 AM   #68
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
So by upgrading pip I erased pip3?
 
Old 07-04-2022, 11:55 AM   #69
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BrunoLafleur View Post

Python is use a lot for scientific applications and is working everywhere it is installed. It is not at all a student or toy application.
That may be true but python is touted in education circles as the preferred learning tool.
 
Old 07-04-2022, 11:58 AM   #70
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by SAJM View Post
So by upgrading pip I erased pip3?
How do I get it back?
 
Old 07-04-2022, 12:24 PM   #71
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,692

Rep: Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274
Quote:
Originally Posted by SAJM View Post
So by upgrading pip I erased pip3?
Since you did not explain what did you do we cannot answer. Usually no, pip and pip3 can live together, but there are ways to make it wrong.
Quote:
Originally Posted by SAJM View Post
That may be true but python is touted in education circles as the preferred learning tool.
Yes, it is a general purpose tool, and used almost everywhere. So teaching it looks like a good idea.
Quote:
Originally Posted by SAJM View Post
How do I get it back?
How did you screw it up?
 
Old 07-04-2022, 12:48 PM   #72
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
How did you screw it up?
See message 11 and 66

I didnt know I did messed it up but it seems I may have.
since posting
I have remove python 3 and reinstalled it.
I also imported tk
viz

Code:
bash-4.3$  python3
Python 3.7.2 (default, Jul  4 2022, 18:25:41) 
[GCC 5.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> pip3 install tk
  File "<stdin>", line 1
    pip3 install tk
               ^
SyntaxError: invalid syntax
>>> import tk
>>> import tkinter
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.7/tkinter/__init__.py", line 36, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ModuleNotFoundError: No module named '_tkinter'
>>> pip3 install tkinter
  File "<stdin>", line 1
    pip3 install tkinter
               ^
SyntaxError: invalid syntax
>>>
So as I see it python3 is installed and running and tk is installed OK.
What next?
 
Old 07-04-2022, 12:55 PM   #73
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BrunoLafleur View Post
To test if Tcl and Tk are installed, you can also test if wish is present :
> which wish

tkinter is a module for Python3 which encapsulate Tcl/Tk. It needs Tcl and Tk.

So if tkinter is installed it won't work without Tcl and Tk installed.
Or tkinter is not installed.

pip3 will tell you in either case.
I understood Tk was for python2 and tk was for python3
 
Old 07-04-2022, 12:58 PM   #74
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,103
Blog Entries: 6

Rep: Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822
Python works just fine. It works it's own python way. I wish people would not use pip at all. If you have a machine with a package manager, the package manager keeps everything up to date and everything matches. Install python and python modules with your package manager.

I you install something with pip, your package manager does not know about it, and now your python file tree is all messed up.

What can you do if a python modules is not in your distros repos.

You build/install something with pip as user. And install it into a directory in /home. Use it from there, or make a virtual python env. Then you won't mess up your file tree, or your installation of python, and you won't be mad. You just have a piece of python software that doesn't not work.

Or, use your distros build tools to build/make a package for your distro, according to your distos docs, and install that package with your package manager.

Mix and match your python and python modules and python file tree, and you are almost guaranteed to have a broken python install.

Ever see a dog chasing his tail?

Last edited by teckk; 07-04-2022 at 01:01 PM.
 
Old 07-04-2022, 01:06 PM   #75
SAJM
Member
 
Registered: Nov 2012
Location: Essex UK
Distribution: Slackware 15
Posts: 269

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by teckk View Post
Python works just fine. It works it's own python way. I wish people would not use pip at all. If you have a machine with a package manager, the package manager keeps everything up to date and everything matches. Install python and python modules with your package manager.

I you install something with pip, your package manager does not know about it, and now your python file tree is all messed up.

What can you do if a python modules is not in your distros repos.

You build/install something with pip as user. And install it into a directory in /home. Use it from there, or make a virtual python env. Then you won't mess up your file tree, or your installation of python, and you won't be mad. You just have a piece of python software that doesn't not work.

Or, use you distros build tools to build/make a package for your distro, according to your distos docs, and install that package with your package manager.

Mix and match your python and python modules and python file tree, and you are almost guaranteed to have a broken python install.

Ever see a dog chasing his tail?
If I install python3 it is not sufficient to run Thonny - which is where this thread started -
tk tkinter are required and the general opinion is that this achieved using pip3.

What do you suggest?

I am that dog!!!!!!!!
 
  


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
LXer: Learn to code with Thonny -- a Python IDE for beginners LXer Syndicated Linux News 0 02-19-2018 05:21 AM
When Centos 6.3 starting,All services starting OK and starting Atd: OK .And stop scr. DeSouffle Linux - General 4 08-29-2013 12:46 AM
[SOLVED] Starting File System .. Starting File System .. Starting File System .. Starting File rmknox Linux - Newbie 3 08-15-2010 11:30 PM
Starting apps after starting xfce?? gtgoku Slackware 2 08-21-2004 01:49 PM
starting kpppd w/ ximian or starting ximian w/ kde ergo_sum Linux - Newbie 8 12-02-2003 05:35 AM

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

All times are GMT -5. The time now is 11:46 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