3drobotics / solo-cli

Solo command line utilities.
20 stars 36 forks source link

ERROR: Invalid script entry point: <ExportEntry solo = soloutils.__main__:None []> for req: solo-cli==1.2.0 - A callable suffix is required. #59

Open cesarecaputi opened 4 years ago

cesarecaputi commented 4 years ago

Hi, I have the 3DR Solo drone and I want to install the Solo cli. Typing the first two lines I get this warning:

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support

Also the -H flag is missing:

If executing pip with sudo, you may want sudo's -H flag.

Finally, when I run this command ''sudo pip install https://github.com/3drobotics/solo-cli/archive/master.zip --no-cache-dir'' I get this error:

Collecting https://github.com/3drobotics/solo-cli/archive/master.zip Downloading https://github.com/3drobotics/solo-cli/archive/master.zip

Can anyone help me fixing these errors? Thanks

hdtechk commented 4 years ago

Try the open solo github this one has been dead for years https://github.com/OpenSolo/solo-cli

You might actually get help there

kengregson commented 2 years ago

Also ran into this using Ubuntu 20.04 and solved it by cloning repo locally, changing line in setup.py from:

'solo = soloutils.__main__'

to:

'solo = soloutils:__main__'

and installing from local directory with:

sudo pip install .

Haven't tested anything yet, YMMV.