This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Description
- py-evm Version: 0.2.0a11
- OS: win
What is wrong?
pyethash won't build on Windows, and probably won't anytime soon. See Consensys/ethjsonrpc#5
The ethash code is C99, which is not well-supported under Windows.
This makes it impossible to install py-evm on Windows, as well as any package that depends on py-evm like the test suite in web3.py. (See ethereum/web3.py#166)
How can it be fixed
A couple options come to mind:
- Skip the
pyethash install on Windows, so that Windows users can install the EVM without mining capability
- Move the
pyethash dependency to an "extra" called something like mining.
Number 1 seems better, because it supports mining with a default installation, in non-Windows environments. Number 2 requires an install like pip install py-evm[mining] to support mining.
Does anyone see problems with 1 or 2, or a better solution?