IOError: [Errno 2] No such file or directory: 'README.md'
Asked Answered
A

2

9

When I try to install omniture using pip I receive the following error:

IOError: [Errno 2] No such file or directory: 'README.md'

I am basically trying to connect to the Adobe Analytics API. Can someone help me?

Thanks

Apartheid answered 17/1, 2017 at 11:19 Comment(2)
You need to provide more context for your question. How to ask a good question? is a good resource. As such, all we can tell is that the file README.md doesn't exist where you're trying to access it.Newmann
On installing through git link it throws error: could not create '/usr/local/lib/python2.7/dist-packages/omniture': Permission denied and if you go to setup.py file you will find long_description=open('README.md').read() and README.md is available there –Profane
L
7

omniture module on PyPi is missing the README.md file, hence the IOError you get.

If you want to install this module, install it through its github repo as below:

pip install git+git://github.com/stdbrouw/python-omniture.git

For more information check its GitHub link

Loveinidleness answered 17/1, 2017 at 11:27 Comment(3)
On installing through git link it throws error: could not create '/usr/local/lib/python2.7/dist-packages/omniture': Permission denied and if you go to setup.py file you will find long_description=open('README.md').read() and README.md is available thereProfane
It is because you do not have permissions on your system to create this directory. If you are on Linux call it as sudo: sudo pip install git+git://github.com/stdbrouw/python-omniture.git. In Windows execute it as Admin.Loveinidleness
I realize this is a 2 year old comment, but I feel it should be said here for anyone who runs across this that running pip as sudo is generally a very bad idea. See this question.Banshee
L
2

I had this problem once with a README.adoc, and I solved it by adding README.adoc to the MANIFEST.in file and republishing my package.

Ludhiana answered 18/3, 2020 at 7:46 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.