Unable to install of Great Expectations in Windows 10 (x64)

Installation of Great Expectations in Windows 10 (x64) is showing a bunch of errors and warnings. I tried installing Great Expectations from CLI (also tried as admin) with:

  1. pip install great_expectations command
  2. python -m pip install great_expectations command

In both the cases, I got a lot of errors and warnings. Please let me know, if I am wrong or any modifications is required for installation.

Thanks in advance

Hey @Harsha! Would you be able to drop the errors and warnings you’re receiving here? That would help us better understand what may be happening.

I’m having similar issues. Here is one of the errors:

ERROR: Command errored out with exit status 1: ‘C:\Users\KellyGuillory\AppData\Local\Programs\Python\Python310\python.exe’ -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘C:\Users\KellyGuillory\AppData\Local\Temp\pip-install-nn0ginu1\numpy_60e67fe3661042e2b7ca29e50d5b875c\setup.py’"’"’; file=’"’"‘C:\Users\KellyGuillory\AppData\Local\Temp\pip-install-nn0ginu1\numpy_60e67fe3661042e2b7ca29e50d5b875c\setup.py’"’"’;f = getattr(tokenize, ‘"’"‘open’"’"’, open)(file) if os.path.exists(file) else io.StringIO(’"’"‘from setuptools import setup; setup()’"’"’);code = f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ install --record ‘C:\Users\KellyGuillory\AppData\Local\Temp\pip-record-5arg6om4\install-record.txt’ --single-version-externally-managed --prefix ‘C:\Users\KellyGuillory\AppData\Local\Temp\pip-build-env-4ic_7tbp\overlay’ --compile --install-headers ‘C:\Users\KellyGuillory\AppData\Local\Temp\pip-build-env-4ic_7tbp\overlay\Include\numpy’ Check the logs for full command output.

error: Command “C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Ibuild\src.win-amd64-3.1\numpy\core\src\umath -Ibuild\src.win-amd64-3.1\numpy\core\src\npymath -Ibuild\src.win-amd64-3.1\numpy\core\src\common -Inumpy\core\include -Ibuild\src.win-amd64-3.1\numpy\core\include/numpy -Inumpy\core\src\common -Inumpy\core\src -Inumpy\core -Inumpy\core\src\npymath -Inumpy\core\src\multiarray -Inumpy\core\src\umath -Inumpy\core\src\npysort -IC:\Users\KellyGuillory\AppData\Local\Programs\Python\Python310\include -IC:\Users\KellyGuillory\AppData\Local\Programs\Python\Python310\Include -Ibuild\src.win-amd64-3.1\numpy\core\src\common -Ibuild\src.win-amd64-3.1\numpy\core\src\npymath -Ibuild\src.win-amd64-3.1\numpy\core\src\common -Ibuild\src.win-amd64-3.1\numpy\core\src\npymath -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\ATLMFC\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcbuild\src.win-amd64-3.1\numpy\core\src\multiarray\scalartypes.c /Fobuild\temp.win-amd64-3.10\Release\build\src.win-amd64-3.1\numpy\core\src\multiarray\scalartypes.obj” failed with exit status 2
----------------------------------------

Hi Great Expectations team,
Is there any update on this Errors/Warnings while installing?

Hey @Harsha; without further detail re: environment, workflow, and the specific errors you’re seeing, it’s difficult to know exactly how to resolve what you’re experiencing. From my personal experience, I’ve been able to resolve similar behavior trying to install GE on Windows 10 via Conda by first conda install-ing numpy & scipy, then pip install-ing GE within that same environment. I’ve also seen resolution around this issue before by upgrading setuptools before attempting install, pip install --upgrade setuptools, but it’s hard to say if these will resolve whatever you’re personally experiencing. @kmremzi From the error you provided, I think the above suggestions may help you resolve this as well.