Terminal clears on typing period (.) following `pip install <package>==<num>`
Opened this issue · 0 comments
wasimsandhu commented
Describe the bug
Noticed a strange bug when using the terminal in a notebook. I activated my virtual environment and started to install a specific version of a python package: pip install package==1.1.11
.
As soon as I type the first decimal point in the version number, the terminal clears and looks like this:
I can't reproduce this by simply typing 1.
, ==1.
or even install <package>==1.
. Only pip install <package>==<number>.
.
Additionally, I can't reproduce this when I don't activate my venv, and I don't encounter this behavior at all in my native terminal.
Environment
{
"marimo": "0.9.6",
"OS": "Darwin",
"OS Version": "23.6.0",
"Processor": "arm",
"Python Version": "3.12.3",
"Binaries": {
"Browser": "129.0.6668.91",
"Node": "v22.2.0"
},
"Dependencies": {
"click": "8.1.7",
"importlib-resources": "missing",
"jedi": "0.19.1",
"markdown": "3.7",
"pygments": "2.18.0",
"pymdown-extensions": "10.11.2",
"ruff": "0.6.9",
"starlette": "0.39.2",
"tomlkit": "0.13.2",
"typing-extensions": "missing",
"uvicorn": "0.31.1",
"websockets": "12.0"
},
"Optional Dependencies": {
"pandas": "2.2.3"
}
}
Code to reproduce
- Open terminal in notebook.
- Activate virtual environment with
source venv/bin/activate
- Start typing
pip install <package>==<number>
- Type
.