I'm trying to install the pretermgrowth
python package from PyPI with reticulate::conda_install()
(running on Windows 10) and I'm getting the following error message:
library(reticulate)
conda_create("project-env")
conda_install("project-env", "pretermgrowth")
PackageNotFoundError: Packages missing in current channels:
- pretermgrowth
We have searched for the packages in the following channels:
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.continuum.io/pkgs/main/win-64
- https://repo.continuum.io/pkgs/main/noarch
- https://repo.continuum.io/pkgs/free/win-64
- https://repo.continuum.io/pkgs/free/noarch
- https://repo.continuum.io/pkgs/r/win-64
- https://repo.continuum.io/pkgs/r/noarch
- https://repo.continuum.io/pkgs/pro/win-64
- https://repo.continuum.io/pkgs/pro/noarch
- https://repo.continuum.io/pkgs/msys2/win-64
- https://repo.continuum.io/pkgs/msys2/noarch
I have the same problem when I also try to install without conda environments reticulate::py_install("pretermgrowth")
. For reference, I can pip install
the package just fine.
That led me to trying to install using pip = TRUE
, which gave me this error
conda_install("neo-extrauterine-growth", "pretermgrowth", pip = TRUE)
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
Error: Error installing package(s): "pretermgrowth"
I tried to follow the advice from this answer about putting specific Anaconda directories in my path, but no luck there either.
How can I install this package using reticulate
? Is something about the package broken?