Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

pip fails due to missing README file #45

Closed
demonstrat opened this Issue · 5 comments

3 participants

@demonstrat

When attempting to install cli53 with pip it fails because there is no README file. I renamed "README.markdown" to "README" in the build/cli53 directory and it went fine after that.

@barnybug
Owner

Could you provide more details - command you are running, exact error message, pip version, OS, etc. as I cannot replicate this problem.

@barnybug barnybug closed this
@demonstrat

Sure, sorry.

OS: Debian 6 "squeeze"
PIP Version: 0.7.2-1

root@cli53test:~# pip install cli53
Downloading/unpacking cli53
  Downloading cli53-0.3.3.tar.gz
  In the tar file /tmp/pip-WHl0rf-unpack/cli53-0.3.3.tar.gz the member cli53-0.3.3/README is invalid: 'NoneType' object has no attribute 'isreg'
  Running setup.py egg_info for package cli53
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/root/build/cli53/setup.py", line 4, in <module>
        long_description = file('README','r').read()
    IOError: [Errno 2] No such file or directory: 'README'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File "/root/build/cli53/setup.py", line 4, in <module>

    long_description = file('README','r').read()

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

----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /root/.pip/pip.log
root@cli53test:~#
...
root@cli53test:~/build/cli53# ls -l
total 40
drwxr-xr-x 2 root root 4096 Oct  9 16:30 cli53.egg-info
-rw-r--r-- 1 root root 1056 Oct  9 16:30 LICENSE
-rw-r--r-- 1 root root   32 Oct  9 16:30 MANIFEST.in
drwxr-xr-x 2 root root 4096 Oct  9 16:30 pip-egg-info
-rw-r--r-- 1 root root 4888 Oct  9 16:30 PKG-INFO
-rw-r--r-- 1 root root 3421 Oct  9 16:30 README.markdown
drwxr-xr-x 2 root root 4096 Oct  9 16:30 scripts
-rw-r--r-- 1 root root   59 Oct  9 16:30 setup.cfg
-rw-r--r-- 1 root root  665 Oct  9 16:30 setup.py
root@cli53test:~/build/cli53#

@barnybug barnybug referenced this issue from a commit
@barnybug Remove README. fixes #45 896b83d
@kormoc

It would be great if you could push a fixed version up so pip installs will work again. Thanks much!

@barnybug
Owner

Try 0.3.4

@kormoc

Thanks! That did the trick!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.