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

cssselector dependency #19

Open
cagnulein opened this issue Sep 4, 2019 · 2 comments
Open

cssselector dependency #19

cagnulein opened this issue Sep 4, 2019 · 2 comments

Comments

@cagnulein
Copy link

I think you have to add cssselector dependency

Traceback (most recent call last):
  File "/usr/local/bin/amzsear", line 10, in <module>
    sys.exit(run())
  File "/usr/local/lib/python3.6/dist-packages/amzsear/cli/cli.py", line 22, in run
    out = AmzSear(**amz_args)
  File "/usr/local/lib/python3.6/dist-packages/amzsear/core/AmzSear.py", line 84, in __init__
    products = html_el.cssselect('li[id*="result_"]')
  File "/usr/local/lib/python3.6/dist-packages/lxml/html/__init__.py", line 431, in cssselect
    from lxml.cssselect import CSSSelector
  File "/usr/local/lib/python3.6/dist-packages/lxml/cssselect.py", line 16, in <module>
    'cssselect does not seem to be installed. '

@bgoodr
Copy link

bgoodr commented Oct 31, 2019

I confirmed this. Probably have to deal with it using conda, but not sure yet. Encountered similar issue with lxml not being present in my configuration too, which also is dealt with using conda.

@bgoodr bgoodr mentioned this issue Nov 1, 2019
@bgoodr
Copy link

bgoodr commented Nov 1, 2019

The installation steps I used were conda-based, and pip-based via:

conda install cssselect
conda install lxml
pip install AmzSear

but that did not help much because I see the same problem in #17 and thus am now speculating we have "abandonment issues" in #21

Hopefully the owners of this package will give us some info on the status of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants