Steven D'Aprano added the comment:
That's not a crash. You are trying to install a package using pip, pip sees
that it is missing the METADATA file and reports a problem. That is working
correctly, not a crash.
There is no way for us to know how the metadata file got deleted. Maybe you
Stéphane Wirtel added the comment:
hi @xtreak
because I don't have a windows vm with me, I can't reproduce this issue, but
maybe this issue is related with ensurepip or just with pip.
when I have seen this issue, my first reaction was "it's not related to
python", but I am not sure.
Karthikeyan Singaravelan added the comment:
traits is not a part of stdlib and the tracker deals with issues in CPython. I
think this is a third party issue or something related to your environment that
can be reported to the respective project.
--
nosy: +xtreak
Feștilă George Cătălin added the comment:
I delete two folders of traits
Using the pip-review --auto this is the output of traits:
copying traits\util\tests\__init__.py -> build\lib.win-amd64-3.6\traits\util\t
ests
running build_ext
building 'traits.ctraits' extension
creating
New submission from Feștilă George Cătălin :
The pip install module crash with this error:
Could not install packages due to an EnvironmentError: [Errno 2] No such file or
directory: 'c:\\python364\\lib\\site-packages\\traits-4.6.0.dist-info\\METADATA
'
You are using pip version 18.1, however