Add failed build for cryptography

Ozzie Isaacs 2023-02-19 15:47:17 +01:00
parent 0f9a780f71
commit 765190d113
1 changed files with 5 additions and 1 deletions

@ -13,10 +13,14 @@ If you want to manually install Calibre-Web (“from source”), follow the proc
4. Download and extract Calibre-Web into the current folder (in this example /opt/calibre-web) from the releases page on Github
5. Install dependencies by running `./venv/bin/python3 -m pip install -r requirements.txt`
5. Install dependencies by running `./venv/bin/python3 -m pip install -r requirements.txt`.
6. Execute the command: `./venv/bin/python3 cps.py` (or `nohup ./venv/bin/python3 cps.py` - recommended if you want to exit the terminal window)
Issues:
Depending on your Distribution version and version of pip it's possible that the installation fails with `Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects`
Issues with Ubuntu:
Please note that running the above install command can fail on some versions of Ubuntu, saying `"can't combine user with prefix"`. This is a [known bug](https://github.com/pypa/pip/issues/3826) and can be remedied by using the command `./venv/bin/python3 -m pip install --system -r requirements.txt` instead.