Ubuntu :: 10.10 - How To Install Python

Dec 23, 2010

I am super new to Linux and Ubuntu. I am trying to install python and I downloaded it from the website. I do not know how to actually install it though. I have Ubuntu 10.10.

View 6 Replies


ADVERTISEMENT

General :: Get Apt-get To Install Python Packages For A Different Version Of Python?

Oct 27, 2010

in ubuntu 10.10, I have installed python 2.7. I would like to use apt-get to install packages to this version of python but I haven't been able to figure out howThings I have tried without success:changing the symlink at /usr/bin/python to point to /usr/bin/python2.7 - even after doing this apt-get still installs stuff to python2.6.Set up python2.7 as the primary alternative using update-alternatives - doesn't work

View 3 Replies View Related

Programming :: Make Python Programs Run Without Entering The Command Python?

Mar 22, 2009

I want to be able to do

sudo ./program.py

instead of always having to do

sudo python program.py

What do I need to change?

View 5 Replies View Related

Programming :: Python - Get Text File Data Into An Array On Python?

Nov 30, 2009

I've already used line split stuff to transform my data into something like this in a text file:

Code:

['1', '1', '3', '20.7505207']
['2', '1', '3', '23.0488319']
['3', '1', '3', '-1.5768747']
['4', '1', '3', '-26.4772491']

[code]....

How can I get this on a python program so I can manipulate it as an array?

View 3 Replies View Related

CentOS 5 :: Cannot Install YUM And Python Iniparse To Install ImageMagick?

Aug 9, 2009

I have logged into root via SSHI followed instructions from here[URL]And here[URL]

View 1 Replies View Related

Ubuntu :: How To Install Python 2.6.5

Jun 10, 2010

I tried to downloaded and installed from the Internet directly but it gives me error message. Also I tried to downloaded it from Ubuntu but when I go to the software package and click on python it show me hundreds of python types. I'm a beginner and I need to use Python for my class this summer, I only need to use python GUI. how to install python on Ubuntu and also how to find it after installation.

View 6 Replies View Related

Ubuntu :: How To Install Python 3.1.2

Jun 19, 2010

I've done command line work in Linux, so I need a refresher.I have downloaded and extracted Python 3.1.2. How do I install? All of the HELP and README files are a little vague for me. but when I type in "./configure" in a terminal session, it says "command not found".

View 2 Replies View Related

Ubuntu :: How To Install Python 2.6 On 8.04

Oct 23, 2010

how to install Python 2.6 on Ubuntu 8.04, I checked and the latest ver. on the ubuntu repository is 2.5 I need 2.6 I just compiled it using the following guide.[URL] I just didn't get how to set my PATH I followed all the steps that were there exactly.

View 2 Replies View Related

Ubuntu :: How To Install Python-xml In Karmic

Feb 8, 2010

I need to install python-xml on my kubuntu 9.10 but I cant do it with apt-get.I downloaded it from somewhere else but still I cant install it because of python 2.6.

View 1 Replies View Related

Software :: Python 3 Want Situation For Python 2 And Become Stop?

Jul 17, 2010

Python 3 want situation for python 2?Python 2 become stop?

View 1 Replies View Related

CentOS 5 :: Yum - Python-devel / Python Dependency

Jan 7, 2011

yum dependency problem please? I am running Centos 5.5. I need to install python-devel, but when I do so I get:

[Code]....

View 2 Replies View Related

Ubuntu :: Install The MySQLdb Package For Python?

Feb 23, 2010

I am trying to install the MySQLdb package for python and the instructions tell me that I need to add mysql_config to my path. This file does not appear to exist in my mysql installation, or anywhere on my machine. I installed mysql-server from the ubuntu package manager, and then did a search of my system for that file.

Code:

sudo find / -name mysql_config

This gave me no results. where I can find this? Is it part of some extra toolkit for mysql?

View 2 Replies View Related

Ubuntu :: Install The Python-matplotlib Package?

Mar 12, 2010

I am trying to install the python-matplotlib package but I get E:broken packages. I have tried the apt-get -f install, apt-get update, apt-get clean all in various permutations but it doesnt solve the problem.I also tried uninstalling the dependednt packages and then reinstalling them but that doesnt work either.

