janeczku / calibre-web

:books: Web app for browsing, reading and downloading eBooks stored in a Calibre database
GNU General Public License v3.0
13.17k stars 1.41k forks source link

Calibre-Web upgrade in RHEL 8 #3157

Closed revog1410 closed 2 months ago

revog1410 commented 2 months ago

Calibre-web was working and had an update to the newest version. installed via the web console and calibre-web failed to restart and errors with python3.11 can't be found

image

Running python 3.9 as default, python3.11 installed

Attempted to restart same error

Reinstalled python3.11 and later python3.12 with associated pip. --- same issues

tried re-installing calibre-web via pip pip3 install calibreweb

In all instances python3.11, 3.12 and attempting to revert to 3.9 it is unable to install with the following errors:

image

Looked at forum and it recommended for windows with this error to revert to 3.9.. attempted that also and it still failed as the newer version wants 3.11 or higher.

OzzieIsaacs commented 2 months ago

Please install the python development tools: folowing the answer in this stackoverflow question: https://stackoverflow.com/questions/21530577/fatal-error-python-h-no-such-file-or-directory

sudo yum install python3-devel

and try again (please google the next error message by yourself)

OzzieIsaacs commented 2 months ago

And please also note this sentence : grafik

revog1410 commented 2 months ago

Thank you very much...didn't realize it needed the development tools and did try to fix and search the forums. That was what it needed and I thank you again.