viper-framework / viper

Binary analysis and management framework
Other
1.54k stars 351 forks source link

sudo make install fails #683

Closed wirehack7 closed 6 years ago

wirehack7 commented 6 years ago

I'm going through the installation process as described here: https://viper-framework.readthedocs.io/en/latest/installation/

When doing that I get that error:

Installed /usr/local/lib/python3.5/dist-packages/six-1.10.0-py3.5.egg
error: The 'six==1.11.0' distribution was not found and is required by viper
Makefile:7: die Regel für Ziel „install“ scheiterte
make: *** [install] Fehler 1

I did install six:

$ pip3 install six==1.11.0
Collecting six==1.11.0
  Cache entry deserialization failed, entry ignored
  Cache entry deserialization failed, entry ignored
  Cache entry deserialization failed, entry ignored
  Downloading https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Installing collected packages: six
Successfully installed six-1.11.0

The error persists.

frennkie commented 6 years ago

Can you change this line six==1.11. into six in requirements-base.txt and try again?

frennkie commented 6 years ago

I think it's not related to the pinned version of six.

sudo make install seems more or less broken to me at the moment.

You can skip it and run sudo pip3 install -r requirements.txt directly to get the dependencies installed and the run viper from the local directory (./viper-cli or ./viper-web).

wirehack7 commented 6 years ago

With removing version string it works. I've got another problem now. But that's not part of this topic (wxPython won't install)

frennkie commented 6 years ago

make install run this:

python3 setup.py install --record installed_files.txt

And that seems to have problems with the requirements and some dependencies. I also got a similar error as you, didn't change anything and re-run (twice) sudo make install and then it completed without errors...

botherder commented 6 years ago

@frennkie On a clean install I'm getting this error instead:

Installed /usr/local/lib/python3.6/dist-packages/djangorestframework_queryfields-1.0.0-py3.6.egg error: The 'djangorestframework' distribution was not found and is required by viper make: *** [Makefile:7: install] Error 1

After a second run it instead gives:

Installed /usr/local/lib/python3.6/dist-packages/django_url_filter-0.3.8-py3.6.egg error: The 'Django' distribution was not found and is required by viper make: *** [Makefile:7: install] Error 1

After a third run, it worked...

botherder commented 6 years ago

Closing, as Makefile was dropped in favor of pip install.