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


ADVERTISEMENT

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

Ubuntu :: Install A Version Of The GStreamer Python Bindings Greater Or Equal To 0.10.19" Without The Quotes?

Sep 29, 2010

When i try to run pitivi i get the following message and it closes down. "Install a version of the GStreamer Python bindings greater or equal to 0.10.19" without the quotes.What do I need to do? Where is the deb package for gstreamer needed?

View 9 Replies View Related

General :: Time To Change - Installed Newer Version Of Python 2.6

Apr 18, 2011

I installed a newer version of python in /usr/local/bin/python2.6. Now I want to use that python and only that one. When I type "Which python", I want to see /usr/local/bin/python2.6, NOT /usr/bin/python, which is old one (2.4). Also, I want to see the same even after I reboot. How do I do that?

View 2 Replies View Related

General :: Updated LibX11 And Python Packages Fail To Update In RHEL5?

Nov 10, 2010

I was assigned to do all the RHEL5 updates. All installed fine including the new kernel except for the updated libX11 and python packages. Does anyone have any suggestions relating to a fix for this?

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

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 :: What Version Of Python You Are Running

Jul 7, 2010

I need to know what version of python I am running. I am running ubuntu 10.04 and am going to be downloading wxpython but need to know what version of python I am running.In php there is a built in command phpinfo() that tells you everything you need to know about your installation of php, does python have something like this?Also, learned of python 2.7 today, I am currently learning python and am wondering if i should go ahead and upgrade or wait??

View 3 Replies View Related

Fedora :: Downgrading Python To 2.5 From 2.6 Version

May 13, 2010

I want to install OpenERP software which requires python 2.5 ,but my fedora 11 is having the python 2.6 installed by default, how can I downgrade the python 2.6 to 2.5 version. Also I need to know which version of yum is compatible with python 2.5 version.

View 3 Replies View Related

Slackware :: Possible To Downgrade Version Of Python To 2.5?

Oct 26, 2009

This may sound a bit of an awkward question, but I have this app, Salome-Platform, [URL], It requires Python 2.5 at most to be able to run. (Compiling it is way to complex.) Since the Python of Slackware is 2.6, can it be downgraded to 2.5...? If it can, how do I do it...?

View 15 Replies View Related

Programming :: Python 2.x - Represent The Same In Python 3.x

Mar 4, 2010

I have a function definition in a Python 2.x script which take a tuple as one of its arguments, but 2to3 has no answers nor any of my searching on how to represent the same in Python 3.x

Code:

def blah(self, (string1, string2))

View 4 Replies View Related

CentOS 5 :: Upgrade Python-2.4.3 To Python-2.5?

Mar 30, 2011

How can I upgrade python-2.4.3 to python-2.5?

View 1 Replies View Related

Software :: Adding Safely Other Python Version

May 4, 2011

I need to add python2.6 to RHEL55/SL55 that is based on python2.4.3 to utilize the full functionality of another program. Since I already killed one system by replacing the default python version (previous tread), I asked developers how to safely enable already installed 2.6 without crashing the system. Here is the
You could install 'python26' from EPEL[1], presumably this does not break /usr/bin/python since it installs the new version as /usr/bin/python2.6.

View 1 Replies View Related

Programming :: Python Version And Trac Installation?

Oct 30, 2010

I have debian SID,my repository has libapache2-mod-python version 3.3.1-9+b1 and python 2.6.6-6 No, i configured my apache and restarted my apache, but i saw following errors in the apache's log file:

[Sat Oct 30 15:14:06 2010] [error] python_init: Python version mismatch, expected '2.6.5+', found '2.6.6'.
[Sat Oct 30 15:14:06 2010] [error] python_init: Python executable found '/usr/bin/python'. [Sat Oct 30 15:14:06 2010] [error] python_init: Python path being used '/usr/lib/python2.6/:/usr/lib/python2.6/plat-linux2:/u

i can't downgrade my python and my libapache2-mod-python is last version.

View 1 Replies View Related

Debian :: Browsing HTML Documentation That Comes With Python Packages?

Nov 16, 2010

There seems to be a lot of documentation automatically installed on my hard drive, is there a unified browser for all of the -doc packages? Is it just the man command? What about the html documentation that comes with python packages? Is there an easy way to browse these? As it stands, all I know how to do is navigate to the directory and open the html file explicitly, it just seems like there might be an easier way. I've googled around and don't know exactly what I'm looking for.

View 11 Replies View Related

Ubuntu :: Multiple Python Packages / Config Trashed

Apr 9, 2011

This all started when my Screenlets stopped working. Then I noticed that my update notification stopped too. So, to the command line I went to do and update hoping it was a recent update that needed to be fixed.

Code:
sudo apt-get update && sudo apt-get upgrade

