nianeyna / ao3downloader

Utility for downloading fanfiction in bulk from the Archive of Our Own
GNU General Public License v3.0
201 stars 18 forks source link

Initial set-up MacOS error code return #37

Closed Arukou-Arukou closed 2 years ago

Arukou-Arukou commented 2 years ago

Let me preface by saying I don't know coding at all and am following the guide to the best of my ability. I run a Mac OS and I'm getting a return error in the initial set-up run command window following the command "pip install -r requirements.txt". I think what the error means is that I'm missing a key code package, but I figure it would be best to ask the developer to be sure. Code pasted below:

Collecting beautifulsoup4==4.9.3 Using cached beautifulsoup4-4.9.3-py3-none-any.whl (115 kB) Collecting certifi==2020.12.5 Using cached certifi-2020.12.5-py2.py3-none-any.whl (147 kB) Collecting cffi==1.15.0 Using cached cffi-1.15.0-cp310-cp310-macosx_11_0_arm64.whl (173 kB) Collecting chardet==4.0.0 Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB) Collecting colorama==0.4.4 Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB) Collecting cryptography==36.0.1 Using cached cryptography-36.0.1-cp36-abi3-macosx_10_10_universal2.whl (4.8 MB) Collecting cssselect==1.1.0 Using cached cssselect-1.1.0-py2.py3-none-any.whl (16 kB) Collecting EbookLib==0.17.1 Using cached EbookLib-0.17.1.tar.gz (111 kB) Preparing metadata (setup.py) ... done Collecting idna==2.10 Using cached idna-2.10-py2.py3-none-any.whl (58 kB) Collecting loguru==0.5.3 Using cached loguru-0.5.3-py3-none-any.whl (57 kB) Collecting lxml==4.6.4 Using cached lxml-4.6.4.tar.gz (3.2 MB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [3 lines of output] Building lxml version 4.6.4. Building without Cython. Error: Please make sure the libxml2 and libxslt development packages are installed. [end of output]

nianeyna commented 2 years ago

Hi! Thanks for opening this issue. Can you let me know which version of python you're using? The "Troubleshooting" section of the readme has instructions for how to check that on a Mac. (make sure to check the "python3" version rather than "python")

Arukou-Arukou commented 2 years ago

I'm running Python 3.10.6

nianeyna commented 2 years ago

Hi, sorry for the delay! I haven't had a chance to actually try to reproduce your error so that I can confirm this, but I strongly suspect that what's going on is that I need to update the version of one of the dependencies to be compatible with python 3.10.6. I'm not sure when I'll get a chance to do that - in the meantime, you can try installing python version 3.10.5 instead. Let me know if that doesn't work!

nianeyna commented 2 years ago

Hi there, sorry again for taking so long to get back to you on this. Unfortunately (or fortunately?) I haven't been able to reproduce this problem on either Mac or Windows using python 3.10.6. Hopefully, the reason for that is just that the lxml wheel was updated in the time between you reporting this and me testing it, and your problem is solved. I'm going to close this issue as unreproducible, however, if you are still having problems, feel free to comment again here.