Skip to content
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

System Tcl packages are not found in tclsh $auto_path #42

Open
phil-blain opened this issue Apr 15, 2020 · 0 comments
Open

System Tcl packages are not found in tclsh $auto_path #42

phil-blain opened this issue Apr 15, 2020 · 0 comments

Comments

@phil-blain
Copy link

Issue: system Tcl packages are not found in the default search path inside the conda-installed tclsh


Environment (conda list):
$ conda list
...
tk                        8.6.10               hbbe82c9_0    conda-forge
...

Details about conda and system ( conda info ):
$ conda info
     active environment : cice
    active env location : /Users/Philippe/Logiciels/miniconda3/envs/cice
            shell level : 1
       user config file : /Users/Philippe/.condarc
 populated config files : /Users/Philippe/.condarc
          conda version : 4.8.2
    conda-build version : 3.18.11
         python version : 3.7.6.final.0
       virtual packages : __osx=10.11.6
       base environment : /Users/Philippe/Logiciels/miniconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/osx-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/osx-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /Users/Philippe/Logiciels/miniconda3/pkgs
                          /Users/Philippe/.conda/pkgs
       envs directories : /Users/Philippe/Logiciels/miniconda3/envs
                          /Users/Philippe/.conda/envs
               platform : osx-64
             user-agent : conda/4.8.2 requests/2.22.0 CPython/3.7.6 Darwin/15.6.0 OSX/10.11.6
                UID:GID : 502:20
             netrc file : None
           offline mode : False

I don't know the first thing about Tcl, but I noticed the following, on macOS 10.11:

# no active conda environment
$ tclsh
% puts $auto_path
/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/Scripts 
/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources /usr/lib ~/Library/Tcl 
/Library/Tcl /System/Library/Tcl /System/Library/Tcl/8.5 ~/Library/Frameworks 
/Library/Frameworks /System/Library/Frameworks
% exit

$ conda activate cice
$ tclsh
% puts $auto_path
/Users/Philippe/Logiciels/miniconda3/envs/cice/lib/tcl8.6 
/Users/Philippe/Logiciels/miniconda3/envs/cice/lib

This means that inside the environment, Tcl packages installed in the system directories are not found... is this desired behaviour ?

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

No branches or pull requests

1 participant