关注
码龄
粉丝数
原力等级 --
被采纳
被点赞
采纳率
Stars_0817
2022-05-26 14:20
采纳率: 50%
浏览 330
首页
Python
已结题
AttributeError: module 'numpy' has no attribute 'loglp'
python
遇到这个问题怎么解决啊
有尝试过安装numpy 但没有用啊 早就安装好了
收起
写回答
好问题
0
提建议
关注问题
微信扫一扫
点击复制链接
分享
邀请回答
编辑
收藏
删除
收藏
举报
1
条回答
默认
最新
关注
码龄
粉丝数
原力等级 --
被采纳
被点赞
采纳率
二九筒
2022-05-26 14:33
关注
你这写错了,不是loglp,是log1p,这儿是数字1不是l
本回答被题主选为最佳回答
, 对您是否有帮助呢?
本回答被专家选为最佳回答
, 对您是否有帮助呢?
本回答被题主和专家选为最佳回答
, 对您是否有帮助呢?
解决
7
无用
评论
打赏
微信扫一扫
点击复制链接
分享
举报
评论
按下Enter换行,Ctrl+Enter发表内容
查看更多回答(0条)
向“C知道”追问
报告相同问题?
提交
关注问题
AttributeError
:
module
'
numpy
' has no
attribute
'int'
python
2022-12-29 21:22
回答 2
已采纳
把.int改成.int32或者.int64试试
pycharm运行
python
文件时出现
AttributeError
:
module
'
numpy
' has no
attribute
'asscalar'的报错怎么解决
batch
python
2022-12-30 00:54
回答 3
已采纳
望采纳!!点击该回答右侧的“采纳”按钮即可采纳!!这个错误的原因是在使用
numpy
模块的时候,调用了不存在的方法asscalar。解决办法有两种:1.将代码中调用的asscalar方法替换为正确的方法
使用paddle框架部署深度学习在多块gpu上报错:
AttributeError
:
module
'paddle.fluid.contrib' has no
attribute
'reader'
paddle
python
深度学习
2022-08-31 14:54
回答 1
已采纳
既然整的是动态图就抛弃fluid吧,这个应该是paddle2中逐步移除了。你改用paddle1.7,1.8等版本试一下吧。
AttributeError
:
module
numpy
has no
attribute
int. 报错解决方案
2023-04-28 16:33
小林9的博客
【代码】
AttributeError
:
module
numpy
has no
attribute
int. 报错解决方案。
module
'
numpy
' has no
attribute
'astype'
python
2020-11-05 20:58
回答 1
已采纳
倒数第二行 im2=Image.fromarray(a2,np.astype("uint8")) fromarray后面指的是Mode参数,比如'rgb'
强化学习DQN:
AttributeError
: 'CartPoleEnv' object has no
attribute
'seed'
python
pytorch
深度学习
2022-09-15 12:25
回答 2
已采纳
你把gym换成0.25.2版本就行了。 pip install gym==0.25.2
module
random has no
attribute
choices
python
有问必答
2021-12-17 18:25
回答 3
已采纳
random.choices( )是
python
3.6版本之后的你可以使用random.choice()方法,非要使用random.choices( )的话,那就把
python
升级一下就ok了。
AttributeError
:
module
‘
numpy
‘ has no
attribute
‘int‘解决方案
2024-06-20 07:30
爱编程的喵喵的博客
本文主要介绍了
AttributeError
:
module
‘
numpy
’ has no
attribute
'int’解决方案,希望能对使用
numpy
的同学们有所帮助。 文章目录 1. 问题描述 2. 解决方案 2.1 方案一 2.2 方案二
python
安装mayavi后报错
AttributeError
python
有问必答
2022-02-06 16:45
回答 2
已采纳
pyqt4在下一个pyface主版本升级后将被弃用,尝试升级一下pyface版本并安装相关依赖。 https://docs.enthought.com/pyface/change
log
.html#re
数据处理时出现'float' object has no
attribute
'shape'怎么办?
python
2021-03-26 21:07
回答 5
已采纳
g_s_m.corr(g_a_d),类型转换一下 g_s_m = pd.Series(era5_list,dtype=np.float64)
matplotlib没有属性rcparams,我该咋办
python
有问必答
2022-06-08 22:33
回答 2
已采纳
注意大小写rcParams
AttributeError
:
module
‘
numpy
‘ has no
attribute
‘complex‘解决方案
2024-05-06 17:10
爱编程的喵喵的博客
本文主要介绍了
AttributeError
:
module
‘
numpy
’ has no
attribute
‘complex’.解决方案,希望能对使用
numpy
的同学们有所帮助。 文章目录 1. 问题描述 2. 解决方案
AttributeError
:
module
‘
numpy
‘ has no
attribute
‘float‘解决方案
2024-01-21 08:30
爱编程的喵喵的博客
本文主要介绍了
AttributeError
:
module
‘
numpy
’ has no
attribute
'float’解决方案,希望能对使用
numpy
和pandas的同学们有所帮助。 文章目录 1. 问题描述 2. 解决方案
AttributeError
:
module
numpy
has no
attribute
int .报错解决
2024-12-07 14:17
努力的BigJiang的博客
AttributeError
:
module
numpy
has no
attribute
int .报错解决
成功解决
AttributeError
:
module
‘
numpy
‘ has no
attribute
‘float‘.
2023-06-09 09:21
旋转的油纸伞的博客
出现这个问题是因为np.float从1.24起被删除。所用的代码是依赖于旧版本的
Numpy
。...在大多数情况下,只需将
numpy
的别名替换为内置的
Python
类型就可以解决问题。不用改代码的,就重新安装。或者用pip安装也可以。
没有解决我的问题,
去提问
向专家提问
向AI提问
付费问答(悬赏)服务下线公告
◇ 用户帮助中心
◇ 新手如何提问
◇ 奖惩公告
问题事件
关注
码龄
粉丝数
原力等级 --
被采纳
被点赞
采纳率
系统已结题
6月3日
关注
码龄
粉丝数
原力等级 --
被采纳
被点赞
采纳率
已采纳回答
5月26日
关注
码龄
粉丝数
原力等级 --
被采纳
被点赞
采纳率
创建了问题
5月26日