I have been trying to install a python package called PsrPopPy () in Ubuntu 20.04 but apparently a certain module is missing from the package. See below:
juliejt@tulasi:~$ cd PsrPopPy
juliejt@tulasi:~/PsrPopPy$ python setup.py install
scons: Reading SConscript files ...
ImportError: No module named pep425tags: File "/home/juliejt/PsrPopPy/SConstruct", line 19: import wheel.pep425tags
juliejt@tulasi:~/PsrPopPy$ pip install pep425tags
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement pep425tags (from versions: none)
ERROR: No matching distribution found for pep425tags
juliejt@tulasi:~/PsrPopPy$ pip install wheel.pep425tags
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement wheel.pep425tags (from versions: none)
ERROR: No matching distribution found for wheel.pep425tagsI am not sure how to install the missing wheel.pep425tags file or if there is another way to resolve the issue.
31 Answer
In this particular case, within the SConstruct script you can switch:
import wheel.pep425tags
full_tag = '-'.join(next(tag for tag in wheel.pep425tags.get_supported() if not 'manylinux' in tag))to
import enscons
full_tag = enscons.get_binary_tag()(see, e.g., this file).