Conda环境中的TMUX错误:“创建窗口失败:fork失败:没有此类文件或目录”

发布于 2025-02-01 00:46:38 字数 6089 浏览 3 评论 0原文

我刚刚在Mac OS上创建并激活了一个新的Conda环境(Conda Create -name Tmux; source激活TMUX),并使用conda install -c conda -conda -forge tmux安装了TMUX代码>。到目前为止还不错,但是当我运行tmux时,我会得到错误消息创建窗口失败:fork失败:没有这样的文件或目录。这对我来说是非常神秘的,我找不到有关此问题的任何信息以及如何解决的信息。我没有.tmux.conf文件。这是运行conda信息的输出:

active environment : tmux                                                                                                                                 │
    active env location : /Users/me/miniconda3/envs/tmux                                                                                                  │    add new simulation code, updated method of coding introgression that has correct initial proportion, for thesis proposal
            shell level : 2                                                                                                                                    │~
       user config file : /Users/me/.condarc                                                                                                              │~
 populated config files :                                                                                                                                      │~
          conda version : 4.12.0                                                                                                                               │~
    conda-build version : not installed                                                                                                                        │~
         python version : 3.9.12.final.0                                                                                                                       │~
       virtual packages : __osx=10.13.6=0                                                                                                                      │~
                          __unix=0=0                                                                                                                           │~
                          __archspec=1=x86_64                                                                                                                  │~
       base environment : /Users/me/miniconda3  (writable)                                                                                                │~
      conda av data dir : /Users/me/miniconda3/etc/conda                                                                                                  │~
  conda av metadata url : None                                                                                                                                 │~
           channel URLs : 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/me/miniconda3/pkgs                                                                                                       │~
                          /Users/me/.conda/pkgs                                                                                                           │~
       envs directories : /Users/me/miniconda3/envs                                                                                                       │~
                          /Users/me/.conda/envs                                                                                                           │~
               platform : osx-64                                                                                                                               │~
             user-agent : conda/4.12.0 requests/2.27.1 CPython/3.9.12 Darwin/17.7.0 OSX/10.13.6                                                                │~
                UID:GID : 511:20                                                                                                                               │~
             netrc file : None                                                                                                                                 │~
           offline mode : False                                                                                                                                │~

这是conda list的输出:

# packages in environment at /Users/brogroh/miniconda3/envs/tmux:                                                                                              │~
#                                                                                                                                                              │~
# Name                    Version                   Build  Channel                                                                                             │~
ca-certificates           2022.5.18.1          h033912b_0    conda-forge                                                                                       │~
libevent                  2.1.10               h7d65743_4    conda-forge                                                                                       │~
ncurses                   6.3                  h96cf925_1    conda-forge                                                                                       │~
openssl                   3.0.3                hfe4f2af_0    conda-forge                                                                                       │~
tmux                      3.2a                 h749c5dd_0    conda-forge

I've just created and activated a new conda environment on Mac OS (conda create --name tmux; source activate tmux) and installed tmux using conda install -c conda-forge tmux. So far so good, but then when I run tmux I get the error message create window failed: fork failed: No such file or directory. This is pretty mysterious to me and I haven't been able to find any info about what this issue is and how to fix. I do not have a .tmux.conf file. Here is the output from running conda info:

active environment : tmux                                                                                                                                 │
    active env location : /Users/me/miniconda3/envs/tmux                                                                                                  │    add new simulation code, updated method of coding introgression that has correct initial proportion, for thesis proposal
            shell level : 2                                                                                                                                    │~
       user config file : /Users/me/.condarc                                                                                                              │~
 populated config files :                                                                                                                                      │~
          conda version : 4.12.0                                                                                                                               │~
    conda-build version : not installed                                                                                                                        │~
         python version : 3.9.12.final.0                                                                                                                       │~
       virtual packages : __osx=10.13.6=0                                                                                                                      │~
                          __unix=0=0                                                                                                                           │~
                          __archspec=1=x86_64                                                                                                                  │~
       base environment : /Users/me/miniconda3  (writable)                                                                                                │~
      conda av data dir : /Users/me/miniconda3/etc/conda                                                                                                  │~
  conda av metadata url : None                                                                                                                                 │~
           channel URLs : 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/me/miniconda3/pkgs                                                                                                       │~
                          /Users/me/.conda/pkgs                                                                                                           │~
       envs directories : /Users/me/miniconda3/envs                                                                                                       │~
                          /Users/me/.conda/envs                                                                                                           │~
               platform : osx-64                                                                                                                               │~
             user-agent : conda/4.12.0 requests/2.27.1 CPython/3.9.12 Darwin/17.7.0 OSX/10.13.6                                                                │~
                UID:GID : 511:20                                                                                                                               │~
             netrc file : None                                                                                                                                 │~
           offline mode : False                                                                                                                                │~

Here is the output from conda list:

# packages in environment at /Users/brogroh/miniconda3/envs/tmux:                                                                                              │~
#                                                                                                                                                              │~
# Name                    Version                   Build  Channel                                                                                             │~
ca-certificates           2022.5.18.1          h033912b_0    conda-forge                                                                                       │~
libevent                  2.1.10               h7d65743_4    conda-forge                                                                                       │~
ncurses                   6.3                  h96cf925_1    conda-forge                                                                                       │~
openssl                   3.0.3                hfe4f2af_0    conda-forge                                                                                       │~
tmux                      3.2a                 h749c5dd_0    conda-forge

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文