Software :: Python 3.2 On Squeeze - Import Error

Apr 2, 2011

I downloaded the source to Python3.2

Code:
make distclean
./configure
make
make install
ImportError: No module named _tkinter
readline support for the interpreter seems to be gone
a few other oddities here and there

Is there a configure options doc that I missed somewhere? Python2.6 works as expected, with readline, Tkinter, cigarette lighter... the works!

View 2 Replies


ADVERTISEMENT

Ubuntu Multimedia :: Gimp 2.7 And Python (Import Error - No Module Named Gimp)

Mar 2, 2010

If you had Gimp 2.6 (with gimp-plugin-registry installed) and installed Gimp 2.7 to try its new goodies, but Layer Effects are not showing, and when executing "gimp" from console you get these *nasty* errors:

Code:
This is a development version of GIMP. Debug messages may appear here.
gimp-user-install: migrating from /home/user/.gimp-2.6
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/layerfx.py", line 23, in <module>
import gimp, gimpplugin, math
ImportError: No module named gimp .....

If you haven't install the 2.7 version yet. Before upgrading, backup "python" directory and then just restore it after installing 2.7.

View 6 Replies View Related

General :: Why Can't The System Import Modules From The Python Standard Library In Ubuntu

Jan 22, 2011

The whole day was more or less spent reinstalling a basic Gnome Ubuntu system. Everything went swimmingly until I started with the XBMC part of the installation. After wrestling with PPAs and apt-get for hours I finally got it installed, but then it all turned awkward in a hurry. It simply refused to start up. I clicked the icon and nothing happened for a good few seconds. The screen then flickered black for an instant, but after that nothing. I started from a terminal and it showed an error message saying it couldn't import Python's os and shutil modules. I found that mighty strange since both modules are part of the Python Standard Library.

Finally, in a bizarre twist, it turns out this doesn't seem to be a XBMC problem, suddenly apt-get started complaining too. TL,DR: I (nor the system) can't import any Standard Library modules in Python in Ubuntu! Is this a path problem? Or have I actually managed to uninstall some vital python packages, if so which ones? I am running Ubuntu 10.10, but I don't think this is necessarily a Ubuntu specific problem. Here are some dumps to show the error messages: (I forgot to copy the XBMC error message, but it looked exactly the same as these below, i.e., it couldn't import the os module) First from apt-get:

Code:

tv@tv:/usr/lib$ sudo apt-get autoremove
[sudo] password for tv:
Reading package lists... Done
Building dependency tree

[code]....

View 1 Replies View Related

OpenSUSE Multimedia :: Cover Art Plugin Won't Load Because It Fails To Import Python-gstreamer

Jul 19, 2011

I've been using OpenSUSE 11.4 with GNOME for quite a while now and so far I've been a happy camper. This morning I decided to try GNOME 3 and the install went smoothly, with the only exception of rhytmbox(my music player of choice) not being available.Later I found rhythmbox for GNOME 3 in this repo: Index of /repositories/ GNOME:/ Apps/openSUSE_11.4+GNOME_STABLE_3.0.It works well but the Cover Art plugin won't load because it fails to import python-gstreamer.Should I report a bug against OpenSUSE 11.4 or maybe I am doing something wrong?

View 1 Replies View Related

General :: When Type"import WxPython" In "python Environment It Returns?

Jan 26, 2011

I have installed wxPython on my Ubuntu 9.10. But when I type"import wxPython" in "python environment it returns the followingerror.Does it need a PATH to be added in ".bashrc"? If so what should I write as a PATH for it?

>>> import wxPython
Traceback (most recent call last):
File "<stdin>", line 1, in <module>

[code]....

View 1 Replies View Related

Software :: Every Time Try To Install The Key Get Key 1 Import Error?

Aug 2, 2011

We are using centos6 and every time we try to install the key we get key 1 import error btw we are linux newbies so if you do help please try and spell things out cle

View 4 Replies View Related

SUSE :: Import Error: No Module Named Readline

Dec 5, 2009

I recently installed python in SLES and now i get the below error when running it.

Code:

The GCC team.
Distribution: SUSE Linux Enterprise 11
linux-ooix:~/Desktop # python3

[code]....

Import Error: No module named readline

View 7 Replies View Related

General :: Import Error: No Module Named Apsw

Mar 18, 2011

Python version 2.6 worked fine but since updating to version 3.1 and now 3.2 I cannot get beyond this error. I have also downloaded and installed APSW v3.7.5

View 2 Replies View Related

Debian :: Using LaTeX Text In Inkscape - PyXML Import Error

May 20, 2011

I want to use LaTeX text in Inkscape. Just a simple thing like $$x_i$$. There is an extension called textext with installation manual. Basically one have to copy four files into /usr/share/inkscape/extensions and one more option appears in Extensions menu. So far so good.

