猿问

Anaconda3内的Spyder IDE安装Opticalspy-0.2.1模块错误

经过很多次尝试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'

有人能帮我吗?我的项目研究真的需要这个软件包。提前致谢!


一只名叫tom的猫
浏览 525回答 1
1回答
随时随地看视频慕课网APP

相关分类

Python
我要回答