无法使用 pip install 安装 pyansys
Cannot install pyansys using pip install
我正在 Pycharm 并希望安装 pyansys 软件包,但我一直收到此错误:
Collecting pyansys
Using cached pyansys-0.61.3.tar.gz (11 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
*** PyAnsys has moved (and expanded!) ***
To use PyAnsys you need to install the applicable packages for your
product:
MAPDL:
- ``pip install ansys-mapdl-core``
MAPDL Post-Processing:
- ``pip install ansys-mapdl-reader``
- ``pip install ansys-dpf-core``
- ``pip install ansys-dpf-reader``
PyAEDT
- ``pip install pyaedt``
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
所以我继续安装了除其中一个以外的所有软件包。我还安装了cython。唯一无法安装的软件包是 ansys-dpf-reader,这是它的错误消息
ERROR: Could not find a version that satisfies the requirement ansys-pdf-reader (from versions: none)
ERROR: No matching distribution found for ansys-pdf-reader
这是怎么回事?
所以似乎 'ansys-dpf-reader' 已更改为 'ansys-dpf-post',并且 'pyansys' 不再是一个包,但现在已扩展为这 5 个包。安装所有这些将允许正常使用旧的 pyansys。
我正在 Pycharm 并希望安装 pyansys 软件包,但我一直收到此错误:
Collecting pyansys
Using cached pyansys-0.61.3.tar.gz (11 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
*** PyAnsys has moved (and expanded!) ***
To use PyAnsys you need to install the applicable packages for your
product:
MAPDL:
- ``pip install ansys-mapdl-core``
MAPDL Post-Processing:
- ``pip install ansys-mapdl-reader``
- ``pip install ansys-dpf-core``
- ``pip install ansys-dpf-reader``
PyAEDT
- ``pip install pyaedt``
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
所以我继续安装了除其中一个以外的所有软件包。我还安装了cython。唯一无法安装的软件包是 ansys-dpf-reader,这是它的错误消息
ERROR: Could not find a version that satisfies the requirement ansys-pdf-reader (from versions: none)
ERROR: No matching distribution found for ansys-pdf-reader
这是怎么回事?
所以似乎 'ansys-dpf-reader' 已更改为 'ansys-dpf-post',并且 'pyansys' 不再是一个包,但现在已扩展为这 5 个包。安装所有这些将允许正常使用旧的 pyansys。