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 7907815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T11:39:00+00:00 2026-06-03T11:39:00+00:00

When I install bcfg2 – http://bcfg2.org using pip install git+git://git.mcs.anl.gov/bcfg2.git#egg=Bcfg2 or pip install bcfg2

  • 0

When I install bcfg2 – http://bcfg2.org using

pip install git+git://git.mcs.anl.gov/bcfg2.git#egg=Bcfg2

or

pip install bcfg2

I am able to get bcfg2 working. Calling sudo bcfg2-admin init, shows me the set-up configuration steps/stdin prompt as expected.

When I introduce the -e option like this (in a new/clean virtualenv),

pip install -e git+git://git.mcs.anl.gov/bcfg2.git#egg=Bcfg2

And I attempt to call sudo bcfg2-admin init, I get an error message:-

calvin$ bcfg2-admin init
Traceback (most recent call last):
  File "/Users/calvin/.virtualenvs/bcfg2/bin/bcfg2-admin", line 7, in <module>
    execfile(__file__)
  File "/Users/calvin/.virtualenvs/bcfg2/src/bcfg2/src/sbin/bcfg2-admin", line 6, in <module>
    import Bcfg2.Server.Core
ImportError: No module named Bcfg2.Server.Core

This leads me to think that there is something wrong with the way setup.py is written for bcfg2. The file is located here – https://github.com/Bcfg2/bcfg2/blob/master/setup.py

Appreciate any input from pythonistas who are experts with python packaging and the configuration of setup.py.

  • 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-03T11:39:01+00:00Added an answer on June 3, 2026 at 11:39 am

    The setup.py has a bug.

    Figured it out, fixed it and sent a pull request to bcfg2 maintainers.

    Reference – https://github.com/Bcfg2/bcfg2/pull/28

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

Sidebar

Related Questions

pip install --upgrade distribute throws the following error. Downloading/unpacking distribute from http://pypi.python.org/packages/sourc e/d/distribute/distribute-0.6.25.tar.gz#md5=a690874b9964d958a3200485eb827b1 d
How can I install packages that are in archive, in Windows ? http://cran.r-project.org/src/contrib/Archive/ When
brew install couchdb fails with: ==> Downloading http://www.apache.org/dyn/closer.cgi?path=couchdb/1.1.1/apache-couchdb-1.1.1.tar.gz File already downloaded in /Users/fairview/Library/Caches/Homebrew ==>
I install the threading building blocks(http://threadingbuildingblocks.org/ver.php?fid=174) in centos in directory /home/is_admin/tbb40_233oss/ This is my
AssemblyInstaller.Install expects a System.Collections.IDictionary. Am I right to be 'allergic' to using non-generic collections
Anyone install both? Using each for separate projects obviously. Shouldn't be a problem, I'm
During install of a windows service (using class MyServiceInstaller : Installer, and ServiceInstaller and
so I tried to install the android development tools but then I get this
The latest cabal-install that I've been using (0.13.3, from the darcs repo) is nice;
I install Visual C++ 2008 Express to develop code using native Win32 API. However,

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.