超级无敌究极AI缝合奥特曼大王 2021-04-24 13:54 采纳率: 100%
浏览 41
已结题

python界的大佬们,康康baby

输入pip install wordcloud后,就出现了这个

Traceback (most recent call last):
  File "d:\python3.8.3\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "d:\python3.8.3\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "D:\python3.8.3\Scripts\pip.exe\__main__.py", line 5, in <module>
  File "d:\python3.8.3\lib\site-packages\pip\_internal\__init__.py", line 40, in <module>
    from pip._internal.cli.autocompletion import autocomplete
  File "d:\python3.8.3\lib\site-packages\pip\_internal\cli\autocompletion.py", line 8, in <module>
    from pip._internal.cli.main_parser import create_main_parser
  File "d:\python3.8.3\lib\site-packages\pip\_internal\cli\main_parser.py", line 7, in <module>
    from pip._internal.cli import cmdoptions
  File "d:\python3.8.3\lib\site-packages\pip\_internal\cli\cmdoptions.py", line 24, in <module>
    from pip._internal.models.search_scope import SearchScope
  File "d:\python3.8.3\lib\site-packages\pip\_internal\models\search_scope.py", line 11, in <module>
    from pip._internal.utils.misc import normalize_path, redact_password_from_url
  File "d:\python3.8.3\lib\site-packages\pip\_internal\utils\misc.py", line 21, in <module>
    from pip._vendor import pkg_resources
  File "d:\python3.8.3\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 84, in <module>
    __import__('pip._vendor.packaging.requirements')
  File "d:\python3.8.3\lib\site-packages\pip\_vendor\packaging\requirements.py", line 9, in <module>
    from pip._vendor.pyparsing import stringStart, stringEnd, originalTextFor, ParseException
  File "d:\python3.8.3\lib\site-packages\pip\_vendor\pyparsing.py", line 5257, in <module>
    _escapedPunc = Word( _bslash, r"\[]-*.$+^?()~ ", exact=2 ).setParseAction(lambda s,l,t:t[0][1])
  File "d:\python3.8.3\lib\site-packages\pip\_vendor\pyparsing.py", line 1442, in setParseAction
    self.parseAction = list(map(_trim_arity, list(fns)))
  File "d:\python3.8.3\lib\site-packages\pip\_vendor\pyparsing.py", line 1211, in _trim_arity
    this_line = extract_stack(limit=2)[-1]
  File "d:\python3.8.3\lib\site-packages\pip\_vendor\pyparsing.py", line 1195, in extract_stack
    frame_summary = traceback.extract_stack(limit=-offset+limit-1)[offset]
  File "d:\python3.8.3\lib\traceback.py", line 211, in extract_stack
    stack = StackSummary.extract(walk_stack(f), limit=limit)
  File "d:\python3.8.3\lib\traceback.py", line 366, in extract
    f.line
  File "d:\python3.8.3\lib\traceback.py", line 288, in line
    self._line = linecache.getline(self.filename, self.lineno).strip()
  File "d:\python3.8.3\lib\linecache.py", line 16, in getline
    lines = getlines(filename, module_globals)
  File "d:\python3.8.3\lib\linecache.py", line 47, in getlines
    return updatecache(filename, module_globals)
  File "d:\python3.8.3\lib\linecache.py", line 136, in updatecache
    with tokenize.open(fullname) as fp:
AttributeError: module 'tokenize' has no attribute 'open'

我怎么也不能解决,网上查了好多,还是不知道怎么解决,求大佬康康我,救救小老弟吧

  • 写回答

3条回答 默认 最新

  • CSDN专家-孙老师 2021-04-24 16:03
    关注

    wordcloud没安装成功吗?

    是在命令行窗口输入的命令吗?可以试试用国内镜像源安装。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

问题事件

  • 已结题 (查看结题原因) 11月6日

悬赏问题

  • ¥20 绿盟安全扫描--检测到目标站点存在javascript框架库漏洞
  • ¥30 Android STD快速启动
  • ¥15 如何使用simulink建立一个永磁同步直线电机模型?
  • ¥30 天体光谱图的的绘制并得到星表
  • ¥15 PointNet++的onnx模型只能使用一次
  • ¥20 西南科技大学数字信号处理
  • ¥15 有两个非常“自以为是”烦人的问题急期待大家解决!
  • ¥30 STM32 INMP441无法读取数据
  • ¥15 R语言绘制密度图,一个密度曲线内fill不同颜色如何实现
  • ¥100 求汇川机器人IRCB300控制器和示教器同版本升级固件文件升级包