【hoomd-blue】AttributeError: module ‘fresnel.camera‘ has no attribute ‘orthographic‘解决办法

【hoomd-blue】AttributeError: module 'fresnel.camera' has no attribute 'orthographic'解决办法

最近在linux上学习分子动力学模拟软件hoomd-blue的使用,之前在miniconda3的jupyter notebook平台用得好好的,今天突然在输入

import ex_render

命令时,遇到了
AttributeError: module 'fresnel' has no attribute 'Device'
这个错误。

我找到miniconda的site-package,把fresnel删了,错误依旧没变。
输入

$ conda install -c conda-forge fresnel

这个命令没用,电脑认为fresnel还是最新版(可我已经删了啊)。
要用

$ conda update -c conda-forge fresnel

这个命令,就会让被删掉的fresnel库装回来。还顺便把其它的依赖程序都装了起来。
终于,

import ex_render

被程序通过了。

可紧接着,

ex_render.render_disk_frame(system.take_snapshot(all=true))

命令报错了
AttributeError: module 'fresnel.camera' has no attribute 'orthographic'
这回把

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值