You are not logged in.

#1 2010-05-05 08:38:34

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

[SOLVED] How do you check to see if Python is enabled on your system?

I'd like to see if Python is enabled because i can't get my Gimp Python script to work.

Thanks!

Last edited by trusktr (2010-05-29 09:57:30)


joe@trusktr.io - joe at true skater dot io.

Offline

#2 2010-05-05 08:39:29

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,487
Website

Re: [SOLVED] How do you check to see if Python is enabled on your system?

pacman -Qi python

Offline

#3 2010-05-05 08:42:24

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: [SOLVED] How do you check to see if Python is enabled on your system?

python --version
smile


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#4 2010-05-05 10:56:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] How do you check to see if Python is enabled on your system?

Sorry, but I have both python 2.6 and python3 installed and neither of the above would work 100%. The easiest way would be

[karol@black ~]$ pacman -Q | grep python
python 2.6.5-3
python-feedparser 4.1-5
python3 3.1.2-3

Offline

#5 2010-05-05 11:05:45

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,487
Website

Re: [SOLVED] How do you check to see if Python is enabled on your system?

Yes, but no plugin will be using python3...  so both actually do the job.

Offline

#6 2010-05-05 11:10:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] How do you check to see if Python is enabled on your system?

OK, maybe I rushed a bit.

Offline

#7 2010-05-05 12:31:46

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: [SOLVED] How do you check to see if Python is enabled on your system?

@karol
There's no need to use grep:

pacman -Qs python

My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#8 2010-05-05 12:37:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] How do you check to see if Python is enabled on your system?

@Xyne: depends on your system, here it gives me more than I need

[karol@black ~]$ pacman -Qs python
local/iotop 0.4-1 [0.20 MB]
    Python program with a top like UI used to show of behalf of which process is
    the I/O going on
local/python 2.6.5-3 [61.86 MB]
    A high-level scripting language
local/python-feedparser 4.1-5 [0.27 MB]
    Parse RSS and Atom feeds in Python
local/python3 3.1.2-3 [62.95 MB]
    Next generation of the python high-level scripting language
local/setuptools 0.6c11-1 [1.14 MB]
    A collection of enhancements to the Python distutils

grep nicely filters it away.

Offline

#9 2010-05-05 14:58:42

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,094

Re: [SOLVED] How do you check to see if Python is enabled on your system?

trusktr wrote:

I'd like to see if Python is enabled because i can't get my Gimp Python script to work.

Thanks!

If you give use some more info, including any errors you are getting, then maybe we can help you solve the problem.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB