evyatarmeged/Raccoon

setup.py fails with both python2 + python3 on Ubuntu Focal

davidfavor opened this issue · 2 comments

Mention an alternative setup approach.

Thanks!

lxd: net17-website-tester # lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04 LTS
Release:	20.04
Codename:	focal

lxd: net17-website-tester # git clone https://github.com/evyatarmeged/Raccoon.git racoon.git
Cloning into 'racoon.git'...
remote: Enumerating objects: 1472, done.
remote: Total 1472 (delta 0), reused 0 (delta 0), pack-reused 1472
Receiving objects: 100% (1472/1472), 904.22 KiB | 11.90 MiB/s, done.
Resolving deltas: 100% (1003/1003), done.

lxd: net17-website-tester # cd racoon.git

lxd: net17-website-tester # git pull
Already up to date.

lxd: net17-website-tester # python2 setup.py 
Traceback (most recent call last):
  File "setup.py", line 1, in <module>
    from setuptools import setup, find_packages
ImportError: No module named setuptools

lxd: net17-website-tester # python3 setup.py 
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: no commands supplied

Hey David, you forgot to specify a command (install) hence the error: no commands supplied msg.
Use python3 setup.py install inside the Raccoon folder.

Thanks for the info!