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
{{ message }}
Repository navigation
Installing matplotlib from sources downloads jquery-ui anyway #14585
I'm trying to install matplotlib-2.2.4 on a system which doesn't have internet access. I downloaded the matplotlib sources from PyPI, but the installation gets stuck when trying to download jquery-ui.
#11246 (comment) by @tacaswell seems to indicate that the PyPI source tarball should already have jquery-ui vendored. I do indeed see the jquery-ui sources in that tarball, but those don't actually get installed by setup.py so it still tries to download jquery-ui anyway.
[...lots of console output, nothing mentioning jquery-ui at all...]
byte-compiling /usr/local/src/sage-config/local/lib/python2.7/site-packages/matplotlib/tri/triinterpolate.py to triinterpolate.pyc
byte-compiling /usr/local/src/sage-config/local/lib/python2.7/site-packages/matplotlib/tri/tricontour.py to tricontour.pyc
error: Failed to download jquery-ui. Please download https://jqueryui.com/resources/download/jquery-ui-1.12.1.zip and extract it to /usr/local/src/sage-config/local/lib/python2.7/site-packages/matplotlib/backends/web_backend/.
Expected outcome
setup.py should install the vendored copy of jquery-ui instead of downloading it.
Activity
Don't redownload jquery when installing from an sdist
Don't redownload jquery when installing from an sdist
Don't redownload jquery when installing from an sdist