joenano / rpscrape

Scrape horse racing results data and racecards.
140 stars 57 forks source link

setup problem #76

Closed terrasamba77 closed 2 years ago

terrasamba77 commented 2 years ago

Hello everybody! I am a newbie of python (but I had experience with others programming languages like php). I installed python for windows and selected to add the path during the installation. I installed almost all module required, but I have a problem with lxml (I got every time an error) and when I tried to launch rpscrape from the cmd, I got this message:

Python\Python310\rpscrape\scripts\rpscrape.py", line 8, in from lxml import html ImportError: cannot import name 'html' from 'lxml' (unknown location)

how can I fix it? is it ok to launch rpscrape.py from the command line? please help me :)

Thanks a lot

terrasamba77 commented 2 years ago

ok, I fixed it. I found a whl file and installed manually. It's working :)