Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行爬虫出现这个错误 #205

Open
legend-zl opened this issue Aug 4, 2021 · 2 comments
Open

运行爬虫出现这个错误 #205

legend-zl opened this issue Aug 4, 2021 · 2 comments
Assignees
Labels

Comments

@legend-zl
Copy link

NotADirectoryError: [Errno 20] Not a directory: '/tmp/AdminSpider-1627912435-5v42z9g9

@TianLanSky
Copy link

你项目中是不是相对于项目路径新建一些目录、文件?
因为项目是打包成 .egg 文件运行的,所以原本可能是
project/my_dir
现在变成了
xxx.egg/my_dir
然而 xxx.egg 是一个文件,不是目录

@frshman
Copy link

frshman commented Jul 10, 2022

你项目中是不是相对于项目路径新建一些目录、文件? 因为项目是打包成 .egg 文件运行的,所以原本可能是 project/my_dir 现在变成了 xxx.egg/my_dir 然而 xxx.egg 是一个文件,不是目录
那如果有文件读取操作咋办啊,我读取配置文件一直读不到

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants