pyroscope / pyrocore

:wrench: A collection of tools for the BitTorrent protocol and especially the rTorrent client
https://pyrocore.readthedocs.org/
GNU General Public License v2.0
291 stars 43 forks source link

Error cloning into 'pyrobase' - "Connection timed out" #126

Open Rouneq opened 4 months ago

Rouneq commented 4 months ago

Environment: Feral Hosting seedbox HD space: At least a couple hundred GB free

Following the instructions to install pyrocore. Below is what I'm seeing.

[server ~/private/rtorrent] /usr/bin/python --version
Python 2.7.13
[server ~/private/rtorrent] mkdir -p ~/bin ~/.local
[server ~/private/rtorrent] git clone "https://github.com/pyroscope/pyrocore.git" ~/.local/pyroscope
Cloning into '/media/sdu/<username>/.local/pyroscope'...
remote: Enumerating objects: 10709, done.
remote: Counting objects: 100% (309/309), done.
remote: Compressing objects: 100% (141/141), done.
remote: Total 10709 (delta 170), reused 260 (delta 168), pack-reused 10400
Receiving objects: 100% (10709/10709), 2.75 MiB | 0 bytes/s, done.
Resolving deltas: 100% (6967/6967), done.
[server ~/private/rtorrent] ~/.local/pyroscope/update-to-head.sh
~~~ On errors, paste EVERYTHING below ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Installing into /media/sdu/<username>/.local/pyroscope...
grep: /proc/1/cgroup: No such file or directory
/media/sdu/<username>/.local/pyroscope/update-to-head.sh: line 29: test: too many arguments
Using Python 2.7.13 (default, Feb  6 2022, 20:16:18)
[GCC 6.3.0 20170516]
Updating your installation...
Already up-to-date.
New python executable in /media/sdu/<username>/.local/pyroscope/bin/python2
Also creating executable in /media/sdu/<username>/.local/pyroscope/bin/python
Installing setuptools, pip, wheel...done.
Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661) - skipping
Requirement already up-to-date: pip in ./lib/python2.7/site-packages
Could not fetch URL https://pypi.python.org/simple/setuptools/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661) - skipping
Requirement already up-to-date: setuptools in ./lib/python2.7/site-packages
Could not fetch URL https://pypi.python.org/simple/wheel/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661) - skipping
Requirement already up-to-date: wheel in ./lib/python2.7/site-packages
Getting pyrobase...
Cloning into 'pyrobase'...
fatal: unable to connect to github.com:
github.com[0: 20.26.156.215]: errno=Connection timed out
katawajojo commented 3 months ago

take a look at #117 for a fix for the github connection.

As for the SSL error you're seeing, add this code to ~/.config/pip/pip.conf:

[global]
trusted-host = pypi.python.org
               pypi.org
               files.pythonhosted.org