Comments (12)
I have the same problem
from perlego-downloader.
How did you manage it?
from perlego-downloader.
@lorenzolangone install the Python dependences:
>$ pip3 install -r requirements.txt
Please read the README for further info.
from perlego-downloader.
i've done and if i try again it states "Requirement already satisfied"
from perlego-downloader.
@lorenzolangone install the Python dependences:
>$ pip3 install -r requirements.txt
Please read the README for further info.
Having the same issue. Here's what I get when installing the requirements.
Microsoft Windows [Version 10.0.19043.2006]
(c) Microsoft Corporation. All rights reserved.
C:\Users\Ioana>pip3 install -r C:\Users\Ioana\Desktop\perlego\requirements.txt
Requirement already satisfied: requests==2.28.1 in c:\users\ioana\appdata\local\programs\python\python310\lib\site-packages (from -r C:\Users\Ioana\Desktop\perlego\requirements.txt (line 1)) (2.28.1)
Requirement already satisfied: websocket-client==1.4.0 in c:\users\ioana\appdata\local\programs\python\python310\lib\site-packages (from -r C:\Users\Ioana\Desktop\perlego\requirements.txt (line 2)) (1.4.0)
Requirement already satisfied: pyppeteer==1.0.2 in c:\users\ioana\appdata\local\programs\python\python310\lib\site-packages (from -r C:\Users\Ioana\Desktop\perlego\requirements.txt (line 3)) (1.0.2)
Requirement already satisfied: PyPDF2==2.10.5 in c:\users\ioana\appdata\local\programs\python\python310\lib\site-packages (from -r C:\Users\Ioana\Desktop\perlego\requirements.txt (line 4)) (2.10.5)
Collecting uvloop==0.16.0
Using cached uvloop-0.16.0.tar.gz (2.1 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\Ioana\AppData\Local\Temp\pip-install-nmslwi20\uvloop_6e33dd4862864da69ab01aff5036c544\setup.py", line 8, in
raise RuntimeError('uvloop does not support Windows at the moment')
RuntimeError: uvloop does not support Windows at the moment
[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.
from perlego-downloader.
@aimiiu can you please remove uvloop from requirements.txt and re-run that command?
from perlego-downloader.
@aimiiu can you please remove uvloop from requirements.txt and re-run that command?
Thank you for your help!
I get the message "Requirement already satisfied" as I already tried this before. After this, when I run the downloader.py I get:
C:\Users\Ioana>python3 C:\Users\Ioana\Desktop\perlego\downloader.py
Traceback (most recent call last):
File "C:\Users\Ioana\Desktop\perlego\downloader.py", line 2, in
from PIL import Image
ModuleNotFoundError: No module named 'PIL'
from perlego-downloader.
@aimiiu try pip3 install Pillow
from perlego-downloader.
@aimiiu try
pip3 install Pillow
C:\Users\Ioana>pip3 install Pillow
Collecting Pillow
Downloading Pillow-9.2.0-cp310-cp310-win_amd64.whl (3.3 MB)
---------------------------------------- 3.3/3.3 MB 7.0 MB/s eta 0:00:00
Installing collected packages: Pillow
Successfully installed Pillow-9.2.0
C:\Users\Ioana>python3 C:\Users\Ioana\Desktop\perlego\downloader.py
Traceback (most recent call last):
File "C:\Users\Ioana\Desktop\perlego\downloader.py", line 2, in
from PIL import Image
ModuleNotFoundError: No module named 'PIL'
from perlego-downloader.
@aimiiu please post here the output of python3 -c "import Image"
from perlego-downloader.
@aimiiu please post here the output of
python3 -c "import Image"
@evmer please refer below:
C:\Users\Ioana>python3 -c "import Image"
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'Image'
from perlego-downloader.
@aimiiu there must have been an issue during the installation of the python dependences.
- uninstall Pillow with
pip3 uninstall Pillow
- upgrade pip with
python3 -m pip install --upgrade pip
- re-download
requirements.txt
from here (copy-paste) - re-install the python3 dependences:
pip3 install -r requirements.txt
- try to run downloader.py
from perlego-downloader.
Related Issues (20)
- downloader as scraper
- Error HOT 1
- (No module named 'PIL'`) I cannot download the required Pillow package version 8.4.0 HOT 1
- File "f:\downloader.py", line 250, in <module> asyncio.run(html2pdf()) HOT 1
- FileNotFoundError
- 0KB downloaded archive
- Cannot download the PDF with PIL and AttributeError: module 'asyncio' has no attribute 'run' HOT 2
- Connection to remote host was lost (after update AUTH_TOKEN and reCaptcha_Token)
- {'event': 'error', 'data': {'message': 'An unexpected error occurred.', 'code': 18}} HOT 75
- {'event': 'error', 'data': {'message': 'An unexpected error occurred.', 'code': 18}} HOT 9
- {'event': 'error', 'data': {'message': 'An unexpected error occurred.', 'code': 18}} HOT 2
- syntax error invalid decimal literal
- I need a help :) HOT 2
- THIS CODE DOES NOT WORK ANYMORE (DON'T WASTE TIME) HOT 1
- ModuleNotFoundError: No module named 'PIL' HOT 2
- issue to download book
- Websocket has no attribute 'create_connection' HOT 1
- Convert downloaded html app files to pdf? HOT 1
- SyntaxError: invalid syntax
- it doesn't work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from perlego-downloader.