Skip to content

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

@cesarecaputi

Description

@cesarecaputi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions