Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

installation problem on ubuntu #93

Open
aksharmty opened this issue Feb 28, 2018 · 7 comments
Open

installation problem on ubuntu #93

aksharmty opened this issue Feb 28, 2018 · 7 comments

Comments

@aksharmty
Copy link

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
Copy link

Lifar commented Mar 23, 2018

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

@AnjinMeili
Copy link

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
Copy link

steowens commented Dec 1, 2018

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
Copy link

steowens commented Dec 1, 2018

Ubuntu 18.04 LTE

@steowens
Copy link

steowens commented Dec 1, 2018

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

  • Trying 151.101.128.223...
  • TCP_NODELAY set
  • Connected to pypi.org (151.101.128.223) port 80 (#0)

GET /simple/twisted/ HTTP/1.1
Host: pypi.org
User-Agent: curl/7.58.0
Accept: /

< HTTP/1.1 403 SSL is required
< Server: Varnish
< Retry-After: 0
< Content-Type: text/plain; charset=UTF-8
< Content-Length: 16
< Accept-Ranges: bytes
< Date: Sat, 01 Dec 2018 05:45:45 GMT
< Connection: close
< X-Served-By: cache-sea1022-SEA
< X-Cache: MISS
< X-Cache-Hits: 0
< X-Timer: S1543643146.919405,VS0,VE0
< Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
< X-Frame-Options: deny
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< X-Permitted-Cross-Domain-Policies: none
<

  • Closing connection 0

@steowens
Copy link

steowens commented Dec 1, 2018

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

@steowens
Copy link

steowens commented Dec 1, 2018

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
Copy link

juanpc2018 commented Dec 1, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants