-
Notifications
You must be signed in to change notification settings - Fork 519
Changes for windows #104
Comments
@philippdonabauer thanks for the workaround. It worked for me. I will just post some step-by-step instructions to make it easier for anyone else to get this going. Installing ethash on Windows:
This should successsfully install ethash under Windows. |
thanks for the workaround, it enabled me to continue to build microraiden on windows 10. Any good method to quickly check if ethash works correctly using this workaoround? |
Those who get "Unable to find vcvarsall.bat" error when running "setup.py install" from instructions above, run this:
where python.exe is python 3 and ethash is in c:\test or otherwise modify the path in this code |
Thanks, it worked for me but i am finding it difficult to solve another problem. Thanks in advanced. |
I have followed the instruction and reload the PC. The error, by the way, is still there. Building wheels for collected packages: pyethash
|
Instead of : "w3[tester]" |
Hy im sorry im not sure that any of the workarounds will work now.. I created this ticket 6 Years ago ;) |
To make it useable under Windows please change Following lines. Then it works for Python!
In file mmap_win32.c add following code:
#pragma comment(lib, "Shell32.lib")
and in python/core.c change the
#include <alloca.h>
in:#if defined(_WIN32) || defined(WIN32) #include <malloc.h> #else #include <alloca.h> #endif
Thanks!
The text was updated successfully, but these errors were encountered: