I\'ve been trying to install IMGAUG
package for an ML project. But the installation gets stuck when it tries to install scikit-image
My input:
(Scroll down to a horizontal line to skip explanation and go straight to the suggested solution if you wish)
3221225477
is 0xC0000005
which is NTSTATUS STATUS_ACCESS_VIOLATION; the corresponsing error message is The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.
.
In Windows, a process usually quits with this exit code if it tries to access an invalid memory address and Windows terminates it as a result. If you install Visual Studio, you'll be able to pinpoint the exact module at fault as shown on the link.
Now, this error means a bug in or an incompatibility between some of your installed extension modules (or in Python engine itself, but this is very unlikely in comparison).
The easiest way to fix is to clean up any problems with the involved modules' installation and (if that isn't enough) update them to the latest versions, hoping that whatever is causing that is fixed in them.
In particular, scipy in c:\users\*<username>*\appdata\local\programs\python\python37\lib\site-packages
looks suspicious: you aren't using --user in your pip
command
pip
before (it's official that it CAN lead to version conflicts), and some of your installed packages are installed both into %ProgramFiles%\Python37\Lib\site-packages
and %APPDATA%\Python\Python37\ib\site-packages
, with different versions in these two locations.I hereby suggest you to:
%ProgramFiles%
is system-wide and requires elevation to manage, %APPDATA%
is per-user and doesn't require elevationpip uninstall <name(s)>
with or without --user
)-U
pip flag)This happened to me also. However I resolved it by uninstalling the package (pip uninstall ), then installing it using conda rather than pip (conda install ).