siznax / wptools

Wikipedia tools (for Humans): easily extract data from Wikipedia, Wikidata, and other MediaWikis
MIT License
575 stars 79 forks source link

I face an error while trying to install wptools using pip #174

Open AmrAlBarqawy opened 2 years ago

AmrAlBarqawy commented 2 years ago

Here is the error I get

Collecting wptools Using cached wptools-0.4.17-py2.py3-none-any.whl (38 kB) Requirement already satisfied: lxml in c:\users\user\appdata\local\programs\python\python310\lib\site-packages (from wptools) (4.9.1) Collecting html2text Using cached html2text-2020.1.16-py3-none-any.whl (32 kB) Collecting pycurl Using cached pycurl-7.45.1.tar.gz (233 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error' Note: you may need to restart the kernel to use updated packages. error: subprocess-exited-with-error

python setup.py egg_info did not run successfully. exit code: 10

[1 lines of output] Please specify --curl-dir=/path/to/built/libcurl [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

Encountered error while generating package metadata.

See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

appledora commented 2 years ago

same. any explanations?

appledora commented 2 years ago

Went through older issues and found reference here . Works for me this way. Issue was with pycurl removal since last year.