Update installation guidance for Windows.

112 views
Skip to first unread message

mpl...@gmail.com

unread,
Nov 17, 2018, 7:54:26 PM11/17/18
to Beancount
Guys hi,

Now the installation guidance suggest to use Cygwin or "Windows Subsystem for Linux" for Windows.

Cygwin was working fine with beancount, but when i tried to install smart importers on Cygwin it was hell.
Smart importers depend on scipy and installing it on Cygwin is very problematic
"git clone https://github.com/beancount/smart_importer.git
pip install --editable smart_importer"
on Cygwin does not work, gives lots of errors, etc.
after trying different ways i finally made it work using this
still it was very painful :)

But you don't really need cygwin now to run python on windows. Installing python/beancount directly on Windows was very easy in comparison.

What i did:
1 installed python from https://www.python.org/ (this video is helpful https://www.youtube.com/watch?v=gFNApsyhpKk)
(this installs pip, lxml, etc)
2 pip install python-libmagic
pip install python-magic-bin
(without them beancount ingest was giving error.
"$ bean-check" was passing the installation test, but beancount ingest was giving error)
3 pip install beancount
4 git clone https://github.com/beancount/smart_importer.git
pip install --editable smart_importer


I know not all beancount users will use smart_importer, but at least it will be easy for them to do if they will want to try it.

(p.s. i am using Windows 10, it might be different for Windows 7, but i believe Windows 10 is by far most widely used Windows version now)

mpl...@gmail.com

unread,
Nov 17, 2018, 8:03:06 PM11/17/18
to Beancount
Also when researching options to make scipy work on Cygwin/Windows i've met lots of recommendations to abandon Cygwin for Anaconda, but did not try it so can't comment on it.
Reply all
Reply to author
Forward
0 new messages