在 R 中,如何使用 reticulate 导入 mplsoccer
In R, how to use reticulate to import mplsoccer
我正在尝试通过 reticulate
包导入 python 包 (mplsoccer
),但我不能:
reticulate::py_install('mplsoccer')
这是我收到的消息:
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- mplsoccer
Current channels:
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/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 的初学者,所以我迷路了。有什么帮助吗?
这无法通过 Conda 获得,但可以在 PyPI 上获得。改为尝试:
reticulate::py_install('mplsoccer', pip=TRUE)
我正在尝试通过 reticulate
包导入 python 包 (mplsoccer
),但我不能:
reticulate::py_install('mplsoccer')
这是我收到的消息:
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- mplsoccer
Current channels:
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/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 的初学者,所以我迷路了。有什么帮助吗?
这无法通过 Conda 获得,但可以在 PyPI 上获得。改为尝试:
reticulate::py_install('mplsoccer', pip=TRUE)