经过很多次尝试opticspy按照其文档页面上的说明进行安装后,此命令弹出
"python setup.py egg_info" failed with error code 1 in
C:\Users\[PC Name]\AppData\Local\Temp\pip-build-3xlemy6i\unwrap\ .
另外,当我下载opticspy(opticspy-0.2.1-py2.py3-none-any.whl)的wheel文件时,它已成功安装(如anaconda提示所言),但是当我尝试将其导入时Spyder,它说。
Traceback (most recent call last):
File "<ipython-input-3-824cab08504e>", line 1, in <module>
import opticspy
File "C:\Users\[PC Name]\Anaconda3\lib\site-packages\opticspy\__init__.py", line 12, in
<module>
from . import aperture, interferometer_seidel,interferometer_zenike
File "C:\Users\[PC Name]\Anaconda3\lib\site-packages\opticspy\aperture.py", line 3, in
<module>
import diffraction as __diffraction__
ModuleNotFoundError: No module named 'diffraction'
有人能帮我吗?我的项目研究真的需要这个软件包。提前致谢!
相关分类