M1 Mac创建虚拟环境遇到的问题

  • 报错信息
    PackagesNotFoundError: The following packages are not available from current channels:
    python=3.7
    Current channels:
    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/osx-arm64
    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/noarch
    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r/osx-arm64
    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r/noarch
    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2/osx-arm64
    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2/noarch
    To search for alternate channels that may provide the conda package you’re
    looking for, navigate to
    https://anaconda.org
    and use the search bar at the top of the page.
  • 解决办法
    我觉得可能是python版本老了,换python3.8就好了

你可能感兴趣的:(macos,python,virtualenv)