If I try to use that extension I get an error message:
Traceback (most recent call last):
File "/usr/share/inkscape/extensions/inklatex.py", line 7, in <module>
import xml.dom.ext.reader.Sax2
ImportError: No module named ext.reader.Sax2

Googling you can find several topics about that error from 2004 or earlier saying to install PyXML and providing a link to it, where it is said "Out of date. Do not use it." I have tried to build that PyXML though -- without success (lots of compile errors).

View 4 Replies View Related

Debian Programming :: Import Error / No Module Named Eyed3

Dec 10, 2013

I have installled eyeD3. It works on the commandline (bash). But I want use it in python3.

I did get this error:

Code: Select all>>> import eyed3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named eyed3

Why cant I use this module for reading and writing tag information to mp3 files?

View 4 Replies View Related

General :: Permission Denied Error While Import To Remote Repository Via Svn

Apr 19, 2010

I am importing my project to another machine on my LAN to the directory:

/srv/svn/repos/my-repo

where my-repo was created via svnadmin create option

The permissions of /srv/svn/repos/my-repo are

drwxr-xr-x 6 svn svn 4096 2010-04-19
17:30 my-repo

I executed following command to import myProject files to my-repo on remote system

sudo svn import -m "First import" myProject svn+ssh://baltusaj@192.2.12.133/srv/svn/repos/my-repo

This command started 'Adding' files but gave following error after 'Adding' 7 files

svn: Can't open file '/srv/svn/repos/baltoros-valgrind/db/txn-current-lock': Permission denied

View 1 Replies View Related

Red Hat :: WINE Runtime Error - Cannot Import Dll:C:usersxxxTempis-00IEG.tmpisskin.dll

May 6, 2011

im running a Red Hat Enterprise Linux 6 Server Machine. i tried this commnad

Quote:

wine QUBEEWCM.exe

but getting below error

Quote:

Runtime Error (at - 1:0): Cannot Import dll:C:usersxxxTempis-00IEG.tmpisskin.dll

View 3 Replies View Related

Fedora :: Error: Package Libobasis3.3-extension-pdf-import-3.3.1-8.x86_64.rpm Is Not Signed

Mar 21, 2011

When I tried to install LibreOffice 3.3_64 on my Fedora14_64 I received the following error:

Package libobasis3.3-extension-pdf-import-3.3.1-8.x86_64.rpm is not signed Has anyone run into this? Is there a way to fix this?

View 2 Replies View Related

Red Hat / Fedora :: GNS3 Configuration Error - Can't Import Qt Modules, PyQt Is Probably Not Installed

Apr 20, 2011

I am getting a error bellow error msg when running gns3, can some explain what needs to be done. Cant import Qt modules, PyQt is probably not installed?

View 1 Replies View Related

Ubuntu :: Python Error After Update To 11.04?

May 10, 2011

i update my ubuntu(10.10) to 11.04 when it update i got one error that say can not install python or upgrade . the installation finsh and i reboot my pc then ubuntu wont start i try to use

Code:
sudo dpkg --configure -a --force-all

my system repair but i still Have problem with python

the real issue is that when i install a package that require python the package wont install and say error:

Code:
Package python is not configured yet

View 5 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 :: Error: Missing Dependency: Python(abi)

Nov 23, 2009

I get this missing dependency: Error: Missing Dependency: python(abi) = 2.3 I've tried to find this, but can find only references to it in past versions of Fedora (<9). I'm running F11.

View 1 Replies View Related

Fedora :: Fatal Python Error After SW Update

Dec 8, 2009

Last night software updater notification showed 29 updates. I was building a liveCD image so decided create the image first then install the updates. After the updates were finished, I did a reboot because some packages required it, I logged on successfully, then I shutdown for the night. This morning when I executed the same command used to create the liveCD image, I get the following error.

[Code]....

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

General :: Python 2.6 Dependencies Error During Installations

Feb 11, 2011

I am trying to install vodafone mobile connect 2.10 (noarch.rpm) but keep getting a python = 2.6 is needed by python-sq*. I had Python 2.6 installed and upgraded to 2.6.6, but still got the error. What could I be doing wrong or what repositories are short on my openSuse 11.0 to have the installation work. I downloaded the correct version of vodafone for my system.

View 1 Replies View Related

Ubuntu :: Error While Installing Software Written In Python

Jul 1, 2010

For example, I want to install a texteditor called Editra, i done it like the following

First, I install the Editra
sudo apt-get install Editra - success ,its version is 0.5.30

Second, I run it in Terminal
Editra - it can work,but with the error infos "(python:1682): Gtk-CRITICAL **: gtk_widget_add_accelerator: assertion `GTK_IS_WIDGET (widget)' failed"

