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

TabError: inconsistent use of tabs and spaces in indentation #3

Open
Catsofsuffering opened this issue Sep 12, 2019 · 3 comments
Open

Comments

@Catsofsuffering
Copy link

Catsofsuffering commented Sep 12, 2019

使用scrapy crawlall语句后,出现以下错误
Traceback (most recent call last): File "/usr/local/bin/scrapy", line 11, in sys.exit(execute()) File "/usr/local/lib/python3.6/dist-packages/scrapy/cmdline.py", line 125, in execute cmds = _get_commands_dict(settings, inproject) File "/usr/local/lib/python3.6/dist-packages/scrapy/cmdline.py", line 56, in _get_commands_dict cmds.update(_get_commands_from_module(cmds_module, inproject)) File "/usr/local/lib/python3.6/dist-packages/scrapy/cmdline.py", line 33, in _get_commands_from_module for cmd in _iter_command_classes(module): File "/usr/local/lib/python3.6/dist-packages/scrapy/cmdline.py", line 22, in _iter_command_classes for module in walk_modules(module_name): File "/usr/local/lib/python3.6/dist-packages/scrapy/utils/misc.py", line 73, in walk_modules submod = import_module(fullpath) File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 994, in _gcd_import File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 665, in _load_unlocked File "", line 674, in exec_module File "", line 781, in get_code File "", line 741, in source_to_code File "", line 219, in _call_with_frames_removed File "/root/findtrip/findtrip/findtrip/commands/crawlall.py", line 34 spider_loader = self.crawler_process.spider_loader ^ TabError: inconsistent use of tabs and spaces in indentation

@zichengsaber
Copy link

I have the same problem

@liantianji
Copy link

me too.

@SummerRaining
Copy link

+1.

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

No branches or pull requests

4 participants