Hello,
Thank you for your response. I am using the 0.13.35 version. I am currently attempting to install Great Expectations version 1.1.3 and 1.2.0 in my environment but encountered an error when I run great_expectations --version.
Environment details:
- Operating System: Windows 10
- Python version: [3.9, 3.10, 3.11, 3.12]
- Package manager: [conda, pip]
- Virtual environment setup: [using conda virtual environment and pip virtual environment]
Error Details with conda:
-(great_expectations_env) C:\Users\KZ\great_expectations>great_expectations --version
Traceback (most recent call last):
File “C:\Users\ZK\anaconda3\envs\great_expectations_env\Scripts\great_expectations-script.py”, line 5, in
from great_expectations.cli import main
ModuleNotFoundError: No module named ‘great_expectations.cli’
when I run this command it indicates that great expectations is installed:
-(great_expectations_env) C:\Users\ZK\great_expectations>conda list | findstr great-expectations
great-expectations 1.2.0 pyhd8ed1ab_0 conda-forge
Error Details with pip:
‘great_expectations’ n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
When I execute this command I see it has been installed :
- pip show great_expectations
Name: great-expectations
Version: 1.2.0
Summary: Always know what to expect from your data.
Home-page: https://greatexpectations.io
Author: The Great Expectations Team
Author-email: team@greatexpectations.io
License: Apache-2.0
Location: C:\Users\ZK\great_expectations\ge_env\Lib\site-packages
Requires: altair, cryptography, jinja2, jsonschema, marshmallow, mistune, numpy, packaging, pandas, posthog, pydantic, pyparsing, python-dateutil, requests, ruamel.yaml, scipy, tqdm, typing-extensions, tzlocal
Required-by:
I have also tried the following troubleshooting steps:
- Updating pip/conda and trying a different environment
- Restart the PC
Despite these efforts, the issue persists. Could you provide any insights or guidance on how to resolve this?
NB:This issue arises only when I attempt to install Great Expectations version 1.x (specifically version 1.0, 1.1.3, 1.1.2, 1.2.0). I have successfully installed other versions (e.g., 0.13.x, 0.17, 0) without any issues, but installing any 1.x version consistently results in this error.
Thank you for your support