Ubuntu Installation :: Python Imploded On Upgrade?

May 1, 2011

On upgrade I ran into this catch-22, and have almost 500 packages in limbo because of it. Any ideas on how to fix python-gobject or pycompile or whichever is angry?

Setting up python-gobject (2.28.3-1ubuntu1) ...
Traceback (most recent call last):
File "/usr/bin/pycompile", line 322, in <module>
main()
File "/usr/bin/pycompile", line 299, in main
options.force, options.optimize, e_patterns)

[Code]...

View 4 Replies


ADVERTISEMENT

Ubuntu Installation :: Python -> Upgrade 9.10 To 10.x From Command Line?

Oct 7, 2010

I had problems with python stuff and so update manager did not work. Also many other problems, PiTiVi was installed but did not start eg... After many trials of this and that I removed python-gtk2 and so also ubuntu desktop. But was unable to get it back. Now I cannot even shut down. While it is not possible to install desktop or anything else, would it be possible to fix this by upgrading the whole system to 10.04 (10.10?)? Would it fix python installation. How could I do it. Some info tells to change sources.list and run apt-get upgrade, but some tell not to do so.

t@t:~$ update-manager
Traceback (most recent call last):
File "/usr/bin/update-manager", line 26, in <module>

[code]....

View 9 Replies View Related

Fedora Installation :: Python Error When Trying To Upgrade F13 To 14?

Nov 27, 2010

I'm encountering a python error in the beginning of the upgrade. See screenshot. How can this be solved or should I indeed file a bug report? Problem is that except for taking the picture, I've been unable to save the info.

View 3 Replies View Related

Ubuntu Installation :: Python-lazr.uri After Upgrade To 10.04LTS 64bit?

May 28, 2010

After upgrading to 10.04LTR 64bit I encountered this problem below... I have already tried -f / --configure to no avail.

@ASUS-AMD64:~$ sudo apt-get upgrade Reading package lists. Building dependency tree Reading state information Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. Do you want to continue [Y/n]? y
Setting up python-lazr.uri (1.0.2-1) dpkg (subprocess): unable to execute installed post-installation script: Exec format error dpkg: error processing python-lazr.uri (--configure): subprocess installed post-installation script returned error exit status 2 Errors were encountered while processing: python-lazr.uri E: Sub-process /usr/bin/dpkg returned an error code (1)

View 6 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 :: Scribus Installation "python-tk" - "could Not Mark All Packages For Installation Or Upgrade"

Apr 6, 2010

When I tried to install scribus, it shows: could not mark all packages for installation or upgrade. The following packages have unresolvable dependencies. Make sure that all required repositories are added and enabled in the preferences. python-tk: Depends: python (<2.6) but 2.6.2-0ubuntu1 is to be installed

View 1 Replies View Related

CentOS 5 :: Upgrade Python Via Yum/rpm?

Apr 9, 2009

I'm using centos5 hiab with qmail and apache and i'm trying to install Mailman via: ./configure --prefix=/home/admin/mailman --with-mail-gid=qmail --with-cgi-gid=apache

and I get the error:

***** Distutils is not available or is incomplete for /usr/bin/python
***** If you installed Python from RPM (or other package manager)
***** be sure to install the -devel package, or install Python
***** from source. See sec. 15.1 of the Installation Manual for
***** details

Doing an rpm -qa | grep python
yields the following:
python-2.4.3-19.el5
libxml2-python-2.6.26-2.1.2

[Code]....

So it seems to me that the only thing I need to is upgrade(new install??) python-devel-2.4.3-19.e15

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

CentOS 5 :: Upgrade Python And Numpy Using Yum?

Aug 1, 2009

I would like to update Python v.2.4 and Numpy to Python v.2.6 and Numpy v.1.3. How can I do it. I heard that we can use "yum update", but I am not sure to do it correctly.

View 2 Replies View Related

Fedora :: Upgrade / Replace Current Python 2.5.2 On F10?

Dec 31, 2009

I have some tools that seem to have issues with Python 2.5 but are OK (on other systems) with Python 2.6. So, I was considering upgrading my Python interpreter to the current 2.6.4, but I know that in various RH distros, this was strongly discouraged. Is it OK to replace my current Python 2.5.2 on F10? If so, should that be done from source or can I do this cleanly through yum?

View 4 Replies View Related

Debian :: Squezee Upgrade And Python-imaging?

Feb 16, 2011

I have recently upgraded from lenny to squezee and I noticed some problems during upgrade with some python files. Now I have same problem with them and I need to resolve it so that I can install sane:

Code:
dpkg --configure -a
Setting up python-imaging (1.1.7-2) ...
Traceback (most recent call last):
File "/usr/local/lib/python2.5/runpy.py", line 95, in run_module
filename, loader, alter_sys)

[Code]...

aptitude -f install reports same problems with python-reportlab and python-imaging.

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

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

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

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 Installation :: Python-dev 2.6 Via Synaptic?

Apr 9, 2010

