-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
pipenv cli without parameters show non-printable characters like [33m #5850
Comments
This is weird, I confirm this behavior on linux (but windows I don't see it). 🤔 @oz123 any ideas on this one? |
are we mixing click.secho and rich console somewhere? |
I'm using pipenv
$ pipenv --supportPipenv version: Pipenv location: Python location: OS Name: User pip version: user Python installations found: PEP 508 Information:
System environment variables:
Pipenv–specific environment variables:
Debug–specific environment variables:
|
$ lsb_release -a No LSB modules are available. Distributor ID: Linuxmint Description: Linux Mint 21.2 Release: 21.2 Codename: victoria $ gnome-terminal --version # GNOME Terminal 3.44.0 using VTE 0.68.0 +BIDI +GNUTLS +ICU +SYSTEMD $ python --version Python 3.11.4 $ pipenv --version pipenv, version 2023.8.21
Issue description
if I run the
pipenv
command without parameters, the output shows ASCII code of non-printable characters like[33m
. The output doesn't have colors.Expected result
I expect to see output without ASCII code of non-printable characters like the output of
pipenv -h
.Actual result
Steps to replicate
$ pipenv --support
Pipenv version:
'2023.8.21'
Pipenv location:
'/home/lhapaipai/.local/pipx/venvs/pipenv/lib/python3.10/site-packages/pipenv'
Python location:
'/home/lhapaipai/.local/pipx/venvs/pipenv/bin/python'
OS Name:
'posix'
User pip version:
'23.2.1'
user Python installations found:
PEP 508 Information:
System environment variables:
SHELL
SESSION_MANAGER
QT_ACCESSIBILITY
COLORTERM
PYENV_SHELL
XDG_CONFIG_DIRS
XDG_SESSION_PATH
GNOME_DESKTOP_SESSION_ID
LANGUAGE
SSH_AUTH_SOCK
DESKTOP_SESSION
GTK_MODULES
XDG_SEAT
PWD
LOGNAME
XDG_SESSION_DESKTOP
QT_QPA_PLATFORMTHEME
XDG_SESSION_TYPE
GPG_AGENT_INFO
XAUTHORITY
XDG_GREETER_DATA_DIR
GDM_LANG
HOME
LANG
LS_COLORS
XDG_CURRENT_DESKTOP
VTE_VERSION
XDG_SEAT_PATH
GNOME_TERMINAL_SCREEN
VOLTA_HOME
LESSCLOSE
XDG_SESSION_CLASS
TERM
LESSOPEN
USER
GNOME_TERMINAL_SERVICE
DISPLAY
SHLVL
XDG_VTNR
DESKTOP_AUTOSTART_ID
XDG_SESSION_ID
XDG_RUNTIME_DIR
PYENV_ROOT
GTK3_MODULES
XDG_DATA_DIRS
PATH
GDMSESSION
DBUS_SESSION_BUS_ADDRESS
_
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/home/lhapaipai/.pyenv/versions/3.11.4/bin:/home/lhapaipai/.pyenv/shims:/home/lhapaipai/.pyenv/bin:/home/lhapaipai/.volta/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/lhapaipai/.local/bin:/home/lhapaipai/bin:/home/lhapaipai/.local/bin:/home/lhapaipai/.local/bin
SHELL
:/bin/bash
LANG
:fr_FR.UTF-8
PWD
:/home/lhapaipai
The text was updated successfully, but these errors were encountered: