Giter Site home page Giter Site logo

Comments (12)

lorenzolangone avatar lorenzolangone commented on June 15, 2024

I have the same problem

from perlego-downloader.

lorenzolangone avatar lorenzolangone commented on June 15, 2024

How did you manage it?

from perlego-downloader.

evmer avatar evmer commented on June 15, 2024

@lorenzolangone install the Python dependences:

  >$ pip3 install -r requirements.txt

Please read the README for further info.

from perlego-downloader.

lorenzolangone avatar lorenzolangone commented on June 15, 2024

i've done and if i try again it states "Requirement already satisfied"

from perlego-downloader.

aimiiu avatar aimiiu commented on June 15, 2024

@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.

evmer avatar evmer commented on June 15, 2024

@aimiiu can you please remove uvloop from requirements.txt and re-run that command?

from perlego-downloader.

aimiiu avatar aimiiu commented on June 15, 2024

@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.

evmer avatar evmer commented on June 15, 2024

@aimiiu try pip3 install Pillow

from perlego-downloader.

aimiiu avatar aimiiu commented on June 15, 2024

@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.

evmer avatar evmer commented on June 15, 2024

@aimiiu please post here the output of python3 -c "import Image"

from perlego-downloader.

aimiiu avatar aimiiu commented on June 15, 2024

@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.

evmer avatar evmer commented on June 15, 2024

@aimiiu there must have been an issue during the installation of the python dependences.

  1. uninstall Pillow with pip3 uninstall Pillow
  2. upgrade pip with python3 -m pip install --upgrade pip
  3. re-download requirements.txt from here (copy-paste)
  4. re-install the python3 dependences: pip3 install -r requirements.txt
  5. try to run downloader.py

from perlego-downloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.