rolandoislas / drc-sim

Wii U Gamepad Simulator Backend
Other
167 stars 33 forks source link

sudo python3 setup.py install fail #81

Open mcrisostomo opened 3 years ago

mcrisostomo commented 3 years ago

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 commented 3 years ago

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 commented 2 years ago

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