0

When I was trying to install great_expectation on terminal,

'pip install great_expectations'

I got this error:

Installing collected packages: ruamel.yaml, jsonpatch, altair, great-expectations Attempting uninstall: ruamel.yaml Found existing installation: ruamel-yaml 0.15.87 ERROR: Cannot uninstall 'ruamel-yaml'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. any suggestions to solve this issue? many thanks

Adamtky
  • 33
  • 4

2 Answers2

2

You are probably using conda or something similar non-standard, that is not fully pip compatible. You should make a virtualenv:

python -m venv /path/to/your/venv
source /path/to/your/venv/bin/activate  # adapt to your OS/shell
pip install great_expectations
Anthon
  • 69,918
  • 32
  • 186
  • 246
1

I was able to resolve this using

pip install great_expectations --ignore-installed ruamel.yaml