Third, I used command line "dpkg -L Editra", and found that the Editra is installed under /usr/share/pyshared/Editra,so i created the .desktop like this
sudo gedit /usr/share/applications/Editra.desktop

[Desktop Entry]
Encoding=UTF-8
Name=Editra
Comment=the Best TextEditor
Exec=/usr/share/pyshared/Editra
Icon=/usr/share/pyshared/Editra/pixmaps/editra.png
Terminal=false
Type=Application
Catergories=Development

It showed, and I clicked it for running, but it told me error infos
Could not launch 'Editra'
Failed to execute child process "/usr/share/pyshared/Editra" (Permission denied)
Not just Editra, so many software that written in python have the same question, such as tortoisehg...

View 2 Replies View Related

Debian :: Python-pkg-resources Returns Error Code

Apr 9, 2010

The system is Debian Squeeze/Sid with apt.conf set to Squeeze as the default. Most packages are from Squeeze.

I ran apt-get upgrade and it returned an error-code.

It might be it is this bug: Bug#574153: python-pkg-resources: Missing file leaves it unconfigured

I tried aptitude install -f, to hold it and to remove the package python-pkg-resources, but i am getting told the package would be in a very bad stage, and i should re-install it. That doesn't work.

View 1 Replies View Related

Software :: OpenShot - Invalid Python Installation Error

Jul 25, 2010

I'm trying to install Openshot 1.1.3. from source on Mandriva 2010. I don't understand what else I should do apart from the command "sudo python setup.py install", but clearly this isn't enough, because I get the following error message:

Error: invalid Python installation: unable to open /usr/lib/python2.6/config/Makefile (No such file or directory)

I've put the tarball at /usr/share/openshot-1.1.3. According to Software Management, I have python2.6 installed (and the other dependencies mentioned in the README), but what do I know. (I tried using an RPM file from rpm.pbone.net [URL], but that didn't work out either, I don't know whether this is the easier route or not.)

View 10 Replies View Related

Programming :: Python Script Gives Error - Broken Pipe

Jul 21, 2011

I am building a python script which works same as SMTP protocol. I have build separate functions in that for each command of SMTP, and after this i have integrated all those functions in a new function named as send_mail(so that i don't have to execute every function separately for every command). Now, when i execute the script for the first time it runs successfully, but for the second time it gives the error of "BROKEN PIPE". I really can't make out how the socket is getting closed.

View 5 Replies View Related

CentOS 5 :: Yum Python New Thread.error When Mysqld Is Running

Mar 13, 2009

I installed mysqld with yum then yum quit working with this error:http://yum.baseurl.org/ticket/70 when mysqld is stopped yum works again. what does a running instance of mysqld have in common with a python yum package manager?

rpm -qa rpm* python* yum* mysql* | sort
mysql-5.0.45-7.el5
mysql-devel-5.0.45-7.el5
mysql-server-5.0.45-7.el5

[Code]...

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

Debian Multimedia :: Miro Won't Start - Generates Python Error

Jul 6, 2015

Miro worked well with Wheezy. When I upgraded to Jessie Miro started generating a python error as such:

Code: Select all~$ miro
using /usr/bin/miro.real
Traceback (most recent call last):
  File "/usr/bin/miro.real", line 183, in <module>
    from miro import startfrontend
  File "/usr/lib/pymodules/python2.7/miro/startfrontend.py", line 53, in <module>

[Code] ....

I have been searching for a few weeks trying to find an answer to no avail. I tried three different kernels, renaming ~/.miro, checked all dependencies. I reported it as a bug which sat there for a few days and disappeared.

View 14 Replies View Related

Debian Programming :: Python-TK Alloc - Invalid Block Error

Sep 23, 2015

Just installed Debian 8 last night and trying to run one a few of my scripts that use easygui (a front-end for python-tk basically) and I keep getting alloc: invalid block any time a file or folder selection dialog is presented. I'm able to select a file/folder with no issues, but once the dialog closes I get a variation of what appears to be a memory error followed by alloc: invalid block.

Here's one of my scripts that does it. This one pops up a file selection dialog pretty early on to ask for a file to check, and as soon as I select any file the dialog closes and that error appears in the terminal. It happens whether I run it with Python 2 or Python 3. You will need to install python3-easygui for this script to run properly if you want to check for yourself what happens. This is a first time encountering this error for me.

View 1 Replies View Related

Ubuntu :: Saving Python Programs - Error Permission Denied

Apr 11, 2010

I wanted to save a python program because I am reading byte of python and I went to save in !/usr/bin. When I try to save in this folder I get this error "[Errno 13] Permission denied: 'usr/bin/helloworld.py'.

View 9 Replies View Related







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