Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue May 11, 2020 · 2 comments

Comments

@cesarecaputi
Copy link

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
- 3.0 MB 3.4 MB/s
Requirement already satisfied: docopt>=0.6.2 in /usr/local/lib/python2.7/dist-packages (from solo-cli==1.2.0) (0.6.2)
Requirement already satisfied: ndg-httpsclient in /usr/local/lib/python2.7/dist-packages (from solo-cli==1.2.0) (0.5.1)
Requirement already satisfied: paramiko>=1.15.2 in /usr/lib/python2.7/dist-packages (from solo-cli==1.2.0) (2.0.0)
Requirement already satisfied: pyasn1 in /usr/lib/python2.7/dist-packages (from solo-cli==1.2.0) (0.4.2)
Requirement already satisfied: pyopenssl in /usr/lib/python2.7/dist-packages (from solo-cli==1.2.0) (17.5.0)
Requirement already satisfied: requests>=2.5.0 in /usr/lib/python2.7/dist-packages (from solo-cli==1.2.0) (2.18.4)
Requirement already satisfied: scp>=0.10.0 in /usr/local/lib/python2.7/dist-packages (from solo-cli==1.2.0) (0.13.2)
Building wheels for collected packages: solo-cli
Building wheel for solo-cli (setup.py) ... done
Created wheel for solo-cli: filename=solo_cli-1.2.0-py2-none-any.whl size=2468788 sha256=5bce9bdbee21654834dc1e72d4f7dd6853e600b11fe600b097c634657ccac422
Stored in directory: /tmp/pip-ephem-wheel-cache-IHdbx_/wheels/90/cf/c3/5ef86183f3d8e8593f4c552e49d6e5dc5323e6a24f6a09bfd9
Successfully built solo-cli
Installing collected packages: solo-cli
ERROR: Invalid script entry point: <ExportEntry solo = soloutils.main:None []> for req: solo-cli==1.2.0 - A callable suffix is required. Cf https://packaging.python.org/specifications/entry-points/#use-for-scripts for more information.

Can anyone help me fixing these errors?
Thanks

@hdtechk
Copy link

hdtechk commented May 11, 2020

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
Copy link

kengregson commented May 1, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants