qq_56864631
2021-06-18 11:05
采纳率: 84.6%
浏览 32
已采纳

各位大神请你们帮我看一下哪儿有问题了

\Python38\python.exe C:/Users/Administrator/PycharmProjects/pythonProject1/venv/zxsdf.pyTraceback (most recent call last): File "C:/Users/Administrator/PycharmProjects/pythonProject1/venv/zxsdf.py", line 4, in <module> wine = pd.read_csv('/wine.csv') File "D:\Python38\lib\site-packages\pandas\io\parsers.py", line 688, in read_csv return _read(filepath_or_buffer, kwds) File "D:\Python38\lib\site-packages\pandas\io\parsers.py", line 454, in _read parser = TextFileReader(fp_or_buf, **kwds) File "D:\Python38\lib\site-packages\pandas\io\parsers.py", line 948, in __init__ self._make_engine(self.engine) File "D:\Python38\lib\site-packages\pandas\io\parsers.py", line 1180, in _make_engine self._engine = CParserWrapper(self.f, **self.options) File "D:\Python38\lib\site-packages\pandas\io\parsers.py", line 2010, in __init__ self._reader = parsers.TextReader(src, **kwds) File "pandas\_libs\parsers.pyx", line 382, in pandas._libs.parsers.TextReader.__cinit__ File "pandas\_libs\parsers.pyx", line 674, in pandas._libs.parsers.TextReader._setup_parser_sourceFileNotFoundError: [Errno 2] No such file or directory: '/wine.csv'Process finished with exit code 1

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

2条回答 默认 最新

相关推荐 更多相似问题