社区
脚本语言
帖子详情
AttributeError: '_NamespacePath' oject has no attribute 'sort'
uuxxl
2017-04-01 10:20:33
win10 环境。安装anaconda,python3.6。能运行python程序,但是输入pip list,或者其他pip命令,jupyter notebook。都会报这个错误。
错误的详细截图:
请问大神怎么解决?
...全文
577
3
打赏
收藏
AttributeError: '_NamespacePath' oject has no attribute 'sort'
win10 环境。安装anaconda,python3.6。能运行python程序,但是输入pip list,或者其他pip命令,jupyter notebook。都会报这个错误。 错误的详细截图: 请问大神怎么解决?
复制链接
扫一扫
分享
举报
写回复
配置赞助广告
用AI写文章
3 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
uuxxl
2017-04-22
打赏
举报
回复
引用 2 楼 vonhehe 的回复:
解决了吗,我现在也被困扰
时间久远了,有点忘记,我没有再装anaconda,但是直接使用sklearn也会报这个错误。好像是python3的代码有问题。要修改一个文件。但是现在我找不到那个答案了。你可以去stackoverflow上面找找。
vonhng
2017-04-20
打赏
举报
回复
解决了吗,我现在也被困扰
屎克螂
2017-04-05
打赏
举报
回复
重装pip试试看
Python3:
Attribute
Error
: ‘_
Namespace
Path
‘ object has no
attribute
‘
sort
‘
Attribute
Error
: '_
Namespace
Path
' object has no
attribute
'
sort
' python3.6安装locust时,导致pip包出问题,出现报错
Attribute
Error
: '_
Namespace
Path
' object has no
attribute
'
sort
' 解决办法:按如下编辑大概#2121行 #orig_
path
.
sort
(key=position_in_sys_
path
) #module.__...
已解决
Attribute
Error
: ‘Series‘ object has no
attribute
‘
sort
level‘
已解决(pandas报错)
Attribute
Error
: ‘Series‘ object has no
attribute
‘
sort
level‘
[944]
Attribute
Error
:‘DataFrame‘ object has no
attribute
‘
sort
‘,‘as_matrix‘,‘ix‘
文章目录
Attribute
Error
:'DataFrame' object has no
attribute
'
sort
'
Attribute
Error
DataFrame object has no
attribute
as_matrix
Attribute
Error
: 'DataFrame' object has no
attribute
'ix'
Attribute
Error
:‘DataFrame’ object has no
attribute
‘
sort
’ 解决办法:将“
sort
”改为“
sort
_va
pip 运行报错
Attribute
Error
: ‘_
Namespace
Path
‘ object has no
attribute
‘
sort
‘
在linux上通过pip 安装meteva.1.6.3时出现了pip损坏的情况,之后pip运行时如下错误 解决方案是重新安装pip,在离线情况下安装pip的方法如下: 1、首先进入pip · PyPI下载和python版本相适应的pip版本的 .tar.gz包。 2、拷贝至linux中,解压 3、进入解压后文件夹 pip-xx.x.x中 4、输入 python setup.py install --user 安装 安装后重新输入pip -V测试是否成功 ...
_
Namespace
Path
‘ object has no
attribute
‘
sort
‘
在网上查找了一番,问题主要出在ubuntu的pip3上.准备手动重装pip3.解决方法如下: 一 安装setuptools模块 #先卸载系统的pip3 sudo apt install python3-pip #打开https://pypi.org/pr
oject
/setuptools/#files,下载setuptools包,解压后进入setuptools-40.4.3文件下开始安装 sudo ...
脚本语言
37,737
社区成员
34,208
社区内容
发帖
与我相关
我的任务
脚本语言
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
复制链接
扫一扫
分享
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
试试用AI创作助手写篇文章吧
+ 用AI写文章