AttributeError:'NoneType'对象没有属性'loader'

凸轮:

今天启动笔记本电脑(Ubuntu 18.4)并尝试使用pip安装软件包时遇到问题,我遇到此错误:

Error processing line 3 of /home/cjones/.local/lib/python3.6/site-packages/googleapis_common_protos-1.5.8-py3.6-nspkg.pth:

  Traceback (most recent call last):
    File "/usr/lib/python3.6/site.py", line 174, in addpackage
      exec(line)
    File "<string>", line 1, in <module>
    File "<frozen importlib._bootstrap>", line 568, in module_from_spec
  AttributeError: 'NoneType' object has no attribute 'loader'

Remainder of file ignored

自上次成功启动以来,我认为我没有进行任何更改,但似乎缺少了某些东西……有人可以帮忙吗?

Chankey Pathak:

删除/home/cjones/.local/lib/python3.6/site-packages/googleapis_common_protos-1.5.8-py3.6-nspkg.pth并重试。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

AttributeError:'NoneType'对象没有属性'tbody'

AttributeError: 'NoneType' 对象没有属性 'group'

AttributeError: 'NoneType' 对象没有属性 'asfreq'

“ AttributeError:'NoneType'对象没有属性'insert'”

AttributeError:'NoneType'对象没有属性'update'

AttributeError:'NoneType'对象没有属性'text'?

AttributeError:'NoneType'对象没有属性'current'

AttributeError: 'NoneType' 对象没有属性 '...'

AttributeError:'NoneType'对象没有属性'split'

AttributeError:'NoneType'对象没有属性'endswith'

AttributeError:'NoneType'对象没有属性'roles'

AttributeError:“ NoneType”对象没有属性“ _root”

AttributeError:“ NoneType”对象没有属性

AttributeError:“ NoneType”对象没有属性“ strip”

AttributeError: 'NoneType' 对象没有属性 'send'

AttributeError: 'NoneType' 对象没有属性 'scenePos'

AttributeError: 'NoneType' 对象没有属性 'foo'

AttributeError:“ NoneType”对象没有属性“ dtype”

AttributeError:'NoneType'对象没有属性'DoCmd'

AttributeError: 'NoneType' 对象没有属性 'sink'

AttributeError: 'NoneType' 对象没有属性 'attname'

AttributeError: 'NoneType' 对象没有属性 'setText'

AttributeError:'NoneType'对象没有属性'save'

AttributeError:'NoneType'对象没有属性'iterrows'

AttributeError:'NoneType'对象没有属性'pencolor'

AttributeError:“ NoneType”对象没有属性“ head”

(AttributeError: 'NoneType' 对象没有属性 'format')

AttributeError:'NoneType'对象没有属性'nrows'

AttributeError:'NoneType'对象没有属性'upper'