Skip to content

bug: default python in the container is incorrect if zsh is not used #580

@kemingy

Description

@kemingy

Description

build.envd

def build():
    base(os="ubuntu20.04", language="python3")
    install.python_packages(name=["ipython"])

Reproduction

envd up
envd@814312785d13:~/examples$ which python
/opt/conda/bin/python
envd@814312785d13:~/examples$ which python3
/usr/bin/python3
envd@814312785d13:~/examples$ which pip
/usr/bin/pip
envd@814312785d13:~/examples$ ipython
bash: ipython: command not found
envd@814312785d13:~/examples$ pip show ipython
WARNING: The directory '/home/envd/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Name: ipython
Version: 8.4.0
Summary: IPython: Productive Interactive Computing
Home-page: https://ipython.org
Author: The IPython Development Team
Author-email: [email protected]
License: BSD
Location: /home/envd/.local/lib/python3.8/site-packages
Requires: pexpect, pickleshare, decorator, setuptools, stack-data, pygments, prompt-toolkit, matplotlib-inline, backcall, jedi, traitlets
Required-by:
envd@814312785d13:~/examples$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/conda/bin:/usr/local/julia/bin

Additional Info


Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions