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

sudo python3 setup.py install fail #81

Open
mcrisostomo opened this issue May 24, 2021 · 2 comments
Open

sudo python3 setup.py install fail #81

mcrisostomo opened this issue May 24, 2021 · 2 comments

Comments

@mcrisostomo
Copy link

mcrisostomo commented May 24, 2021

I'm trying to run the "sudo python3 setup.py install" command. No local packages for distro >=1.0.4 can be found and i can't go ahead. How can i proceed?

[UPDATE]
More information about my problem:

When i type sudo python3 setup.py install on my terminal, i've stopped on this message below:

Installed /usr/local/lib/python3.5/dist-packages/drcsim-2.0-py3.5.egg
Processing dependencies for drcsim==2.0
Searching for distro>=1.0.4
Reading https://pypi.python.org/simple/distro/
Couldn't find index page for 'distro' (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 distro>=1.0.4
error: Could not find suitable distribution for Requirement.parse('distro>=1.0.4')

Could someone help me to find a solution?

[UPDATE 2]
I think that I have found problem.

https://pypi.python.org has been changed to https://pypi.org

So, this URL https://pypi.python.org/simple/distro/ should be https://pypi.org/simple/distro/

I think that I have found problem.

https://pypi.python.org has been changed to https://pypi.org

So, this URL https://pypi.python.org/simple/distro/ should be https://pypi.org/simple/distro/

Does anyone know where can I change this URL?

Thanks

@JE-Matrix
Copy link

I'm definitely not an expert with these systems, but I was able to get the install to work by

  1. running 3 commands:
    A) "pip3 install netifaces==0.10.5"
    B) "pip3 install pexpect==4.2.1"
    C) "pip3 install distro==1.0.4"
  2. Removing: "'netifaces>=0.10.5', 'pexpect>=4.2.1', 'distro>=1.0.4'" from "install_requires=['netifaces>=0.10.5', 'pexpect>=4.2.1', 'distro>=1.0.4']" in setup.py

This should install the required prerequisites, and remove them from the check on install

@deretyy
Copy link

deretyy commented Jul 19, 2022

@JE-Matrix How do you remove them frm the check on install? Could you give me some help please :) thank you so much!

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