在运行scrapy crawler的脚本时,我收到了以下错误
Traceback (most recent call last):
File "/opt/envs/skuscraper/bin/scrapy", line 7, in <module>
from scrapy.cmdline import execute
File "/opt/envs/skuscraper/lib/python3.6/site-packages/scrapy/__init__.py", line 27, in <module>
from . import _monkeypatches
File "/opt/envs/skuscraper/lib/python3.6/site-packages/scrapy/_monkeypatches.py", line 20, in <module>
import twisted.persisted.styles # NOQA
File "/opt/envs/skuscraper/lib/python3.6/site-packages/twisted/persisted/styles.py", line 24, in <module>
from twisted.python import log
File "/opt/envs/skuscraper/lib/python3.6/site-packages/twisted/python/log.py", line 26, in <module>
from twisted.logger import (
ValueError: source code string cannot contain null bytes
我不明白这里发生了什么?