Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Installation problem on Windows #850

Open
tianyi2013 opened this issue Jan 8, 2018 · 5 comments
Open

Installation problem on Windows #850

tianyi2013 opened this issue Jan 8, 2018 · 5 comments

Comments

@tianyi2013
Copy link

Hi guys, I am having problem running the installation. I am on Windows 7, python 3.5.2 and Visual Studio 2015. When I run python setup.py install, it is complaining src/python/core.c(2): fatal error C1083: Cannot open include file: 'alloca.h': No such file or directory. I notice this is happening when it tries to install ethash. Looking at an old issue posted here I also notice there was also some blockers around LevelDB (#167). I am wondering is pyethereum ready on Windows yet?

@CryptoRootz
Copy link

yea im dealing with the same problem for python 3.6 and VS 2017 ......

@fireflystorm
Copy link

Same here.
Any development on how to install it on Windows?

@robertmagier
Copy link

Yep. I am having exactly same problem.

@fireflystorm
Copy link

fireflystorm commented Apr 7, 2018

So this is how I went around this problem.
If you look at the error message you will find out that it is related to a failure installing ethash(aka pyethash) library and not ethereum(aka pyethereum) itself.
If you look at ethash's github issue tracker you'll see quite a few issues related to installing it on Windows and will realise that basically Windows is not supported(!)...
That said someone came up with a hack that indeed allows you to install pyethash - ethereum/ethash#104. The hack requires you to clone the source code from github and modify two files.
You can then install ethash and after that ethereum itself.
Hope this helps.

@robertmagier
Copy link

robertmagier commented Apr 8, 2018 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants