← Back to team overview

gufw-developers team mailing list archive

[Bug 1194791] Re: Python doesn't find modules in Ubuntu 13.04

 

It appears to me that your system has two python 2.7 installs; one from
the package manager, and one you installed manually for some reason. You
should install Gufw's dependencies on your manual python install, or get
rid of it and use the system-provided python install which should
already have them installed.

You can confirm by running `which python` and/or `which python2.7`; the
ubuntu python is provided in */usr/bin/* whereas the one you installed
manually is in */usr/local/bin/*

If you run the following command to ignore any traces of your manually
installed python

export PATH=$(echo $PATH|sed 's/:/\n/g'|grep -v local|tr '\n' ':')

And then run python on that same terminal you should be able to import
dbus, as well as run gufw.

-- 
You received this bug notification because you are a member of Gufw
Developers, which is subscribed to gui-ufw in Ubuntu.
https://bugs.launchpad.net/bugs/1194791

Title:
  Python doesn't find modules in Ubuntu 13.04

Status in Gufw:
  Invalid
Status in Python:
  New
Status in “gui-ufw” package in Ubuntu:
  Invalid

Bug description:
  The title is self-explanatory - Ubuntu 13.04 updated today - gufw
  13.04.0-0ubuntu1

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: gufw 13.04.0-0ubuntu1
  ProcVersionSignature: Ubuntu 3.8.0-26.38-generic 3.8.13.2
  Uname: Linux 3.8.0-26-generic i686
  ApportVersion: 2.9.2-0ubuntu8.1
  Architecture: i386
  Date: Wed Jun 26 09:22:01 2013
  InstallationDate: Installed on 2013-03-03 (114 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.2)
  MarkForUpload: True
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: gui-ufw
  UpgradeStatus: Upgraded to raring on 2013-04-26 (60 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gui-ufw/+bug/1194791/+subscriptions