ogkalu2 / comic-translate

Desktop app for automatically translating comics - BDs, Manga, Manhwa, Fumetti and more in a variety of formats (Image, Pdf, Epub, cbr, cbz, etc) and in multiple languages.
Apache License 2.0
959 stars 87 forks source link

SyntaxError: invalid syntax. Perhaps you forgot a comma? #32

Closed Junglep-W closed 2 months ago

Junglep-W commented 6 months ago

so how should I do with this?

2
WavaDev commented 6 months ago

You need to open a normal Terminal/CMD in Windows to fix this problem. To clone the "comic-translate" repository from GitHub, follow these steps:

  1. Open File Explorer and navigate to the folder where you want to have the "comic-translate" project.

  2. In the File Explorer address bar, replace the current file location with "cmd" and press Enter. This will open a Command Prompt window in that folder location.

  3. In the Command Prompt window, execute the following command to clone the "comic-translate" repository:

    git clone https://github.com/ogkalu2/comic-translate

    This command will download the repository files to your current folder location.

Once the cloning process is complete, you will have a local copy of the "comic-translate" project on your Windows machine. Then follow the next steps to install it.

Junglep-W commented 6 months ago

Just start learning Python from 0, so... I'll be back maybe 1 year later

error

WavaDev commented 6 months ago

You need to clone the repository first, and then do pip install -r requirements.txt

NartMaster commented 6 months ago

Im having the same problem. Using Python 3.10 and nearly every command gives me a syntax error. I tried doing what you suggested in file explorer but windows cmd doesnt seem to recognize "git." Are there any more requirements I'm missing? Any chance a step by step guide could be given assuming the reader has never used python or even really github?

ogkalu2 commented 6 months ago

@NartMaster Download and install git from here https://git-scm.com/downloads

alternatively, you could download the folder manually from github (click code > Download zip), open cmd in the comic-translate-main folder where all the files are located and follow the rest of the instructions.

NartMaster commented 6 months ago

Yeah, sorry about that, I guess I'm an idiot! Obviously I needed git... I also had like 3 versions of python installed so thats what was screwing my pip commands. Worked like a charm when I finally pulled my head out my ass and actually THOUGHT!