我最近在基本环境中更新了spyder, 我在另一个evn中面临这个问题: 所以这就是我得到的错误。
An error ocurred while starting the kernel
Traceback (most recent call last):
File "C:\Users\KR20106607\AppData\Local\Continuum\anaconda3\envs\General\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Users\KR20106607\AppData\Local\Continuum\anaconda3\envs\General\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\KR20106607\AppData\Local\Continuum\anaconda3\envs\General\lib\site‑packages\spyder_kernels\console\__main__.py", line 11, in
start.main()
File "C:\Users\KR20106607\AppData\Local\Continuum\anaconda3\envs\General\lib\site‑packages\spyder_kernels\console\start.py", line 287, in main
import_spydercustomize()
File "C:\Users\KR20106607\AppData\Local\Continuum\anaconda3\envs\General\lib\site‑packages\spyder_kernels\console\start.py", line 39, in import_spydercustomize
import spydercustomize
File "C:\Users\KR20106607\AppData\Local\Continuum\anaconda3\envs\General\lib\site‑packages\spyder_kernels\customize\spydercustomize.py", line 27, in
from IPython.core.getipython import get_ipython
File "C:\Users\KR20106607\AppData\Local\Continuum\anaconda3\envs\General\lib\site‑packages\IPython\__init__.py", line 55, in
from .core.application import Application
File "C:\Users\KR20106607\AppData\Local\Continuum\anaconda3\envs\General\lib\site‑packages\IPython\core\application.py", line 16, in
from copy import deepcopy
File "D:\Trainings\Lokesh\CoViD?\Covid19_Model_Script_V4.0\Covid19_Model_Script\Wipro_Specific\copy.py", line 21, in
import pandas as pd
File "C:\Users\KR20106607\AppData\Local\Continuum\anaconda3\envs\General\lib\site‑packages\pandas\__init__.py", line 55, in
from pandas.core.api import (
File "C:\Users\KR20106607\AppData\Local\Continuum\anaconda3\envs\General\lib\site‑packages\pandas\core\api.py", line 29, in
from pandas.core.groupby import Grouper, NamedAgg
File "C:\Users\KR20106607\AppData\Local\Continuum\anaconda3\envs\General\lib\site‑packages\pandas\core\groupby\__init__.py", line 1, in
from pandas.core.groupby.generic import DataFrameGroupBy, NamedAgg, SeriesGroupBy
File "C:\Users\KR20106607\AppData\Local\Continuum\anaconda3\envs\General\lib\site‑packages\pandas\core\groupby\generic.py", line 63, in
from pandas.core.groupby.groupby import (
File "C:\Users\KR20106607\AppData\Local\Continuum\anaconda3\envs\General\lib\site‑packages\pandas\core\groupby\groupby.py", line 61, in
from pandas.core.groupby import base, ops
File "C:\Users\KR20106607\AppData\Local\Continuum\anaconda3\envs\General\lib\site‑packages\pandas\core\groupby\ops.py", line 16, in
import pandas._libs.reduction as libreduction
File "pandas\_libs\reduction.pyx", line 1, in init pandas._libs.reduction
ImportError: cannot import name copy
抱歉,您的帖子太乱了。这是我的第一篇文章。