fava and beancount on Windows. It just works!

176 views
Skip to first unread message

Chary Chary

unread,
Feb 27, 2019, 6:43:58 PM2/27/19
to Beancount
Hello,

I read installation instructions for Windows , which seems to be quite complex (cygwin, dependencies etc). 
But been lazy I did nothing of this. I just ran

pip install fava

It took some time to install, but I found no errors.

I see now, that in my \Python\Python37-32\Scripts\ directory I can see all bean-XXX.exe files as well as fava.exe and flask.exe

I am also able to start fava.exe file.beancount and then open web interface in http://localhost:5000

And it all works! As simple as that. So, I am quite exited.

Is there anything wrong with such installation?

Note: I have python 3.7.2 on Windows 10

Martin Blais

unread,
Feb 27, 2019, 9:01:26 PM2/27/19
to Beancount
On Wed, Feb 27, 2019 at 6:44 PM Chary Chary <char...@gmail.com> wrote:
Hello,

I read installation instructions for Windows , which seems to be quite complex (cygwin, dependencies etc). 
But been lazy I did nothing of this. I just ran

pip install fava

It took some time to install, but I found no errors.

I see now, that in my \Python\Python37-32\Scripts\ directory I can see all bean-XXX.exe files as well as fava.exe and flask.exe

I am also able to start fava.exe file.beancount and then open web interface in http://localhost:5000

And it all works! As simple as that. So, I am quite exited.

Great to hear.
 

Is there anything wrong with such installation?

I don't know. I don't see anything wrong.
(I don't support Windows myself, beyond accepting patches from users to keep it working.)

 

Note: I have python 3.7.2 on Windows 10

--
You received this message because you are subscribed to the Google Groups "Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/71adbce9-de6a-427c-b60d-ed9b10b9b5b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Chary Chary

unread,
Mar 3, 2019, 7:49:24 PM3/3/19
to Beancount
Martin,
I guess it is related to my limited understanding of Python, but could point me out on to why pip install fava installed binary .exe files in the \Scripts\ directory, rather than installing standard .py files in appropriate   Lib\site-packages

fava / beancount is the 1st package I see doing this

Martin Blais

unread,
Mar 3, 2019, 8:17:17 PM3/3/19
to Beancount
I have no idea.
I don't run Windows nor have access to a computer running it. Maybe someone else on the list may chip in.


Chary Chary

unread,
Apr 7, 2019, 6:21:06 PM4/7/19
to Beancount


On Monday, March 4, 2019 at 2:17:17 AM UTC+1, Martin Blais wrote:
I have no idea.
I don't run Windows nor have access to a computer running it. Maybe someone else on the list may chip in.

Well, having thought of this, this is obviously some kind of windows equivalent  of the fact, that under Linux all beancount files are made directly executable by placing appropriate files under 

/home/userName/.local/bin



 


To unsubscribe from this group and stop receiving emails from it, send an email to bean...@googlegroups.com.

Alen Šiljak

unread,
Apr 15, 2019, 6:29:46 AM4/15/19
to Beancount
Can you confirm the versions that got installed? Note that the latest PyPi version of beancount is from January this year. That may or may not be what you want. ;)

Chary Chary

unread,
Apr 15, 2019, 12:07:01 PM4/15/19
to Beancount

On Monday, April 15, 2019 at 12:29:46 PM UTC+2, Alen Šiljak wrote:
Can you confirm the versions that got installed? Note that the latest PyPi version of beancount is from January this year. That may or may not be what you want. ;)

bean-check --version
Beancount 2.2.1

fava --version
fava, version 1.10

rkh...@gmail.com

unread,
Apr 17, 2019, 6:38:06 PM4/17/19
to Beancount
Looks like it's because they're marked as console_script in setup.py.

Olaf Om

unread,
Jan 22, 2020, 9:42:52 AM1/22/20
to Beancount
Which version of python are you using? Any prerequesites that you have installed before? When I run pip install fava, I run into errors.

Python 3.7.6

Olaf Om

unread,
Jan 22, 2020, 10:06:35 AM1/22/20
to Beancount
Got it. Installed Visual C++ Build Tools 2015 and it worked like a charm. Basically this is the Windows Installation Native from the manual.
Reply all
Reply to author
Forward
0 new messages