1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-10-31 23:26:20 +00:00

pip install cryptography nec for now?!

A Holt 2024-10-08 21:16:37 -04:00
parent 1bb172403e
commit f7d3f26316

@ -4,7 +4,7 @@ If you want to manually install Calibre-Web (“from source”), follow the inst
_These instructions assume a Debian-based Linux distribution (Ubuntu, Raspberry Pi OS...)_ _These instructions assume a Debian-based Linux distribution (Ubuntu, Raspberry Pi OS...)_
1. **Switch to a root shell**: 1. **Switch to user `root`**:
- `sudo -i` - `sudo -i`
2. **Install git, imagemagick, netifaces, pip, venv, and cryptography:** 2. **Install git, imagemagick, netifaces, pip, venv, and cryptography:**
@ -27,20 +27,21 @@ _These instructions assume a Debian-based Linux distribution (Ubuntu, Raspberry
5. **Install dependencies** by running: 5. **Install dependencies** by running:
- `./venv/bin/python3 -m pip install -r requirements.txt` - `./venv/bin/python3 -m pip install -r requirements.txt`
**PRO TIP:** 6. As of 2024-10-08, the OS version of `python3-cryptography` is mysteriously no longer enough (as tested on Ubuntu 24.10!), so **install `cryptography` using pip:**
- **If you want a more recent version of `cryptography`** than your OS offers: - `./venv/bin/python3 -m pip install cryptography`
- `./venv/bin/python3 -m pip install cryptography` <!-- **PRO TIP:**
- **If you want a more recent version of `cryptography`** than your OS offers: -->
6. **Run Calibre-Web** with the command: 7. **Run Calibre-Web** with the command:
- `./venv/bin/python3 cps.py` - `./venv/bin/python3 cps.py`
**PRO TIP:** **PRO TIP:**
- Or use `nohup ./venv/bin/python3 cps.py` if you want to exit the terminal window. - Or use `nohup ./venv/bin/python3 cps.py` if you want to exit the terminal window.
7. **[Try it out!](https://github.com/janeczku/calibre-web#quick-start)** 8. **[Try it out!](https://github.com/janeczku/calibre-web#quick-start)**
8. **Exit the root shell when finished**: <!-- 9. **Exit the root shell when finished**:
- `exit` - `exit` -->
#### Additional Issues and Considerations: #### Additional Issues and Considerations: