Open cavalrymargarine0x1 opened 2 hours ago
what does running the command
python -m pip show regex
give you?
Try:
python -m pip install regex -v; python -m pip show regex; python -c "import regex; print('regex imported successfully')"
What happens?
what does running the command
python -m pip show regex
give you?
Name: regex
Version: 2024.9.11
Summary: Alternative regular expression module, to replace re.
Home-page: https://github.com/mrabarnett/mrab-regex
Author: Matthew Barnett
Author-email: regex@mrabarnett.plus.com
License: Apache Software License
Location: c:\users\cavalry\appdata\local\programs\python\python312\Lib\site-packages
Requires:
Required-by: dateparser, nltk, transformers
Try:
python -m pip install regex -v; python -m pip show regex; python -c "import regex; print('regex imported successfully')"
What happens?
Usage:
c:\users\cavalry\appdata\local\programs\python\python312\python.exe -m pip install [options] <requirement specifier> [package-index-options] ...
c:\users\cavalry\appdata\local\programs\python\python312\python.exe -m pip install [options] -r <requirements file> [package-index-options] ...
c:\users\cavalry\appdata\local\programs\python\python312\python.exe -m pip install [options] [-e] <vcs project url> ...
c:\users\cavalry\appdata\local\programs\python\python312\python.exe -m pip install [options] [-e] <local project path> ...
c:\users\cavalry\appdata\local\programs\python\python312\python.exe -m pip install [options] <archive url/path> ...
no such option: -;
ebook2audiobook is not compatible with 3.12 and 3.13 since all major A.I. engine which eb2ab depends runs < 3.12 unless very few exceptions. you must for now install a python virtual env version 3.10 or 3.11. or wait the new release as an installer will do that for you
@cavalrymargarine0x1
so yeah, Right now were working on getting to out version 2.0 which will be a lot easer to install.
In the meantime you can run it in the docker version:
You can also use Docker to run the eBook to Audiobook converter. This method ensures consistency across different environments and simplifies setup.
To run the Docker container and start the Gradio interface, use the following command:
-Run with CPU only
docker run -it --rm -p 7860:7860 --platform=linux/amd64 athomasson2/ebook2audiobookxtts:huggingface python app.py
-Run with GPU Speedup (Nvida graphics cards only)
docker run -it --rm --gpus all -p 7860:7860 --platform=linux/amd64 athomasson2/ebook2audiobookxtts:huggingface python app.py
This command will start the Gradio interface on port 7860.(localhost:7860)
hello, i'm trying to run app.py, but this is what the terminal outputs:
i've followed all the installation steps, and made sure the regex module is installed after reading the issue the terminal references but same result. would you know how to fix this? thank you