在PythonPython3.6中导入matplotlib失败

2024-09-26 17:55:20 发布

您现在位置:Python中文网/ 问答频道 /正文

我安装了Anaconda来简化对许多python模块的管理。在

之后,我尝试“导入子流程”:

>>> import subprocess
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/sej/.config/anaconda3/lib/python3.6/subprocess.py", line 155, in <module>
    _PopenSelector = selectors.SelectSelector
AttributeError: module 'selectors' has no attribute 'SelectSelector'

怎么解决这个问题?在

我尝试使用matplotlib时遇到了这个问题。 尝试导入时,出现以下错误:

^{pr2}$

Tags: 模块inimportmostlineanaconda流程call

热门问题