Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EnvironmentError: [Errno 2] No such file or directory when installing apache libcloud on appveyor #29

Open
ogrisel opened this issue Jul 3, 2018 · 6 comments

Comments

@ogrisel
Copy link
Owner

ogrisel commented Jul 3, 2018

Apparently, the latest libcloud cannot be installed under appveyor with the following error message:

/45a9d3bba612fc3f47ef085a14446a4f68f45ce10070562edff1e9291150/apache_libcloud-2.3.0-py2.py3-none-any.whl (4.9MB)
Could not install packages due to an EnvironmentError
EnvironmentError: [Errno 2] No such file or directory: 'c:\\users\\appveyor\\appdata\\local\\temp\\1\\pip-install-fnscs_\\apache-libcloud\\libcloud/test/compute/fixtures/azure_arm/_subscriptions_99999999_9999_9999_9999_999999999999_resourceGroups_000000_providers_Microsoft_Compute_virtualMachines_test_node_1_InstanceView.json'
Command exited with code 1
@ogrisel
Copy link
Owner Author

ogrisel commented Jul 3, 2018

FYI, this is not appveyor specific, I reproduced it on a local windows machine. pip install apache-libcloud==2.2.1 seems to work though (and upload works both on Python 3.7 and Python 2.7 with that version).

I will probably do a new release to pin to that version for now.

@ogrisel
Copy link
Owner Author

ogrisel commented Jul 3, 2018

I encountered the encryptfs limitation myself on my linux laptop and I put my venvs folder under a non-encrypted folder in /opt because of that.

But this is not exactly the same problem: pip fails to install apache-libcloud==2.3.0 under windows. The fix is probably to rename that file to something shorter in the libcloud package.

@matthew-brett
Copy link
Collaborator

It looks very similar - and the report seems to say that the current release is broken in that respect. Is it possible this is a Windows file path length limitation?

@ogrisel
Copy link
Owner Author

ogrisel commented Jul 3, 2018

@ogrisel
Copy link
Owner Author

ogrisel commented Jul 3, 2018

I have also released 0.10.1 as a stopgap with a dependency pinned to apache-licloud==2.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants