binux / pyspider

A Powerful Spider(Web Crawler) System in Python.

Home Page:http://docs.pyspider.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

syntaxError

vkulaganathan opened this issue · comments

$ pyspider -h

Traceback (most recent call last): File "/home/usr/.local/bin/pyspider", line 5, in <module> from pyspider.run import main File "/home/usr/.local/lib/python3.8/site-packages/pyspider/run.py", line 231 async=True, get_object=False, no_input=False): ^ SyntaxError: invalid syntax

How to resolve this issue?

Anyone with a suggestion?

same here. There were some library incompatibility issues,
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
anaconda-project 0.10.2 requires ruamel-yaml, which is not installed.
spyder 5.1.5 requires pyqtwebengine<5.13, which is not installed.
bokeh 2.4.2 requires tornado>=5.1, but you have tornado 4.5.3 which is incompatible.
distributed 2022.2.1 requires tornado>=6.0.3, but you have tornado 4.5.3 which is incompatible.
jupyter-server 1.13.5 requires tornado>=6.1.0, but you have tornado 4.5.3 which is incompatible.
jupyterlab 3.3.2 requires tornado>=6.1.0, but you have tornado 4.5.3 which is incompatible.
notebook 6.4.12 requires tornado>=6.1, but you have tornado 4.5.3 which is incompatible.
spyder 5.1.5 requires pyqt5<5.13, but you have pyqt5 5.15.2 which is incompatible.
Successfully installed Flask-Login-0.6.2 cssselect-1.2.0 pyquery-2.0.0 pyspider-0.3.10 tornado-4.5.3 u-msgpack-python-2.8.0 wsgidav-4.2.0

But I could not resolve the pyqt5 and pyquwebengine ones. I went ahead and ran pyspider, which erred out like OP.