It appears that multiple python packages are trashed some how? Currently doing sudo apt-get -f install I get:

HTML Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
python-configglue python-ubuntuone-client libimobiledevice0 python-ubuntuone-storageprotocol python-twisted-web python-pyinotify libcouchdb-glib-1.0-2 .....

View 1 Replies View Related

Ubuntu :: Make A Program Use An Older Python Version?

Jun 3, 2011

I need to know how to make a program use a version of python older than the newest one. I am trying to run the Traipse fork of OpenRPG. Through their forums, I have learned that one of my problems is that I am running too new a version of python. I have python 2.7.1 installed.

I also have python2.6.6 installed, so I should be able to use that. My first thought was to uninstall 2.7.1 and just use the older version. The problem is that if i uninstall 2.7.1, it wants to also uninstall all the packages dependent on that program. Let's face it, in Natty Narwhal, that is pretty much everything.

Do you know how to force Traipse make it use the 2.6 version?

View 2 Replies View Related

Fedora :: Missing Python Packages Or Dependencies With F10->F12 Upgrade Breaks Yum?

Dec 15, 2009

I just finished upgrading the last of 3 machines from F10 to F12 using preupgrade (all i686). Except for a non-critical hplip issue, all went well with the first two machines upgraded 1 week and 3 days ago, but some python F10->F12 updates were missing on the third machine that I upgraded yesterday, leaving yum inoperable. Thanks to good yum error messages, I was able to resolve the problem (I think), but I thought I should post to check if mine is a unique or common problem, to enquire if it may have resulted from some of the python packages being in "update transit" in the repositories, and/or whether something like this can be avoided in future? Details follow:

Upgrade appeared to go well except for some dejavu font dependency issues (experienced on all three machines) and libcrypto.so.7 missing for eet-1.2.2-4... (third machine). However, there was a boot message that some python module (can't remember which) was not present for some nvidia requirement, although video driver worked fine. When testing yum: First it complained that libpython2.6.so.1.0 was not present. Since that module conflicted (identified by rpm) with various python 2.5.*f10 packages that that were still on board, I copied libpython2.6.so.1.0 (from a current f12 rpm) into /usr/lib manually. Second, yum complained that urlgrabber was not available, so rpm with the latest python-urlgrabber for f12 solved that.

Third, yum complained that pycurl was not available, so rpm with the latest python-pycurl solved that. Yum now works! and boot message is gone! I ran "yum install python-libs" to make sure that any necessary dependencies were met following my manual installation of libpython2.6.so.1.0, which resulted in a bunch of python dependencies being upgraded as a result.

View 1 Replies View Related

Ubuntu :: Delete All Python Packages That Were Installed By Checkinstall With The /usr Prefix?

Aug 31, 2010

I ran into this bug: [URL]...I checked that overwrite-local was set to 1. So I want to delete all python packages that were installed by checkinstall with the /usr prefix.

Now it has been some time since I did this and I dont really remember. Does anyone using checkinstall know how to spot packages installed via checkinstall? I already checked the FAQ and doc of checkinstall, but no info on this.

View 1 Replies View Related

Ubuntu Servers :: Changing Default Version Of Python In Lucid 10.04

Sep 17, 2010

how you change the default version of python in Lucid. Lucid comes packaged with 2.6 but we use 2.5 where I work. I didn't see much of anything on the web for this topic so figured I'd post something. If you are installing python2.5 on Lucid version 10.04 (comes package with 2.6 only)

View 1 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

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

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

General :: Specifying The Install Path Of A Python Package On Server?

Jun 23, 2010

I have been trying to install the NumPy package for Python on to my home directory, as I run as part of a server and do not have permissions to install new packages in the Linux server.

I have set up Python in my home directory, and have configured ~/.bash_profile to find my local Python (which works, confirmed by testing).

However, when I attempt to install the NumPy package, I get the message error: could not create '/usr/local/lib/python2.6': Permission denied Which I find strange because I do not see why it would need to install files anywhere except my local Python directory.

how I might be able to specify the directory in which files are installed?

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 :: Using Python 2.5 With Python 2.6 With F12?

Nov 30, 2009

Fedora 12 officially uses Python 2.6, good. But the Google AppEngine still goes by Python 2.5 and is showing import errors while i try to start the SDK. Here is the stack trace.

[URL]

View 3 Replies View Related

Ubuntu :: Python Interactive Session: "help()", Then "modules" Freezes Python?

Jan 12, 2011

This problem has to do with Python's interactive help (To get to the interactive help, just type help() at any interactive session). I like to browse all my installed Python modules, to see if I can find something that would be useful for my hobby programming projects. However, recently, typing modules (which is the command to list all installed modules) freezes the interactive session.

View 1 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







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