ethash
ethash copied to clipboard
Running setup.py install for pyethash ... error ERROR: Command errored out with exit status 1: command: 'c:\users\mohsin\appdata\local\programs\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Mohsin\\AppData\\Local\\Temp\\pip-install-yfm6_fjc\\pyethash_25ac1e12a7a742309e1303ec7f4164a4\\setup.py'"'"'; __file__='"'"'C:\\Users\\Mohsin\\AppData\\Local\\Temp\\pip-install-yfm6_fjc\\pyethash_25ac1e12a7a742309e1303ec7f4164a4\\setup.py'"'"';f =...
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...
In Python 3.10 and 3.11, distutils has been formally marked as deprecated. Code that imports distutils will no longer work from Python 3.12. https://peps.python.org/pep-0632 Please update the build system to...
test/python/requirements.txt pyethereum==0.7.522 pyethereum is deprecated, so it would be advised to not use this dependency any more.
required for windows build
``` $ uname -a Linux ip-[redacted].ec2.internal 6.1.19-30.43.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Mar 15 14:44:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux ``` ``` Running setup.py install for pyethash ... error error:...
As you know, pip3 is now supported and installed along the Python .msi installer. The only compiler which can be used with the pip version installed with Python for Windows...
The `Sha3Hash` function was removed from go-ethereum in the 1.6.x series: commit 72dd51e25a5c1553a5a7fc5f0fb84fbe3546682f Author: Péter Szilágyi Date: Thu Jun 1 10:24:40 2017 +0300 Now we can just call `crypto.Keccak256Hash` directly....
we use mmap map the whole file, and ret->data is only part of the file without ETHASH_DAG_MAGIC_NUM ``` static bool ethash_mmap(struct ethash_full* ret, FILE* f) { int fd; char* mmapped_data;...