I managed to get this to work today with the following steps (in case it 
helps anyone).

choco install hg -y
choco install git -y
choco install python -y

choco install microsoft-build-tools -y                      # One of these 
might not be necessary.
choco install microsoft-visual-cpp-build-tools -y

cp 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x86\rc.exe' 
'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\'
cp 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x86\rcdll.dll' 
'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\'

py -m pip install --upgrade pip setuptools
py -m pip install virtualenv

hg clone https://bitbucket.org/blais/beancount/ Sources\Beancount
git clone https://github.com/beancount/fava Sources\Fava

virtualenv ./.env
.\.env\Scripts\activate

cd Sources
cd Beancount
pip install python-libmagic
pip install python-magic-bin
pip install -e .

cd ..\Fava\
make
pip install -e .


On Thursday, October 11, 2018 at 10:16:41 PM UTC, [email protected] wrote:
>
> Hello. I am attempting to install beancount and fava into a virtualenv on 
> Windows 10.
>
> I was able to successfully get beancount to work with the following:
>
> 1. Install python3.7 to C:\python37
> 2. Open PowerShell
> 3. mkdir D:\Environments
> 4. cd D:\Environments
> 5. virtualenv Finances
> 6. D:\Environments\Finances\Scripts\activate
> 7. pip install fava
>
> When I run fava it just returns immediately.
>
> Note:
>  - I have tried fava, fava --help, fava --debug, and fava <file>
>  - I initially installed beancount and fava from source into the 
> virtualenv using 'pip install -e .' but that exhibited the same behavior as 
> above so I don't think its a source problem.
>
> I also tried
> (Finances) D:\Environments\Finances> python
> Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit 
> (AMD64)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from fava.application import app
>
> which just returns me to the command prompt.
> $LASTEXITCODE in all cases is -1073741819
>
> Here is what was installed.
>
> (Finances) D:\Environments\Finances> pip list
> Package                       Version
> ----------------------------- ---------
> atomicwrites                  1.2.1
> attrs                         18.2.0
> Babel                         2.6.0
> backports.functools-lru-cache 1.5
> beancount                     2.1.3
> beautifulsoup4                4.6.3
> bottle                        0.12.13
> cachetools                    2.1.0
> certifi                       2018.8.24
> chardet                       3.0.4
> cheroot                       6.5.2
> Click                         7.0
> colorama                      0.4.0
> fava                          1.9
> Flask                         1.0.2
> Flask-Babel                   0.11.2
> google-api-python-client      1.7.4
> google-auth                   1.5.1
> google-auth-httplib2          0.0.3
> httplib2                      0.11.3
> idna                          2.7
> itsdangerous                  0.24
> Jinja2                        2.10
> lxml                          4.2.5
> markdown2                     2.3.6
> MarkupSafe                    1.0
> more-itertools                4.3.0
> pip                           18.1
> pluggy                        0.7.1
> ply                           3.11
> py                            1.6.0
> pyasn1                        0.4.4
> pyasn1-modules                0.2.2
> pyreadline                    2.1
> pytest                        3.8.2
> python-dateutil               2.7.3
> python-magic                  0.4.15
> pytz                          2018.5
> requests                      2.19.1
> rsa                           4.0
> setuptools                    40.4.3
> simplejson                    3.16.0
> six                           1.11.0
> uritemplate                   3.0.0
> urllib3                       1.23
> Werkzeug                      0.14.1
> wheel                         0.32.1
>
> Any ideas? Thanks.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/9a0293a1-5d5b-442f-97eb-9cc65860a6fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to