curie curie -4 years ago 210
Python Question

python - IO Error [Errno 2] No such file or directory when downloading package

I was trying to download a Python wrapper called rawpy on my Windows machine. I used the command "pip install rawpy". I have already looked at many other SO threads but could find no solution. The exact error is :

IO Error: [Errno 2] No such file or directory:

The only dependency for the wrapper is numpy, which I successfully installed. I would like to know how to fix this. Quite new to Python, so any information would help.

Answer Source

By separate communication the OP said that the installed pip version is 7.1.0 and Python 2.7. The solution was to update pip to a version >= 8. The underlying issue is related to SOABI tag handling in Python 2, particularly when creating the binary wheels with pip >= 8 and trying to load them in pip < 8. pip 7 didn't identify the available binary wheels as compatible and instead downloaded the source distribution which then failed to install spectacularly.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download