You are not logged in.

#1 2019-11-19 00:59:12

bulletmark
Member
Registered: 2018-05-30
Posts: 21

python-pyparsing package built on 3.8

I have a script which runs unidecode (from python-unicode package) and that uses the pyparsing module (from python-pyparsing package). However unidecode fails with a "no module named pyparsing" error because pyparsing is prematurely built from Python 3.8. That is the only package in my 3.8 site dir, e.g:

$ pacman -Ql python-pyparsing
python-pyparsing /usr/
python-pyparsing /usr/lib/
python-pyparsing /usr/lib/python3.8/
python-pyparsing /usr/lib/python3.8/site-packages/
python-pyparsing /usr/lib/python3.8/site-packages/__pycache__/
python-pyparsing /usr/lib/python3.8/site-packages/__pycache__/pyparsing.cpython-38.opt-1.pyc
python-pyparsing /usr/lib/python3.8/site-packages/__pycache__/pyparsing.cpython-38.pyc
python-pyparsing /usr/lib/python3.8/site-packages/pyparsing-2.4.5-py3.8.egg-info/
python-pyparsing /usr/lib/python3.8/site-packages/pyparsing-2.4.5-py3.8.egg-info/PKG-INFO
python-pyparsing /usr/lib/python3.8/site-packages/pyparsing-2.4.5-py3.8.egg-info/SOURCES.txt
python-pyparsing /usr/lib/python3.8/site-packages/pyparsing-2.4.5-py3.8.egg-info/dependency_links.txt
python-pyparsing /usr/lib/python3.8/site-packages/pyparsing-2.4.5-py3.8.egg-info/top_level.txt
python-pyparsing /usr/lib/python3.8/site-packages/pyparsing.py
python-pyparsing /usr/share/
python-pyparsing /usr/share/licenses/
python-pyparsing /usr/share/licenses/python-pyparsing/
python-pyparsing /usr/share/licenses/python-pyparsing/LICENSE

$ cd /usr/lib/python3.8/site-packages
$ ls -l
total 268
drwxr-xr-x 2 root root   4096 Nov 19 09:40 __pycache__
drwxr-xr-x 2 root root   4096 Nov 19 09:40 pyparsing-2.4.5-py3.8.egg-info
-rw-r--r-- 1 root root 264113 Nov 17 00:06 pyparsing.py
$

Last edited by bulletmark (2019-11-19 01:00:11)

Offline

#2 2019-11-19 06:20:45

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: python-pyparsing package built on 3.8


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

Board footer

Powered by FluxBB