Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8340813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:17:01+00:00 2026-06-09T05:17:01+00:00

I installed the package python-gconf on Ubuntu 12.04 and played with it: it’s a

  • 0

I installed the package python-gconf on Ubuntu 12.04 and played with it: it’s a python binding to the gnome configuration tool, and there is no pypi package for it.

As soon as I created a virtualenv (without --no-site-packages), any attempt to import gconf would lead to ImportError.

The gconf module works fine at the system level, but not in the virtual env. I investigated, and opening python-gconf.deb teached me that it’s just a gconf.so binary.

Searching for it tells me it’s been installed in /home/lib/python2.7/dist-packages/gtk-2.0/gconf.so

I did try to force Python hands:

sudo ln -s /usr/lib/python2.7/dist-packages/gtk-2.0/gconf.so ~/.virtualenvs/appetizer/lib/python2.7/site-packages/

But it only resulted in:

>>> import gconf
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: could not import gobject (error was: 'No module named gobject')

So I’m guessing it’s very dependant to GTK.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T05:17:03+00:00Added an answer on June 9, 2026 at 5:17 am

    You should create your virtualenv using --system-site-packages option to make all system packages visible. Symlinking external packages into virtualenv’s structure also works for most situations when you need only one external package.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There is lxml module installed on my system (debian package python-lxml , for python
I had installed the python package named requests . (pip install -i http://pip.kennethreitz.com/simple requests)
I have installed python 32 package to the C:\python32 I have also set the
I want to install this python package: http://pypi.python.org/pypi/netifaces/0.5 But I don't know how and
Preface The official python package python-openid (as distributed through pypi.org) does not work with
I've installed Python 2.7 from the python-2.7.amd64.msi package from python.org. It installs and runs
I am running Ubuntu 10.04, I have python installed and running fine. When I
I have a python package previously installed via apt(by default). Now I want to
I just installed the py27-numpy package via MacPorts and python will not find the
Given the name of a Python package that can be installed with pip ,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.