I have to install this file - python-dev 2.6 - to run FreeCAD. I found the file by googling it however the site 'strongly suggests downloading this file via the synaptic package manager'. How do I do this?

View 3 Replies View Related

Ubuntu Installation :: Upgrade From 10.04 To 10.10 Error "Could Not Calculate The Upgrade An Unresolvable Problem Occurred While Calculating The Upgrade"

Feb 12, 2011

I keep getting the following msg as I try to upgrade from 10.04 -> 10.10 ... "Could not calculate the upgrade An unresolvable problem occurred while calculating the upgrade: E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. This can be caused by:

* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu

If none of this applies, then please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bug report." I don't think any of the issues above apply - can anyone offer advice on how to get around or "force " the upgrade

View 1 Replies View Related

Ubuntu Installation :: Can't Find Python-hulahop In 10.04

May 1, 2010

I upgraded to 10.04 and noticed that python-hulahop package is nowhere to be found. This package used to be available in previous versions, and according to google it was supposed to be available in 10.04 too until recently: [URL] (this is the actual page that claims the link is erroneous) [URL](this is google cache for the same link that shows the package for lucid)

I'm trying to run Pyjamas Desktop, which requests the hulahop module (in 9.10, the precompiled python-hulahop did not work, but self-compiled version did. Now in 10.04 I can't find the source to compile the package myself either). Did it get replaced? Did it get included into another package?

View 2 Replies View Related

Ubuntu Installation :: Getting Opencv To Run With Python Support?

Oct 10, 2010

So I followed all the steps here.[URl].. whixh is basically the same steps as in the installation wiki.The problem is that I can't find the cv.so file in /usr/local/lib/python2.6/site-packages . the folder is empty.

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

Ubuntu Installation :: Uninstalled Python - Whole System Disappeared

Jan 29, 2010

Every time I booted in 9.10, Python requested a password. I didn't plan to do any programming very soon (I'm new to Linux, although I know Unix) because I'm just learning the shell, etc, so I decided to uninstall Python through the Package Manager. I selected all of the installed Python modules and when I clicked "Apply" I was informed that there was one module (Python minimum something) that would seriously effect the whole system, so I unchecked that module and then ran the uninstall. When it completed, Firefox was gone, the two music players I had installed where gone, I couldn't log out and when I try to reboot I get a message "Ubuntu is running in low-graphics mode" and I go through several other menus, but I still can't get the system to boot.I assume a reinstall is in order, but should I "clean up" any of the remaining Linux modules/partition? And what's the best way to do that?

View 1 Replies View Related

Ubuntu Installation :: When Trying To Run 'python Setup.py Build' Get An Error (Shown At The End)?

May 5, 2010

I would like to install pymedia on my ubuntu 9.10 karmic distribution, but I am having a bit of a hard time doing that.I managed to install all the libraries (lame, libogg, libvorbis etc.) but when trying to run 'python setup.py build' I get an error (Shown at the end).I found on the interwebs that it may have to do with the version of gcc c++ compiler running (currently gcc-4.4) and that it only works with gcc-3.x. Therefore I downloaded gcc-3.4 (from the old jaunty archive), and with this one still no joy.NebelhomP.S. I am not a complete newcomer to linux and python but I am not an expert so it may happen that I ask questions with a very obvious answer.

Code:
nebelhom@nebelhom-desktop:~/pymedia-1.3.7.3$ python setup.py build
Using UNIX configuration...

[code].....

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

Ubuntu Installation :: Update Stops With Python Message And Hang

Mar 25, 2011

I was doing a update via Synaptic Package Manager, after it is nearly finished i get that message: Processing triggers for python-central ... Nothing happend so i ctrl-c it and the packet manger shows me no other errors or something else, even all the packages who was marked for upgrade are now upgraded but what about that python message? Do i have to do some check ? or maybe even a repair or even worse re install the OS?

[Code]...

View 2 Replies View Related

Ubuntu Installation :: Upgrade Disaster - Warning "installation / Upgrade Should Not Be Interupted" - Computer Froze Up

Jun 1, 2010

While upgrading to a newer version of Ubuntu I noticed a warning saying that the installation/upgrade should not be interupted. Unfortunately though, during this process my computer froze up and I had to shut it down. Ubuntu no longer starts on my computer. I still have Windows though, which is what I'm using now.

View 3 Replies View Related

Debian Installation :: Get An Error That Python.h Is Not Found?

May 20, 2010

I am trying to building freeradius from source, but I get an error that python.h is not found ? !

checking for python2.3... python2.3
checking for Python.h... no
checking for Py_Initialize in -lpython2.3... no

But both python and python-dev are installed ?

[Code].....

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

General :: Fonts Conflict During Python Installation?

Apr 25, 2010

I am trying to install Python and during the installation the system returns "dejavu-sans-fonts conflicts with dejavu-fonts". I would imaging that removing one or other of these font packages will resolve the issue but don't understand how to do that.

View 2 Replies View Related







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