# Unable to upgrade GX Core from 0.18.21 to 1.0.5

**URL:** <https://discourse.greatexpectations.io/t/unable-to-upgrade-gx-core-from-0-18-21-to-1-0-5/1916>\
**Category:** GX Core Support\
**Created:** [September 24, 2024, 12:37pm UTC](https://discourse.greatexpectations.io/t/unable-to-upgrade-gx-core-from-0-18-21-to-1-0-5/1916 "2024-09-24T12:37:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ankit](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@Ankit](https://discourse.greatexpectations.io/u/Ankit)\
**Post date:** [September 24, 2024, 12:37pm UTC](https://discourse.greatexpectations.io/t/unable-to-upgrade-gx-core-from-0-18-21-to-1-0-5/1916/1 "2024-09-24T12:37:07Z")

</div>

I am unable to upgrade GX to latest version with Python 3.12.3 & pip 24.2

Installation command tried:  
= pip install great\_expectations==1.0.5  
= pip install great\_expectations

Error message: No matching distribution found for great\_expectations==1.0.5

---

<div class="post-metadata">

**Author:** ![Ankit](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@Ankit](https://discourse.greatexpectations.io/u/Ankit)\
**Post date:** [October 4, 2024, 5:33pm UTC](https://discourse.greatexpectations.io/t/unable-to-upgrade-gx-core-from-0-18-21-to-1-0-5/1916/3 "2024-10-04T17:33:53Z")

</div>

It still installs great-expectations-0.18.21

---

<div class="post-metadata">

**Author:** ![adeola](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@adeola](https://discourse.greatexpectations.io/u/adeola)\
**Post date:** [October 16, 2024, 2:56pm UTC](https://discourse.greatexpectations.io/t/unable-to-upgrade-gx-core-from-0-18-21-to-1-0-5/1916/4 "2024-10-16T14:56:43Z")

</div>

are you using a notebook or you are installing locally? maybe it’s your cache?

```auto
& pip cache purge
&& pip install great_expectations --force-reinstall

```

can you provide more details of your environment if that doesnt work

---

<div class="post-metadata">

**Author:** ![Han](https://avatars.discourse-cdn.com/v4/letter/h/977dab/32.png) [@Han](https://discourse.greatexpectations.io/u/Han)\
**Post date:** [November 26, 2024, 1:50am UTC](https://discourse.greatexpectations.io/t/unable-to-upgrade-gx-core-from-0-18-21-to-1-0-5/1916/5 "2024-11-26T01:50:36Z")

</div>

I’m facing the same. MacOS. When i do ‘which great\_expectations’, it says ’ not found’. Then i install 'pip install great\_expectations=1.2.4", it installed successfully. But when i do ‘which great\_expectations’ again, it says ‘not found’.

I found that the great\_expectations was installed in “/opt/anaconda3/lib/python3.11/site-packages”, whereas other packages like pyspark are in “/opt/anaconda3/envs/py3.11.10/bin/pyspark”

In the past we can do ‘which great\_expectations’. However, now even if this is not able to do so, I’m able to do a ‘import great\_expectations’ in my python file and doing great\_expectations. **version** gives me 1.2.4 . So, i think it’s fine

---

<div class="post-metadata">

**Author:** ![adeola](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@adeola](https://discourse.greatexpectations.io/u/adeola)\
**Post date:** [November 27, 2024, 12:01am UTC](https://discourse.greatexpectations.io/t/unable-to-upgrade-gx-core-from-0-18-21-to-1-0-5/1916/6 "2024-11-27T00:01:30Z")

</div>

Yes, that’s fine. The issue you’re encountering is because the CLI is deprecated. To check the Great Expectations version moving forward, you can also use the following command:

```auto
print(f'GX Version: {gx. __version__ }')

```

That said, your installation appears to be fine.
