Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install this 0.8.0 on Centos 7.9 w/ Python 3.9 #78

Closed
J-Wick4 opened this issue Mar 28, 2022 · 1 comment
Closed

Can't install this 0.8.0 on Centos 7.9 w/ Python 3.9 #78

J-Wick4 opened this issue Mar 28, 2022 · 1 comment

Comments

@J-Wick4
Copy link

J-Wick4 commented Mar 28, 2022

When trying to install on Centos 7.9 I'm getting the following error:

ERROR: Could not find a version that satisfies the requirement minify-html==0.8.0 (from versions: none)
ERROR: No matching distribution found for minify-html==0.8.0

Compatible tags: 369
cp39-cp39-manylinux_2_17_x86_64
cp39-cp39-manylinux2014_x86_64
cp39-cp39-manylinux_2_16_x86_64
cp39-cp39-manylinux_2_15_x86_64
cp39-cp39-manylinux_2_14_x86_64
cp39-cp39-manylinux_2_13_x86_64
cp39-cp39-manylinux_2_12_x86_64
cp39-cp39-manylinux2010_x86_64
cp39-cp39-manylinux_2_11_x86_64
cp39-cp39-manylinux_2_10_x86_64
cp39-cp39-manylinux_2_9_x86_64
cp39-cp39-manylinux_2_8_x86_64
cp39-cp39-manylinux_2_7_x86_64
cp39-cp39-manylinux_2_6_x86_64
cp39-cp39-manylinux_2_5_x86_64
cp39-cp39-manylinux1_x86_64
cp39-cp39-linux_x86_64

What's causing this? I have another server running Rocky Linux 8.5 and don't have this problem.

@wilsonzlin
Copy link
Owner

wilsonzlin commented Jun 21, 2022

I'm not completely sure, but from Compatible tags: 369 it seems like you're using Python 3.6 unintentionally? If so, that's not a supported version; the minimum version supported is 3.8 as mentioned in the README under the Python section. If that's not the case, it may be due to too old system libraries like glibc.

You can also try building the Python module from source if desired (Node.js, Rust, and Python need to be installed):

bash ./prebuild.sh
cd python
cargo build --release

The built Python native module will be in python/target/release. Move it somewhere, and then simply import it from Python.

Feel free to reopen if this is not the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants