slush0 / stratum-mining-proxy

Application providing bridge between old HTTP/getwork protocol and Stratum mining protocol.
400 stars 280 forks source link

installation problem on ubuntu #93

Open aksharmty opened 6 years ago

aksharmty commented 6 years ago

Hi, I try to install proxy on ubuntu VPS on digital ocean using your ### Installation on Linux using Git method. on installation time on terminal show this error : Installed /usr/local/lib/python2.7/dist-packages/stratum_mining_proxy-1.5.7-py2.7-linux-x86_64.egg Processing dependencies for stratum-mining-proxy==1.5.7 Searching for stratum>=0.2.15 Reading http://pypi.python.org/simple/stratum/ Couldn't find index page for 'stratum' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading http://pypi.python.org/simple/ No local packages or download links found for stratum>=0.2.15 error: Could not find suitable distribution for Requirement.parse('stratum>=0.2.15') please write how to reslove this error or full coding for proxy installation on ubuntu . thanks

Lifar commented 6 years ago

try sudo python setup.py develop -i https://pypi.python.org/simple/

AnjinMeili commented 6 years ago

This works when there are no nested installed, but the stratum dependency fails also.

https://bugzilla.redhat.com/show_bug.cgi?id=1510444

Suggestions?

steowens commented 5 years ago

the above suggestion from Lifar does not work:

Installed /usr/local/lib/python2.7/dist-packages/stratum-0.2.15-py2.7.egg Searching for twisted>=12.2.0 Reading https://pypi.python.org/simple/twisted/ Best match: Twisted 18.9.0 Downloading https://files.pythonhosted.org/packages/5d/0e/a72d85a55761c2c3ff1cb968143a2fd5f360220779ed90e0fadf4106d4f2/Twisted-18.9.0.tar.bz2#sha256=294be2c6bf84ae776df2fc98e7af7d6537e1c5e60a46d33c3ce2a197677da395 Processing Twisted-18.9.0.tar.bz2 Writing /tmp/easy_install-kfcdDN/Twisted-18.9.0/setup.cfg Running Twisted-18.9.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-kfcdDN/Twisted-18.9.0/egg-dist-tmp-fatokF Checking .pth file support in . /usr/bin/python -E -c pass Searching for twisted>=16.4.0 Reading http://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 http://pypi.python.org/simple/ No local packages or download links found for twisted>=16.4.0 error: Could not find suitable distribution for Requirement.parse('twisted>=16.4.0')

steowens commented 5 years ago

Ubuntu 18.04 LTE

steowens commented 5 years ago

steve@miner-1:~/stratum-mining-proxy$ curl -v http://pypi.org/simple/twisted/

steowens commented 5 years ago

You have a goof in your configuration you forgot to use https and are using http

steowens commented 5 years ago

Reading http://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 http://pypi.python.org/simple/ Couldn't find index page for 'twisted' (maybe misspelled?)

juanpc2018 commented 5 years ago

The problem with Linux, is because it has the "Unix Philosophy", OSX has similar problem, because is son of NeXTOS brother of FreeBSD, grandson of UNIX v4.

backward compatibility is difficult, libraries change, kernel change, and most software becomes incompatible, must be recompiled or re written again... Windows is a bit more backward compatible, but still has some problems with some software, fail rate is less 1%-5% ?.

OSX 10.6, is almost a complete different OS vs. 10.7, vs 10.8, vs. 10.9 vs. 10.10, vs. 10.11, vs. 10.12, vs. 10.13 vs. 10.14, and they are all for intel. looks similar... has similar file system, file system is always 100% compatible... has similar name, but is totally incompatible >85% or more. to compile again, needs a different version of X-Code SDK, each version adds New security features, like request why the developer needs access to camera or finger, etc... Memo/Notes in the code, etc....

same or worse happens with Linux... .deb or .rpm, try $sh ./alien to convert .rpm to .deb Ubuntu 18, 17, 16, 15,14, 13, 12, 11, 10, 9

if Kernel is Not -generic, video card drivers cannot be installed, -generic is Not -preempt, -generic is Not -RealTime... -generic does Not allow AMD & Nvidia at same time. etc... etc.. etc.... the only good thing about Linux is -ifenslave network manager that allows to join different networks... "code created by NASA.", but cannot coexist with other Network managers.

my advise, if you want to use Linux "the easy way", is to download all older Ubuntu LTS versions, install and try, if Not, erase, install other, try again, if Not, erase, install & try again, try, try, try. Try other, Kubuntu, Pure Debian, AVLinux, 32-Bit & 64-Bit, FreeBSD, CentOS, Solaris, Xenix, RHEL, Gentoo, Slackware, Knoppix, Android, etc... https://tron.fandom.com/wiki/SolarOS https://en.wikipedia.org/wiki/Comparison_of_Linux_distributions https://en.wikipedia.org/wiki/List_of_Linux_distributions https://en.wikipedia.org/wiki/Comparison_of_operating_systems https://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux https://upload.wikimedia.org/wikipedia/commons/1/1b/Linux_Distribution_Timeline.svg https://upload.wikimedia.org/wikipedia/commons/6/69/DebianFamilyTree1210.svg https://upload.wikimedia.org/wikipedia/commons/7/79/UbuntuFamilyTree1210.svg https://upload.wikimedia.org/wikipedia/commons/8/8c/KnoppixFamilyTree1210.svg https://upload.wikimedia.org/wikipedia/commons/6/65/GentooFamilyTree1210.svg https://upload.wikimedia.org/wikipedia/commons/a/a8/SlackwareFamilyTree1210.svg

is True that most of the TOP500 Supercomputers use a version of Linux, but is Not standard Linux, its designed for Clusters, and is basically "incompatible with most Linux software & Hardware."

A good software designer codes SW as backward compatible as possible... but some cases its impossible.