Are you installing with Docker bychance?

https://github.com/beancount/fava/blob/master/contrib/docker/Dockerfile#L13

This line is wrong now, the beancount installer depends on an .hg or .git
directory existing (whether that's a bug is a different story). I'll submit
a PR to fix the Dockerfile.

On Fri, May 11, 2018 at 10:59 PM <[email protected]> wrote:

> Hi,
>
> Is anyone else having this problem?
>
> Collecting beancount>=2.0
>   Using cached
> https://files.pythonhosted.org/packages/40/7c/d13ea52c9f990914683cb7baa25f6877653ca5097aa42ec51b08aa4c2834/beancount-2.1.0.tar.gz
>     Complete output from command python setup.py egg_info:
>     Traceback (most recent call last):
>       File "<string>", line 1, in <module>
>       File
> "/private/var/folders/qr/zf30qxdd6gs4sz0lg2zm772w005774/T/pip-install-7qg2frne/beancount/setup.py",
> line 172, in <module>
>         shell=False)
>       File
> "/Users/user/.pyenv/versions/3.6.5/lib/python3.6/subprocess.py", line 336,
> in check_output
>         **kwargs).stdout
>       File
> "/Users/user/.pyenv/versions/3.6.5/lib/python3.6/subprocess.py", line 403,
> in run
>         with Popen(*popenargs, **kwargs) as process:
>       File
> "/Users/user/.pyenv/versions/3.6.5/lib/python3.6/subprocess.py", line 709,
> in __init__
>         restore_signals, start_new_session)
>       File
> "/Users/user/.pyenv/versions/3.6.5/lib/python3.6/subprocess.py", line 1344,
> in _execute_child
>         raise child_exception_type(errno_num, err_msg, err_filename)
>     FileNotFoundError: [Errno 2] No such file or directory: 'hg': 'hg'
>
>
> If I install hg, still have error:
>
> Collecting beancount>=2.0
>   Using cached
> https://files.pythonhosted.org/packages/40/7c/d13ea52c9f990914683cb7baa25f6877653ca5097aa42ec51b08aa4c2834/beancount-2.1.0.tar.gz
>     Complete output from command python setup.py egg_info:
>     abort: no repository found in
> '/private/var/folders/qr/zf30qxdd6gs4sz0lg2zm772w005774/T/pip-install-bfi71jca/beancount'
> (.hg not found)!
>     fatal: Not a git repository (or any of the parent directories): .git
>     Traceback (most recent call last):
>       File
> "/private/var/folders/qr/zf30qxdd6gs4sz0lg2zm772w005774/T/pip-install-bfi71jca/beancount/setup.py",
> line 172, in <module>
>         shell=False)
>       File
> "/Users/user/.pyenv/versions/3.6.5/lib/python3.6/subprocess.py", line 336,
> in check_output
>         **kwargs).stdout
>       File
> "/Users/user/.pyenv/versions/3.6.5/lib/python3.6/subprocess.py", line 418,
> in run
>         output=stdout, stderr=stderr)
>     subprocess.CalledProcessError: Command '['hg', 'parent', '--template',
> '{node} {date}']' returned non-zero exit status 255.
>
>     During handling of the above exception, another exception occurred:
>
>     Traceback (most recent call last):
>       File "<string>", line 1, in <module>
>       File
> "/private/var/folders/qr/zf30qxdd6gs4sz0lg2zm772w005774/T/pip-install-bfi71jca/beancount/setup.py",
> line 177, in <module>
>         shell=False)
>       File
> "/Users/user/.pyenv/versions/3.6.5/lib/python3.6/subprocess.py", line 336,
> in check_output
>         **kwargs).stdout
>       File
> "/Users/user/.pyenv/versions/3.6.5/lib/python3.6/subprocess.py", line 418,
> in run
>         output=stdout, stderr=stderr)
>     subprocess.CalledProcessError: Command '['git', 'log', '--pretty=%H
> %ct', '-1']' returned non-zero exit status 128.
>
>
> 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/4ea05eae-294f-49f7-85e3-07ddd327b495%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/4ea05eae-294f-49f7-85e3-07ddd327b495%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAFFHUgsV1ck4GYXMW%3Dy7Z5_jX3Hdo6fO4%3De89j6sntM_z0UK0g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to