Yes, unfortunately it has! Thanks Anze.

For the previous problem it might be worth noting that you can also pip install psycopg2 in your virtualenv but this does end up building an extension from source so it may not be suitable for all. I tend to use Anze's suggested solution for the most part.

Cheers,
    Gary

On 03/04/13 12:04, Anze Staric wrote:
I guess bhsearch escaped from requirements.txt :)

While standing in installer folder, run
   pip install ../bloodhound_search
to install it manualy. After that bloodhound_setup should finish successfully.


Anze

On Wed, Apr 3, 2013 at 12:47 PM, Marco Mangiante
<[email protected]> wrote:
Hello,
first of all, thank you for your reply. I tried your suggestion and I have no 
more that problem. I have another problem, however :-) I copy all the steps:

Creating and initialising project
---------------------------------------------------------------------Project 
environment for 'main' created.
You may now configure the environment by editing the file:
   
/opt/apache-bloodhound-incubating-0.5.2/installer/bloodhound/environments/main  
                                                                                
                                   /conf/trac.ini
If you'd like to take this new project environment for a test drive,try running 
the Trac standalone web server `tracd`:
   tracd --port 8000 
/opt/apache-bloodhound-incubating-0.5.2/installer/bloodhound                    
                                                                                
                 /environments/main
Then point your browser to http://localhost:8000/main.There you can also browse 
the documentation for your installedversion of Trac, including information on 
further setup (such asdeploying Trac to a real web server).
The latest documentation can also always be found on the projectwebsite:
   http://trac.edgewall.org/
Congratulations!
Adding TRAC_ADMIN permissions to the admin user adminRunning upgradesUpgrade 
done.
You may want to upgrade the Trac documentation now by running:
   trac-admin /opt/apache-bloodhound-incubating-0.5.2/installer/bloodhound/enviro                                             
                                                                        nments/main wiki upgradeTraceback (most recent call 
last):  File "bloodhound_setup.py", line 410, in <module>    bsetup.setup()  File 
"bloodhound_setup.py", line 236, in setup    'default-pages'))  File 
"/opt/apache-bloodhound-incubating-0.5.2/installer/bloodhound/local/lib/p                                                
                                                                     
ython2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 903,                                          
                                                                            in resource_filename    return 
get_provider(package_or_requirement).get_resource_filename(  File 
"/opt/apache-bloodhound-incubating-0.5.2/installer/bloodhound/local/lib/p                                                
                                                                     
ython2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 213,                                          
                                                                            in get_provider    
__import__(moduleOrReq)ImportError: No module named bhsearch

How to import or install the module bhsearch?

--Regards,
Marco Mangiante


Fata viam invenient (Virgilio)
I fati troveranno la via

From: [email protected]
Date: Wed, 3 Apr 2013 11:36:57 +0200
Subject: Re: Install problem: request psycopg2 package
To: [email protected]

Hi Marco.

Try replacing the third step in installation (virtualenv bloodhound) with
   virtualenv --system-site-packages bloodhound

The newer version of virtualenv do not give access to the global
site-packages dir to the created virtual environment, and since
apt-get installs packages in the global site-packages, that might be
your problem.


Anze

On Wed, Apr 3, 2013 at 11:24 AM, Marco Mangiante
<[email protected]> wrote:
Hello to everyone,
I have a problem during the installation of 0.5.2 version. I'm trying to 
install the package on a Debian Wheezy test machine and I chose to install 
postgres as database; I followed the guide 
(https://issues.apache.org/bloodhound/wiki/BloodhoundInstall) until the command:
python bloodhound_setup.py
After this command I receive this message at console:
E: Unable to locate package psycopg2
but if I write apt-get install psycopg2 I obtain the message:
python-psycopg2 is already the newest version.
Could someone help me to resolve this problem?

--Regards,
Marco Mangiante



Fata viam invenient (Virgilio)
I fati troveranno la via


Reply via email to