-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows support #1
Comments
For reference: I'm the person who originally reported this. I do have another comment which I forgot to put in the report above: when I do set a value for
(Yes, that's the whole thing, it really did end with a colon) I suspect though that this is because I may be using the wrong Python installation; possibly I should be using the one in |
Thanks for trying it out and reporting back. I think I've made some progress addressing the issue you raised (though there are some other issues). First, I've made some updates to the repository, so go ahead and pull those. Next, you'll need to install python 3, ZeroMQ, pip, and libpcre into Stack's MSYS environment (I guess you've already done this part, but for posterity): stack exec -- pacman -Sy
stack exec -- pacman -S mingw64/mingw-w64-x86_64-python3 mingw64/mingw-w64-x86_64-zeromq mingw64/mingw-w64-x86_64-python3-pyzmq mingw64/mingw-w64-x86_64-python3-pip mingw64/mingw-w64-x86_64-libpcre
stack exec -- pip3 install -r pybits\requirements.txt Next, build with Finally, to run the program, I had to set PYTHONHOME as follows: stack exec -- env PYTHONHOME="%USERPROFILE%/AppData/Local/Programs/stack/x86_64-windows/msys2-20150512/mingw64/" ptghci If that path doesn't work for you, you should be able to figure out the correct path by doing something like Another issue on Windows is that the Alt-Enter keyboard combination seems to the CMD window to full-screen mode. You can get around this by using something like Conemu and disabling the hotkey (see here), but then pressing Alt-Enter seems to be create an \ESC in the input that causes errors. I probably need to evaluate a different keyboard combo for Windows users. |
Still doesn't work. The error message has gotten a bit shorter, which I suppose is a good sign, but it's still there:
|
Not directly related to your issue - but on Windows, it is a lot easier to install |
Taken from Reddit thread
The text was updated successfully, but these errors were encountered: