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

ModuleNotFoundError: No module named 'scrapy.settings.deprecated' #154

Closed
stephen-a2z opened this issue Jul 3, 2020 · 0 comments
Closed
Assignees
Labels

Comments

@stephen-a2z
Copy link

stephen-a2z commented Jul 3, 2020

Describe the bug
I can't use command "gerapy init"
To Reproduce
Steps to reproduce the behavior:

when I use gerapy init, I get the traceback as following:

Traceback

Traceback (most recent call last):
  File "/Users/stephen/anaconda2/envs/python3/bin/gerapy", line 5, in <module>
    from gerapy.cmd import cmd
  File "/Users/stephen/anaconda2/envs/python3/lib/python3.8/site-packages/gerapy/cmd/__init__.py", line 5, in <module>
    from gerapy.cmd.parse import parse
  File "/Users/stephen/anaconda2/envs/python3/lib/python3.8/site-packages/gerapy/cmd/parse.py", line 2, in <module>
    from gerapy.server.core.parser import get_start_requests, get_follow_requests_and_items
  File "/Users/stephen/anaconda2/envs/python3/lib/python3.8/site-packages/gerapy/server/core/parser.py", line 6, in <module>
    from scrapy.settings.deprecated import check_deprecated_settings
ModuleNotFoundError: No module named 'scrapy.settings.deprecated'

Expected behavior

Screenshots

Environment (please complete the following information):

  • OS: [macOs]
  • Python Version [3.8.2]
    pip list
Package             Version            
------------------- -------------------
appdirs             1.4.4              
appnope             0.1.0              
APScheduler         3.5.1              
attrs               19.2.0             
Automat             20.2.0             
backcall            0.1.0              
bcrypt              3.1.7              
beautifulsoup4      4.7.0              
certifi             2020.6.20          
cffi                1.14.0             
chardet             3.0.4              
constantly          15.1.0             
cryptography        2.8                
cssselect           1.1.0              
decorator           4.4.2              
Django              1.11.26            
django-apscheduler  0.3.0              
django-cors-headers 3.2.0              
djangorestframework 3.9.2              
entrypoints         0.3                
furl                2.1.0              
gerapy              0.9.2              
gevent              20.6.2             
greenlet            0.4.16             
hyperlink           19.0.0             
idna                2.10               
incremental         17.5.0             
ipykernel           5.2.1              
ipython             7.13.0             
ipython-genutils    0.2.0              
jedi                0.17.0             
Jinja2              2.10.1             
jmespath            0.10.0             
jupyter-client      6.1.3              
jupyter-core        4.6.3              
lxml                4.5.1              
MarkupSafe          1.1.1              
orderedmultidict    1.0.1              
parsel              1.6.0              
parso               0.7.0              
pexpect             4.8.0              
pickleshare         0.7.5              
pip                 20.0.2             
prompt-toolkit      3.0.5              
Protego             0.1.16             
ptyprocess          0.6.0              
pyasn1              0.4.8              
pyasn1-modules      0.2.7              
pycparser           2.20               
PyDispatcher        2.0.5              
pyee                7.0.2              
Pygments            2.6.1              
PyHamcrest          2.0.2              
pymongo             3.9.0              
PyMySQL             0.7.10             
pyOpenSSL           19.1.0             
pyppeteer           0.0.25             
pyquery             1.2.17             
python-dateutil     2.8.1              
python-scrapyd-api  2.1.2              
pytz                2020.1             
pyzmq               19.0.0             
queuelib            1.5.0              
redis               2.10.5             
requests            2.24.0             
Scrapy              2.1.0              
scrapy-redis        0.6.8              
scrapy-splash       0.7.2              
selenium            3.141.0            
service-identity    18.1.0             
setuptools          46.1.3.post20200325
six                 1.14.0             
soupsieve           2.0.1              
tornado             6.0.4              
tqdm                4.47.0             
traitlets           4.3.3              
Twisted             20.3.0             
tzlocal             2.1                
urllib3             1.25.9             
w3lib               1.22.0             
wcwidth             0.1.9              
webdriverwrapper    2.8.0              
websocket           0.2.1              
websockets          8.1                
wheel               0.34.2             
zope.event          4.4                
zope.interface      5.1.0
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

2 participants