# Could not find a version that satisfies the requirement MarkupSafe\>=0.23 (from Jinja2==2.9.5-\>esrally==1.0.4) (from versions: ) No matching distribution found for MarkupSafe\>=0.23 (from Jinja2==2.9.5-\>esrally==1.0.4)

**URL:** <https://discuss.elastic.co/t/could-not-find-a-version-that-satisfies-the-requirement-markupsafe-0-23-from-jinja2-2-9-5-esrally-1-0-4-from-versions-no-matching-distribution-found-for-markupsafe-0-23-from-jinja2-2-9-5-esrally-1-0-4/176889>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [April 15, 2019, 11:03am UTC](https://discuss.elastic.co/t/could-not-find-a-version-that-satisfies-the-requirement-markupsafe-0-23-from-jinja2-2-9-5-esrally-1-0-4-from-versions-no-matching-distribution-found-for-markupsafe-0-23-from-jinja2-2-9-5-esrally-1-0-4/176889 "2019-04-15T11:03:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![swapnali](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@swapnali](https://discuss.elastic.co/u/swapnali)\
**Post date:** [April 15, 2019, 11:03am UTC](https://discuss.elastic.co/t/could-not-find-a-version-that-satisfies-the-requirement-markupsafe-0-23-from-jinja2-2-9-5-esrally-1-0-4-from-versions-no-matching-distribution-found-for-markupsafe-0-23-from-jinja2-2-9-5-esrally-1-0-4/176889/1 "2019-04-15T11:03:25Z")

</div>

Hello,

I am Trying to install rally (Offline) i have installed python version 3.6 and pip 9.10

i am getting the below error kindly help me for this

" Could not find a version that satisfies the requirement MarkupSafe\>=0.23 (from Jinja2==2.9.5-\>esrally==1.0.4) (from versions: )  
No matching distribution found for MarkupSafe\>=0.23 (from Jinja2==2.9.5-\>esrally==1.0.4) "

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [April 16, 2019, 11:42am UTC](https://discuss.elastic.co/t/could-not-find-a-version-that-satisfies-the-requirement-markupsafe-0-23-from-jinja2-2-9-5-esrally-1-0-4-from-versions-no-matching-distribution-found-for-markupsafe-0-23-from-jinja2-2-9-5-esrally-1-0-4/176889/2 "2019-04-16T11:42:43Z")

</div>

Hi,

I just inspected Rally's offline install package and noticed that MarkupSafe is platform-dependent and Rally only ships with the MacOS package but I assume you run on Linux. We need to look into whether we can include all variations of a platform-dependent binary in the offline installation package. As a workaround you can download the MarkupSafe binary for your platform yourself from [https://pypi.org/project/MarkupSafe/1.1.0/#files](https://pypi.org/project/MarkupSafe/1.1.0/#files) and place it in the `bin` subdirectory of the extracted Rally offline installation package (untested but `pip` should then be able to pickup the correct package).

Daniel

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [April 16, 2019, 12:09pm UTC](https://discuss.elastic.co/t/could-not-find-a-version-that-satisfies-the-requirement-markupsafe-0-23-from-jinja2-2-9-5-esrally-1-0-4-from-versions-no-matching-distribution-found-for-markupsafe-0-23-from-jinja2-2-9-5-esrally-1-0-4/176889/3 "2019-04-16T12:09:38Z")

</div>

Hi,

alternatively you can also download the platform-indepenent source package (it's the last one, or the only tar.gz, in the list on PyPI). I've also raised [https://github.com/elastic/rally/pull/682](https://github.com/elastic/rally/pull/682) which will fix this in Rally 1.1.0. Thanks for bringing this up.

Daniel

---

<div class="post-metadata">

**Author:** ![swapnali](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@swapnali](https://discuss.elastic.co/u/swapnali)\
**Post date:** [April 17, 2019, 5:29am UTC](https://discuss.elastic.co/t/could-not-find-a-version-that-satisfies-the-requirement-markupsafe-0-23-from-jinja2-2-9-5-esrally-1-0-4-from-versions-no-matching-distribution-found-for-markupsafe-0-23-from-jinja2-2-9-5-esrally-1-0-4/176889/4 "2019-04-17T05:29:25Z")

</div>

Thank you so much for your reply

---

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [April 19, 2019, 1:56am UTC](https://discuss.elastic.co/t/could-not-find-a-version-that-satisfies-the-requirement-markupsafe-0-23-from-jinja2-2-9-5-esrally-1-0-4-from-versions-no-matching-distribution-found-for-markupsafe-0-23-from-jinja2-2-9-5-esrally-1-0-4/176889/5 "2019-04-19T01:56:17Z")

</div>

need use `pip3 setup.py install` with `MarkupSafe`  
i down the MarkupSafe and install the error is slove.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 17, 2019, 1:56am UTC](https://discuss.elastic.co/t/could-not-find-a-version-that-satisfies-the-requirement-markupsafe-0-23-from-jinja2-2-9-5-esrally-1-0-4-from-versions-no-matching-distribution-found-for-markupsafe-0-23-from-jinja2-2-9-5-esrally-1-0-4/176889/6 "2019-05-17T01:56:20Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
