我已经为python 3和R开箱即用的Anaconda安装。我想为R安装一个软件包(beepr),该软件包无法通过conda install <package_name>
通过常规渠道找到。我查看了有关如何手动安装软件包的教程,并在stackoverflow上找到了这个问题(How to install R-packages not in the conda repositories?,rgalbo回答)。之后,我成功下载了软件包及其依赖项:
conda skeleton cran beepr
conda skeleton cran audio
但是当我尝试构建软件包时,它会失败。
conda build r-beepr
导致:
Adding in variants from internal_defaults
INFO:conda_build.variants:Adding in variants from internal_defaults
Attempting to finalize metadata for r-beepr
INFO:conda_build.metadata:Attempting to finalize metadata for r-beepr
Solving environment: ...working... failed
Adding in variants from config.variant
INFO:conda_build.variants:Adding in variants from config.variant
Missing dependency r-audio, but found recipe directory, so building r-audio first
Attempting to finalize metadata for r-audio
INFO:conda_build.metadata:Attempting to finalize metadata for r-audio
Solving environment: ...working... failed
和两个例外,结尾为:
raise ResolvePackageNotFound(bad_deps)
conda.exceptions.ResolvePackageNotFound: - m2-automake
raise DependencyNeedsBuildingError(exc, subdir=subdir)
conda_build.exceptions.DependencyNeedsBuildingError: Unsatisfiable dependencies for platform win-64: {'m2-automake'}
如果Itry首先建立依赖关系(音频),则会遇到相同的错误。如果'm2-automake'是我需要的另一个依赖包,我找不到它。我可以找到其他人,他们也有类似的错误和问题,但不是“ m2-automake”,答案对我来说往往没有多大意义。有人有主意吗?
一些系统信息:
conda version : 4.5.11
conda-build version : 3.10.9
python version : 3.6.5.final.0
platform : win-64