You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when I use pip install . instead of python setup.py install, the declared scripts do not seem to be exposed to Scrapy Cloud, and when I try to execute them nonetheless I get:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/sh_scrapy/crawl.py", line 148, in _run_usercode
_run(args, settings)
File "/usr/local/lib/python3.10/site-packages/sh_scrapy/crawl.py", line 105, in _run
_run_pkgscript(args)
File "/usr/local/lib/python3.10/site-packages/sh_scrapy/crawl.py", line 128, in _run_pkgscript
d.run_script(scriptname, {'__name__': '__main__'})
File "/usr/local/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1436, in run_script
raise ResolutionError(
pkg_resources.ResolutionError: Script 'scripts/history.py' not found in metadata at '/usr/local/lib/python3.10/site-packages/Veritec-1.0.0.dist-info'
The text was updated successfully, but these errors were encountered:
pip is the preferred installer program.
However, when I use
pip install .
instead ofpython setup.py install
, the declared scripts do not seem to be exposed to Scrapy Cloud, and when I try to execute them nonetheless I get:The text was updated successfully, but these errors were encountered: