You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pip install MarkupSafe fails on Linux/aarch64 environment.
(venv) jenkins@xavier:~/tmp$ pip install MarkupSafe
Collecting MarkupSafe
Using cached https://files.pythonhosted.org/packages/bf/10/ff66fea6d1788c458663a84d88787bae15d45daa16f6b3ef33322a51fc7e/MarkupSafe-2.0.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-5q7w2cqz/MarkupSafe/setup.py", line 61, in <module>
run_setup(True)
File "/tmp/pip-build-5q7w2cqz/MarkupSafe/setup.py", line 44, in run_setup
ext_modules=ext_modules if with_binary else [],
File "/home/jenkins/tmp/venv/lib/python3.7/site-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.7/distutils/core.py", line 121, in setup
dist.parse_config_files()
File "/home/jenkins/tmp/venv/lib/python3.7/site-packages/setuptools/dist.py", line 494, in parse_config_files
ignore_option_errors=ignore_option_errors)
File "/home/jenkins/tmp/venv/lib/python3.7/site-packages/setuptools/config.py", line 106, in parse_configuration
meta.parse()
File "/home/jenkins/tmp/venv/lib/python3.7/site-packages/setuptools/config.py", line 382, in parse
section_parser_method(section_options)
File "/home/jenkins/tmp/venv/lib/python3.7/site-packages/setuptools/config.py", line 355, in parse_section
self[name] = value
File "/home/jenkins/tmp/venv/lib/python3.7/site-packages/setuptools/config.py", line 173, in __setitem__
value = parser(value)
File "/home/jenkins/tmp/venv/lib/python3.7/site-packages/setuptools/config.py", line 430, in _parse_version
version = self._parse_attr(value)
File "/home/jenkins/tmp/venv/lib/python3.7/site-packages/setuptools/config.py", line 305, in _parse_attr
module = import_module(module_name)
File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'markupsafe'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-5q7w2cqz/MarkupSafe/
(venv) jenkins@xavier:~/tmp$ uname -a
Linux xavier 4.9.140-tegra #1 SMP PREEMPT Thu Jun 25 21:22:12 PDT 2020 aarch64 aarch64 aarch64 GNU/Linux
(venv) jenkins@xavier:~/tmp$
Issue looks like its at least partly because source build is used, aka, not wheel and then the speedups c code isnt compiled.
Environment:
Python version: 3.7.5
MarkupSafe version: > 1.1.1
The text was updated successfully, but these errors were encountered:
We provide aarch64 wheels. If pip is downloading the sdist, then perhaps you need to update pip? You'll need a version that supports at least manylinux2010. https://pypi.org/project/MarkupSafe/2.0.1/#files
pip install MarkupSafe fails on Linux/aarch64 environment.
Issue looks like its at least partly because source build is used, aka, not wheel and then the speedups c code isnt compiled.
Environment:
The text was updated successfully, but these errors were encountered: