-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed as not planned
Labels
cli::posixpertains to the CLI in Posix compliant shells (e.g. Bash, Zsh, KornShell, etc.)pertains to the CLI in Posix compliant shells (e.g. Bash, Zsh, KornShell, etc.)locked[bot] locked due to inactivity[bot] locked due to inactivitysource::communitycatch-all for issues filed by community memberscatch-all for issues filed by community membersstale[bot] marked as stale due to inactivity[bot] marked as stale due to inactivitystale::closed[bot] closed after being marked as stale[bot] closed after being marked as staletype::bugdescribes erroneous operation, use severity::* to classify the typedescribes erroneous operation, use severity::* to classify the type
Description
Hello,
With the current version of conda, we have issues when using ksh shell, due to the use of the "local" builtin, which seems to be available in bash but not in ksh :
$ echo $SHELL
/bin/ksh
$ . /soft/conda/3/etc/profile.d/conda.sh
$ conda activate base
-ksh[84]: local: not found [No such file or directory]
usage: conda [-h] [-V] command ...
In bash the same installation works perfectly as expected.
Is ksh actually not supported or should this be considered as a bug ?
Thank you.
Here is the details of my environment :
Environment Information
conda info
$ conda info
active environment : base
active env location : /soft/conda/3
shell level : 1
user config file : /projets/lab/home/labusrm21/.condarc
populated config files : /soft/conda/3/.condarc
conda version : 4.5.11
conda-build version : not installed
python version : 3.7.0.final.0
base environment : /soft/conda/3 (read only)
channel URLs : https://repo-conda.python.intranet.cnp.fr:20443/pkgs/main/linux-64
https://repo-conda.python.intranet.cnp.fr:20443/pkgs/main/noarch
https://repo-conda.python.intranet.cnp.fr:20443/conda-forge/linux-64
https://repo-conda.python.intranet.cnp.fr:20443/conda-forge/noarch
https://repo-cnp.python.intranet.cnp.fr:20443/pkgs/public/linux-64
https://repo-cnp.python.intranet.cnp.fr:20443/pkgs/public/noarch
package cache : /soft/conda/3/pkgs
/projets/lab/home/labusrm21/.conda/pkgs
envs directories : /projets/lab/home/labusrm21/.conda/envs
/soft/conda/3/envs
platform : linux-64
user-agent : conda/4.5.11 requests/2.19.1 CPython/3.7.0 Linux/3.10.0-693.21.1.el7.x86_64 rhel/7.4 glibc/2.17
UID:GID : 64002:64000
netrc file : None
offline mode : False
conda config --show-sources
$ conda config --show-sources
==> /soft/conda/3/.condarc <==
ssl_verify: /etc/ssl/certs/ca-bundle.crt
channel_alias: https://repo-cnp.python.intranet.cnp.fr:20443/pkgs/
channels:
- https://repo-conda.python.intranet.cnp.fr:20443/pkgs/main
- https://repo-conda.python.intranet.cnp.fr:20443/conda-forge
- https://repo-cnp.python.intranet.cnp.fr:20443/pkgs/public
show_channel_urls: True
conda list --show-channel-urls
$ conda list --show-channel-urls
# packages in environment at /soft/conda/3:
#
# Name Version Build Channel
asn1crypto 0.24.0 py37_0 defaults
ca-certificates 2018.03.07 0 defaults
certifi 2018.8.24 py37_1 defaults
cffi 1.11.5 py37he75722e_1 defaults
chardet 3.0.4 py37_1 defaults
conda 4.5.11 py37_0 defaults
conda-env 2.6.0 1 defaults
cryptography 2.3.1 py37hc365091_0 defaults
idna 2.7 py37_0 defaults
libedit 3.1.20170329 h6b74fdf_2 defaults
libffi 3.2.1 hd88cf55_4 defaults
libgcc-ng 8.2.0 hdf63c60_1 defaults
libstdcxx-ng 8.2.0 hdf63c60_1 defaults
ncurses 6.1 hf484d3e_0 defaults
openssl 1.0.2p h14c3975_0 defaults
pip 10.0.1 py37_0 defaults
pycosat 0.6.3 py37h14c3975_0 defaults
pycparser 2.18 py37_1 defaults
pyopenssl 18.0.0 py37_0 defaults
pysocks 1.6.8 py37_0 defaults
python 3.7.0 hc3d631a_0 defaults
readline 7.0 h7b6447c_5 defaults
requests 2.19.1 py37_0 defaults
ruamel_yaml 0.15.46 py37h14c3975_0 defaults
setuptools 40.2.0 py37_0 defaults
six 1.11.0 py37_1 defaults
sqlite 3.24.0 h84994c4_0 defaults
tk 8.6.8 hbc83047_0 defaults
urllib3 1.23 py37_0 defaults
wheel 0.31.1 py37_0 defaults
xz 5.2.4 h14c3975_4 defaults
yaml 0.1.7 had09818_2 defaults
zlib 1.2.11 ha838bed_2 defaults
blaylockbk
Metadata
Metadata
Assignees
Labels
cli::posixpertains to the CLI in Posix compliant shells (e.g. Bash, Zsh, KornShell, etc.)pertains to the CLI in Posix compliant shells (e.g. Bash, Zsh, KornShell, etc.)locked[bot] locked due to inactivity[bot] locked due to inactivitysource::communitycatch-all for issues filed by community memberscatch-all for issues filed by community membersstale[bot] marked as stale due to inactivity[bot] marked as stale due to inactivitystale::closed[bot] closed after being marked as stale[bot] closed after being marked as staletype::bugdescribes erroneous operation, use severity::* to classify the typedescribes erroneous operation, use severity::* to classify the type