root@ubuntu:~# apt-get install python-matplotlib
Reading package lists... Done
Building dependency tree
Reading state information... Done

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.

[Code]...

View 3 Replies View Related

Ubuntu :: Install Python Program From Source?

Dec 16, 2010

I downloaded this programs source and I'm having a hard time figuring out how to install it. I assume it is python source? I tried downloading the debian file but could not figure out how to install it aswell. I downloaded the software from [URL]

View 9 Replies View Related

Fedora :: Install Python 2.7 On 15?

Jul 29, 2011

i want IDLE on my Fedora 15, is this possible?

View 2 Replies View Related

Fedora :: Can't Install Python 2.6 On 15

Aug 13, 2011

I can't install Python 2.6 on Fedora 15 - I have only Python 2.7. Also I can't add EPEL repository to try to install: yum install python26 I didn't find any info about how can I solve this problem.

View 12 Replies View Related

General :: Ubuntu 64bit - How To Install Python 32bit

Aug 6, 2010

I'm running Ubuntu 10.4 64bit, and I would like to run python 32bit.The current Python version used is the 64bit one.What can be some good ways for installing the python 32bit version without compromising the OS. I'm kind of new to this, so I don't really know if I could substitute the python version, or know how to make it available by using short commands such as python or easy_install.

View 1 Replies View Related

Ubuntu :: Kupfer Upgrade - How To Install Python-keyring

Mar 25, 2010

So I was trying to upgrade kupfer when it told me it couldn't, as python-keyring was a virtual package and could not be installed. I'm using Karmic, so the package python-keyring is not available, although it is in Lucid. How would I go about upgrading kupfer/installing python-keyring??

View 2 Replies View Related

Ubuntu :: Install Python And A LaTeX Editor And Can't Get To Work

Jun 5, 2011

I'm trying to install Python and a LaTeX editor and can't really get either to work out. For texlive, I used 'sudo apt-get texlive-full', which didn't generate any errors, but I now can't seem to open the application. For Python, I used 'sudo apt-get update sudo apt-get install python2.6' which generated the error "Unable to lock directory /var/cache/apt/archives." I tried to remove a lock file that I read about on another post and open up SPM, but the error persisted.

View 2 Replies View Related

Fedora :: How To Install Sqlite-python

Nov 18, 2009

I am trying to install sqlite-python package in my FC11 machine. I couldn't find an rpm to install.

View 2 Replies View Related

Fedora :: Install Python 3 And Idle In 12?

May 28, 2010

how can i install python 3 and idle in fedora 12? yum search for any plausible variation on python3 (python-3, Python-3.1, etc.) that i could think of yields nothing, same in add/remove software. so i got the tarball from python.org and followed book instructions on it (summerfield's python 3, p. 4), namely unpack it, run './configure', run 'make' and finally run 'make install'

in my add/remove programs window, for idle, it says i have the one for python 2.6 installed, but i can't find where to open the program. but i'd like to use 3.1.2 python anyway. additional note: if i type python -V i get Python 2.6.x (can't remember the last digit, i think it's 2), and if i type python3 -V i get Python 3.1.2. so, how do i get python 3 installed and idle for python 3 running?

View 9 Replies View Related

SUSE :: Uninstall 2.6 - Install Python 2.5 ?

Aug 24, 2010

I am fairly new to Linux. I have OpenSuse Desktop 11.3. For a software package I need to install, I have to have Python 2.4 or 2.5 - it will not run with Python 2.6. I cannot find any way in Yast to install the older version of Python. So my question is this: How do I first uninstall Python 2.6 so I don't screw anything up, and then install Python 2.5? Is it as simple as using Yast for the uninstall, then finding the tarball for 2.5, unpacking it, ./configure, sudo make, sudo make install?

View 3 Replies View Related

General :: How To Install Python In RHEL 5?

May 22, 2011

I want to install python in RHEL 5.0.

View 2 Replies View Related

Ubuntu Installation :: Missing Python Files After Successful Install

Jan 5, 2011

I ran 'sudo apt-get install python', which completed successfully. According to [url, this should have created the directory /usr/lib/python2.6, but I do not see any such directory.

This is causing problems:

I've tried 'apt-get purge python' and then reinstalling but this has not resolved the issue.

View 2 Replies View Related

General :: Unable To Install Python Package On 64bit Ubuntu

May 24, 2011

I've a 64-bit Ubuntu Linux machine. Linux version 2.6.28-14-generic (buildd@yellow) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #47-Ubuntu SMP Sat Jul 25 01:19:55 UTC 2009 Ubuntu 9.04
Linux Debian 5.0 ( 2.6.28-14-generic x86_64)

When I tried to install the python-dev package on it using the command sudo apt-get install python-dev, I got following messages.

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed: python-dev
0 upgraded, 1 newly installed, 0 to remove and 271 not upgraded.
Need to get 978B of archives.
After this operation, 24.6kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
python-dev
Install these packages without verification [y/N]? y
Err http://in.archive.ubuntu.com jaunty/main python-dev 2.6.2-0ubuntu1 404 Not Found [IP: 91.189.88.45 80]
Failed to fetch http://in.archive.ubuntu.com/ubuntu/...buntu1_all.deb 404 Not Found [IP: 91.189.88.45 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Tried with --fix-missing option as well. Same errors in this case also. How I can install python-dev package on 64-bit Ubuntu Linux machine?

View 2 Replies View Related

Fedora :: Install The Newest Version Python 3.1.2?

Apr 9, 2010

i got per default python 2.6.2 on my fedora 12. how can i install the newest version python 3.1.2?

View 2 Replies View Related

Fedora Installation :: Cannot Install Python-virtualenv?

May 7, 2010

I get an error when trying to install python-virtualenv package:

Quote:
# yum install python-virtualenv
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check

[Code]...

AFAIK, python-virtualenv package does not really require any development packages (at least in ubuntu, debian, opensuse). Is it a bug? I didn't find anything with search engines...

View 6 Replies View Related

Fedora :: Install Python Spider Monkey?

Aug 19, 2011

I'm trying to install python spider monkey. I already have pkgconfig and nspr installed however when I runeasy_install python-spidermonkey it says

Running python-spidermonkey-0.0.10/setup.py -q bdist_egg --dist-dir /tmp/easy_install-hjTAdp/python-spidermonkey-0.0.10/egg-dist-tmp-sbqzO9
Traceback (most recent call last):

[code]....

View 4 Replies View Related

General :: Install The Python Module For Gnash?

Aug 5, 2011

How do I install the Python module for Gnash?

But apart from that, what basic concept am I not understanding about installing packages on Linux?

I am used to installing packages using package managers - mostly apt-get and zypper. I have occasionally installed from source, often with no trouble. However I recently installed Gnash and discovered that it has a Python binding that must be compiled from source and this has led down a rabbithole making me feel stupider at each turn.

First, I attempt do a ./configure --enable-python in the gnash source dir. This ends up failing with an error that

package pygtk-codegen-2.0 isn't found

The lead developer, Rob Savoye, was kind enough to point me at packages.debian.org, telling me I just need to locate this package. After many failed searches, I found that the python-gtk2-dev package contains this ... file? script? Great, but I couldn't figure out how to obtain the python-gtk2-dev package. It doesn't exist in any of my openSUSE configured repositories.

So I headed to the GNOME site and searched, found that the PyGTK package contains pygtk-codegen. Download the tarball, cd, ./configure, and this fails because I don't have GLIB. After some more searching I use zypper to install glib2-devel (libglib-2.0 was already installed), and now PyGTK fails to configure because I don't have GObject.

Find that, download tarball, cd, ./configure, fail. I don't have gobject-introspection-1.0, apparently. I DO have gobject-introspection installed, and it's version is ≥ 1.0, but that's what the script says.

So I will readily admit I am new to Linux, but I have to be missing some basic step here. Can anyone give me a clue about any of the above? Is it normal to have to install one dependency after another like this? Is OpenSUSE the wrong distro? What would make this process not so horrible?

View 2 Replies View Related

Server :: Install Torrentflux That Requires Python?

Jul 14, 2011

i am trying to install torrentflux that requires python. but it says python path invalid . though it is installed and path is valid. i have chmoded it to 777 but same problem. I am using centos with LAMP.

here it the screen[URL]...

View 11 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved