You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Windows下Anaconda执行env create时ResolvePackageNotFound错误求助

Fixing ResolvePackageNotFound for spacy=0.101.0 and ptyprocess=0.5.1 in Anaconda

Hey there, let's work through this error you're facing when creating your robotreviewer environment. The root issue here is that those specific versions of spacy and ptyprocess are quite outdated—conda can't locate them in its default package channels anymore. Here are three actionable solutions to get past this:

  • Add the conda-forge channel to your environment creation command
    Conda-forge is a community-driven channel that often archives older package versions that aren't available in the default conda channels. Run this modified command to pull packages from conda-forge first:

    conda env create -f robotreviewer_env_local.yml -c conda-forge
    

    This tells conda to check conda-forge before its default channels, which might turn up those hard-to-find old versions.

  • Adjust the version constraints in your YAML file
    If conda-forge doesn't have those exact versions either, you'll need to loosen the version requirements. Open your robotreviewer_env_local.yml file and make these changes:

    • Replace spacy=0.101.0 with spacy>=2.0 (or a specific later version like spacy=2.3.7, which is stable and widely available)
    • Replace ptyprocess=0.5.1 with ptyprocess>=0.6.0 (or just remove the version number entirely to let conda pick a compatible version automatically)
      Save the file, then re-run the original environment creation command:
    conda env create -f robotreviewer_env_local.yml
    
  • Install the problematic packages via pip after environment setup
    If you absolutely need those exact old versions, you can create the environment without them first, then use pip to install the specific versions:

    1. Open your YAML file and comment out the lines for spacy=0.101.0 and ptyprocess=0.5.1 (add a # at the start of each line)
    2. Create the environment:
      conda env create -f robotreviewer_env_local.yml
      
    3. Activate the environment:
      conda activate robotreviewer_env_local
      
    4. Install the exact versions using pip:
      pip install spacy==0.101.0 ptyprocess==0.5.1
      

    Note: Using pip alongside conda can sometimes lead to dependency conflicts, but this is a common workaround for legacy package versions that conda can't find.

内容的提问来源于stack exchange,提问作者adelehasadi

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.29 07:10:17