Skip to content
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

Lore assumes pyenv is installed in a specific way #170

Open
thomasfulton opened this issue Oct 20, 2020 · 1 comment
Open

Lore assumes pyenv is installed in a specific way #170

thomasfulton opened this issue Oct 20, 2020 · 1 comment

Comments

@thomasfulton
Copy link

Specifically it assumes it is NOT installed through brew, but manually installed by cloning the git repo. If you try to run lore install with pyenv installed this way you get

> lore install                                                                                                                                                                                   
WARNING pyenv executable is not present at /Users/thomasfulton/.pyenv/bin/pyenv
Would you like to blow away ~/.pyenv and rebuild from scratch? [Y/n] n
ERROR please fix pyenv before continuing

If you symlink your pyenv executable to that location you eventually get

fatal: not a git repository (or any of the parent directories): .git
Traceback (most recent call last):
  File "/Users/thomasfulton/.pyenv/versions/3.7.2/bin/lore", line 11, in <module>
    sys.exit(main())
  File "/Users/thomasfulton/.pyenv/versions/3.7.2/lib/python3.7/site-packages/lore/__main__.py", line 355, in main
    known.func(known, unknown)
  File "/Users/thomasfulton/.pyenv/versions/3.7.2/lib/python3.7/site-packages/lore/__main__.py", line 652, in install
    install_python_version()
  File "/Users/thomasfulton/.pyenv/versions/3.7.2/lib/python3.7/site-packages/lore/__main__.py", line 1098, in install_python_version
    subprocess.check_call(('git', '-C', env.PYENV, 'pull'))
  File "/Users/thomasfulton/.pyenv/versions/3.7.2/lib/python3.7/subprocess.py", line 347, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '('git', '-C', '/Users/thomasfulton/.pyenv', 'pull')' returned non-zero exit status 128.
@metatron1973

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants