Skip to content

sudo python setup.py install returns an error #61

@anthony-nyc

Description

@anthony-nyc

Installing ldtp script to /usr/bin

Installed /usr/lib/python2.7/site-packages/ldtp-3.5.1-py2.7.egg
Processing dependencies for ldtp==3.5.1
Searching for twisted
Reading https://pypi.python.org/simple/twisted/
Couldn't find index page for 'twisted' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
No local packages or download links found for twisted
error: Could not find suitable distribution for Requirement.parse('twisted')

So I looked around on the internet and finally installed twisted but still the same error.
Anyone has an idea?

[anthony@localhost ldtp2]$ pip install twisted
Requirement already satisfied: twisted in /home/anthony/.local/lib/python3.6/site-packages
Requirement already satisfied: zope.interface>=4.4.2 in /home/anthony/.local/lib/python3.6/site-packages (from twisted)
Requirement already satisfied: constantly>=15.1 in /home/anthony/.local/lib/python3.6/site-packages (from twisted)
Requirement already satisfied: hyperlink>=17.1.1 in /home/anthony/.local/lib/python3.6/site-packages (from twisted)
Requirement already satisfied: Automat>=0.8.0 in /home/anthony/.local/lib/python3.6/site-packages (from twisted)
Requirement already satisfied: attrs>=19.2.0 in /home/anthony/.local/lib/python3.6/site-packages (from twisted)
Requirement already satisfied: typing-extensions>=3.6.5 in /home/anthony/.local/lib/python3.6/site-packages (from twisted)
Requirement already satisfied: incremental>=21.3.0 in /home/anthony/.local/lib/python3.6/site-packages (from twisted)
Requirement already satisfied: setuptools in /opt/rh/rh-python36/root/usr/lib/python3.6/site-packages (from zope.interface>=4.4.2->twisted)
Requirement already satisfied: idna>=2.5 in /home/anthony/.local/lib/python3.6/site-packages (from hyperlink>=17.1.1->twisted)
Requirement already satisfied: six in /home/anthony/.local/lib/python3.6/site-packages (from Automat>=0.8.0->twisted)
You are using pip version 9.0.1, however version 22.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[anthony@localhost ldtp2]$

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