[英]Healpy installation failure
I am trying to install healpy in a venv I created. 我正在尝试在我创建的venv中安装healpy。 I successfully installed numpy and astropy but when i run the following: 我成功安装了numpy和astropy,但是当我运行以下命令时:
pip install healpy
or 要么
pip install -U healpy
the installation fails with a very long message, which starts with some 安装失败,并显示一条很长的消息,该消息以
UserWarning: Unknown Extension options: 'cython_directives'
and ends with a RED text ending in: 并以红色文字结尾,结尾为:
failed with error code 1 in /private/var/folders/bp/bvhb5c9n54n0pyyf6694m_z80000gn/T/pip-install-fvug_ld0/healpy/
can somebody help me correctly installing healpy in my venv? 有人可以帮助我在我的venv中正确安装healpy吗?
I figured I'd post my solution here since a better one is lacking. 我想我会在这里发布我的解决方案,因为缺少更好的解决方案。
pip install healpy==1.10.2
and 和
pip install healpy==1.10.3
worked and successfully installed the respective version of healpy in my venv. 工作并成功在我的venv中安装了相应版本的healpy。
For some reason more recent versions result in the error mentioned in the question. 由于某些原因,较新的版本会导致问题中提到的错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.