jbsparrow / CyberDropDownloader

Bulk Gallery Downloader for Cyberdrop.me and Other Sites
GNU General Public License v3.0
177 stars 14 forks source link

[BUG] Can't install on Linux #71

Closed TheDoctor40 closed 2 months ago

TheDoctor40 commented 2 months ago

Describe the bug I've been a happy user of this patched version on Windows for a while now. Today I wanted to install on my Linux dual boot, but unfortunately it refuses to install. When I try to install via PIP, I get the error: ERROR: Could not find a version that satisfies the requirement cyberdrop-dl-patched (from versions: none)

To Help Reproduce Steps to help reproduce the behavior:

  1. Open a terminal
  2. run pip install cyberdrop-dl-patched
  3. Get error

Screenshots image

Setup Information

Downloader.log file N/A bc install problem

jbsparrow commented 2 months ago

It looks like you might have the wrong python version installed. CDL must be run on Python 3.10. Run python3 --version to check your version.

You can also try running python3 -m pip install cyberdrop-dl-patched.

It is also possible that pip is outdated. Try updating pip by running the following: python3 -m pip install --upgrade pip

I believe that on UNIX systems, python has two separate pip commands. pip for python2, and pip3 for python3, so the cause of the issue is likely trying to install with an unsupported Python version.

TheDoctor40 commented 2 months ago

python3 --version returns 3.10.12, so I should be good there. Updating pip didn't help, and the other commands keep returning the same error. However, now I am also getting a bunch of extra errors. From what I can decipher it might be that dependencies are requiring python 3.11, however, the error message doesn't mention package names. Maybe this tells you more than it does me haha:

ERROR: Ignored the following versions that require a different python version: 5.3.31 Requires-Python <4.0,>=3.11; 5.3.32 Requires-Python <4.0,>=3.11; 5.3.33 Requires-Python <4.0,>=3.11; 5.3.34 Requires-Python <4.0,>=3.11; 5.3.35 Requires-Python <4.0,>=3.11; 5.3.36 Requires-Python <4.0,>=3.11; 5.3.37 Requires-Python <4.0,>=3.11; 5.3.38 Requires-Python <4.0,>=3.11; 5.3.39 Requires-Python <4.0,>=3.11; 5.3.40 Requires-Python <4.0,>=3.11; 5.4.15 Requires-Python <4.0,>=3.11; 5.4.16 Requires-Python <4.0,>=3.11; 5.4.17 Requires-Python <4.0,>=3.11; 5.4.18 Requires-Python <4.0,>=3.11; 5.4.19 Requires-Python <4.0,>=3.11; 5.4.20 Requires-Python <4.0,>=3.11; 5.4.21 Requires-Python <4.0,>=3.11; 5.4.22 Requires-Python <4.0,>=3.11; 5.4.23 Requires-Python <4.0,>=3.11; 5.4.24 Requires-Python <4.0,>=3.11; 5.4.26 Requires-Python <4.0,>=3.11; 5.4.27 Requires-Python <4.0,>=3.11; 5.4.28 Requires-Python <4.0,>=3.11; 5.4.29 Requires-Python <4.0,>=3.11; 5.4.30 Requires-Python <4.0,>=3.11; 5.4.31 Requires-Python <4.0,>=3.11; 5.4.32 Requires-Python <4.0,>=3.11; 5.4.33 Requires-Python <4.0,>=3.11; 5.4.34 Requires-Python <4.0,>=3.11; 5.4.35 Requires-Python <4.0,>=3.11; 5.4.36 Requires-Python <4.0,>=3.11; 5.4.37 Requires-Python <4.0,>=3.11; 5.4.38 Requires-Python <4.0,>=3.11; 5.4.39 Requires-Python <4.0,>=3.11; 5.4.40 Requires-Python <4.0,>=3.11; 5.4.41 Requires-Python <4.0,>=3.11; 5.4.42 Requires-Python <4.0,>=3.11; 5.4.43 Requires-Python <4.0,>=3.11; 5.4.44 Requires-Python <4.0,>=3.11; 5.4.45 Requires-Python <4.0,>=3.11; 5.4.46 Requires-Python <4.0,>=3.11; 5.4.47 Requires-Python <4.0,>=3.11; 5.4.48 Requires-Python <4.0,>=3.11; 5.4.50 Requires-Python <4.0,>=3.11; 5.4.51 Requires-Python <4.0,>=3.11
ERROR: Could not find a version that satisfies the requirement cyberdrop-dl-patched (from versions: none)
ERROR: No matching distribution found for cyberdrop-dl-patched

If that is indeed the case, then my question has been answered, and I'll stick to the Windows version for now. I don't want to update my Python version untill I'm done with a school project, because I'm afraid it'll break stuff haha

jbsparrow commented 2 months ago

Try with Python 3.11. I was wrong about running on 3.10. CDL support Python 3.11-3.12

jbsparrow commented 2 months ago

CDL suports Python 3.11 & Python 3.12. On my Mac I am running Python 3.12.2 and on Windows I am running Python 3.11.7. As long as you're above 3.10 it should work :)

TheDoctor40 commented 2 months ago

I verified using a different pc running the same version of PopOS that this is indeed the issue, if I install Python 3.12, for example using pyenv, then I can get it to succesfully install. However, I'm leaving my main pc as-is for now bc I don't want to risk breaking everything now that I'm so close to finishing my university project haha. I'll stick to the windows version for now, and I'll close this ticket, as it's an issue with the OS on my side :)

Thank you for the assistance!