Closed shaheen-coder closed 2 weeks ago
Regex (re
) is part of Python's standard library, it doesn't need to be installed separately.
https://github.com/termux/termux-packages/issues/20039#issuecomment-2096494418
~ $ _file="$(find $PREFIX/lib/python3.11 -name "_sysconfigdata*.py")"
FIX/lib/python3.11/__pycache__
cp $_file "$_file".backup
sed -i 's|-fno-openmp-implicit-rpath||g' "$_file"~ $ rm -rf $PREFIX/lib/python3.11/__pycache__
~ $ cp $_file "$_file".backup
~ $ sed -i 's|-fno-openmp-implicit-rpath||g' "$_file"
~ $ pip3 install regex
Collecting regex
Using cached regex-2024.5.15.tar.gz (394 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: regex
Building wheel for regex (pyproject.toml) ... done
Created wheel for regex: filename=regex-2024.5.15-cp311-cp311-linux_aarch64.whl size=536980 sha256=960c9017a4977e853fba7d5766d7753b10e9ad3effa83b9df5c4922a633f9567
Stored in directory: /data/data/com.termux/files/home/.cache/pip/wheels/d9/7a/47/a8a60fdaddb161682c831a5d3a8770bde0017531f6301391cd
Successfully built regex
Installing collected packages: regex
Successfully installed regex-2024.5.15
~ $
Problem description
I can't install python pakage 'regex'
What steps will reproduce the bug?
pip install regex
What is the expected behavior?
Idk
System information