globaleaks / globaleaks-whistleblowing-software

GlobaLeaks is a free and open-source whistleblowing software enabling anyone to easily set up and maintain a secure reporting platform.
https://www.globaleaks.org
Other
1.24k stars 272 forks source link

Failure in starting globaleaks: Unmet requirements cffi and enum34 #1804

Closed fpietrosanti closed 8 years ago

fpietrosanti commented 8 years ago

Instruction to fix dependency error after upgrades are incorrect with the path to execute "pip install" to be invalid.

The way to fix it is to adjust the path printed by removing "backend"

screen shot 2016-11-03 at 8 27 51 am
fpietrosanti commented 8 years ago

After trying to start the command with the right path (pip install -r /usr/share/globaleaks/requirements.txt), globaleaks does not yet start giving the same error:

screen shot 2016-11-03 at 8 37 16 am
evilaliv3 commented 8 years ago

The instructions are correct but sadly cannot apply to this really specific issue.

This issue affected a very limited set of releases and i expect not that much initiatives.

I leave here the commands and rename the ticket in order to be able to refind them:

When one gets exactly the error:


Unmet requirements:
     cffi==0.8.2 [ Installed 1.3.1 ]
     enum34==0.9.23 [ Installed 1.1.1 ]

the solution is to perform the following commands:

rm /usr/local/lib/python2.7/dist-packages/enum* -rf
rm /usr/local/lib/python2.7/dist-packages/cffi* -rf
pip install -r /usr/share/globalaks/backend/requirements.txt