Coder Social home page Coder Social logo

Comments (9)

mbevand avatar mbevand commented on July 20, 2024

Oh what a bummer! I wanted to support 14.04 and did not think my Python would be incompatible. Oh well I documented it in the readme. I certainly want to try to make 14.04 fully supported.

from silentarmy.

n1koo avatar n1koo commented on July 20, 2024

Seems to work in 14.04 after installing python3.5 manually. Seeing #9 but mining is totally fine and getting +40% boost compared to zogminer so this is pretty huge!

from silentarmy.

n1koo avatar n1koo commented on July 20, 2024

For anyone stumbling upon here looking at the same issue, heres a gist to install deps not available in 14.04 and also edit the silentarmy to use the custom 3.5 rather than 3.4 from system: https://gist.github.com/n1koo/7c0455b674d3c3a9d4cccf53837b270e

from silentarmy.

mbevand avatar mbevand commented on July 20, 2024

@n1koo Thank you for documenting the workaround in so much details! Also I added a pointer to this github issue: 6a038fe

from silentarmy.

lhl avatar lhl commented on July 20, 2024

Probably should have looked at the issues list earlier, but just in case it helps anyone before mrb gets a chance to review, I have a pending PR: #27 that should get the miner working in 3.3-3.4.3; I've tested on 3.3.6 in Arch but don't have any Ubuntu 14.04 LTS systems so maybe someone can give it a spin overnight and comment in the PR issue if it doesn't work. You can build/compile from https://github.com/lhl/silentarmy which is an up-to-date fork as of right now except for the asyncio backport code.

from silentarmy.

mbevand avatar mbevand commented on July 20, 2024

Yes I am going to look into lhl's pull request tomorrow.

from silentarmy.

PabloCastellano avatar PabloCastellano commented on July 20, 2024

I confirm that @lhl's branch works fine. I had to revert the sys.path commit and manually copy sa-solver to lib/asyncio though.

from silentarmy.

lhl avatar lhl commented on July 20, 2024

Hmm @PabloCastellano, that's interesting - so you reverted 0863a83?

The reason that I had to swap to sys.path.append() instead of sys.path.insert() is because silentarmy depends on sys.path[0] to assign the sa-solverlocation. By default sys.path[0] is usually ''. Arguably, sa-solver PATH should probably be assigned by setting a HOMEPATH or SOLVERPATH like how I set the LIBPATH with os.path.dirname(os.path.realpath(__file__)), but I was doing my best to design this patch to be the least invasive possible solution.

from silentarmy.

mbevand avatar mbevand commented on July 20, 2024

This is fixed - SA now requires Python 3.3 or above (instead of 3.5): 62a78cf

So SA works out of the box on Ubuntu 14.04.

from silentarmy.

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.