Skip to content

Scrapy-Test nolonger installs

I am running Scrapy-Test pip install scrapy-test but it is throwing a syntax error but previously it was working well.

Below is the error :

ERROR: Command errored out with exit status 1:
   command: /home/huxy/Desktop/FeedTests/env/bin/python2 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-Ouno0P/scrapy-test/setup.py'"'"'; __file__='"'"'/tmp/pip-install-Ouno0P/scrapy-test/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-Ouno0P/scrapy-test/pip-egg-info
       cwd: /tmp/pip-install-Ouno0P/scrapy-test/
  Complete output (6 lines):
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-install-Ouno0P/scrapy-test/setup.py", line 23
      f'scrapy-test=scrapytest.cli:main'
                                       ^
  SyntaxError: invalid syntax
  ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Screenshot_from_2019-12-02_14-03-17

Edited by Ghost User