Giter VIP home page Giter VIP logo

Comments (8)

Lifar avatar Lifar commented on August 15, 2024

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

from stratum-mining-proxy.

AnjinMeili avatar AnjinMeili commented on August 15, 2024

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

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

Suggestions?

from stratum-mining-proxy.

steowens avatar steowens commented on August 15, 2024

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')

from stratum-mining-proxy.

steowens avatar steowens commented on August 15, 2024

Ubuntu 18.04 LTE

from stratum-mining-proxy.

steowens avatar steowens commented on August 15, 2024

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

from stratum-mining-proxy.

steowens avatar steowens commented on August 15, 2024

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

from stratum-mining-proxy.

steowens avatar steowens commented on August 15, 2024

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?)

from stratum-mining-proxy.

juanpc2018 avatar juanpc2018 commented on August 15, 2024

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.

from stratum-mining-proxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.