pyenv / pyenv-virtualenv

a pyenv plugin to manage virtualenv (a.k.a. python-virtualenv)
MIT License
6.34k stars 401 forks source link

pyenv-virtualenv: version '${version}' is not a virtualenv on Arch Linux #302

Open ayr-ton opened 5 years ago

ayr-ton commented 5 years ago

Hey, I'm the current maintainer of pyenv-virtualenv package for Arch Linux User Repository (https://aur.archlinux.org/packages/pyenv-virtualenv/).

After updating the package to 1.1.4 all the users of the package start experiencing the following error when trying to activate a virtualenv:

pyenv-virtualenv: version '${version}' is not a virtualenv 

This issue seems to be related to the following commit: https://github.com/pyenv/pyenv-virtualenv/commit/e0a1e9b35c2be386dbd91e686e57864690323a22

A workaround from one of our users was copying the pyenv-virtualenv-realpath from the GitHub repository to /usr/libexec but we could not perform the same workaround on the package itself per other package maintainers recommendations.

Thank you for your time reviewing this.

yyuu commented 5 years ago

Thanks for your effort on packaging 🙇 It is likely some problem in the installation script. I will try to make some another change to make it working. Please give it a try later.

yyuu commented 5 years ago

I mean, libexec has been added, but install.sh isn't managing the path at all. I'll fix it soon.

ayr-ton commented 5 years ago

Thanks @yyuu. Will wait for the new version and will update the package. \o/

yyuu commented 5 years ago

v1.1.5 has been released with including fix for installation script. Please give it a try later.