Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

colorize not available in shell and not included in installation instructions #381

Closed
drydenb opened this issue Mar 24, 2021 · 2 comments · Fixed by #470
Closed

colorize not available in shell and not included in installation instructions #381

drydenb opened this issue Mar 24, 2021 · 2 comments · Fixed by #470

Comments

@drydenb
Copy link

drydenb commented Mar 24, 2021

Hey there!

In the pyenv-virtualenv script, there is a reference to a command called colorize here.

To my knowledge, this command is not installed in most shells, and I wasn't able to find instructions in the README on how to install this dependency, or what version that dependency should be.

Could anyone shed some light on this dependency? Of course, the workaround is to not set PIP_VERSION and avoid the code block entirely, but currently it looks like this code can break after running the pyenv-installer in most shells if this env var is set.

@austinpray-mixpanel
Copy link

Furthermore, I get

colorize: foreground color '1' cannot be made of non-alphabetic characters

even with colorize/focal,now 0.64-1 amd64 on ubuntu 20.04

@native-api
Copy link
Member

native-api commented Nov 28, 2023

colorize is a shell function defined in python-build. Its use here is indeed a mistake. It needs to either be removed or copied over from there.

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

Successfully merging a pull request may close this issue.

3 participants