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

IOError: [Errno 2] No such file or directory: 'README.rst' when installing from pip #5

Closed
cl-s opened this issue Aug 7, 2015 · 8 comments
Assignees

Comments

@cl-s
Copy link

cl-s commented Aug 7, 2015

Hi there,

I seem to be having issues installing the latest version (v1.59) using pip.

The log output is as follows:

$ pip install pympi-ling
Collecting pympi-ling
  Using cached pympi-ling-1.59.tar.gz
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip-build-pA3iNI/pympi-ling/setup.py", line 13, in <module>
        long_description=open('README.rst').read(),
    IOError: [Errno 2] No such file or directory: 'README.rst'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

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

      File "/tmp/pip-build-pA3iNI/pympi-ling/setup.py", line 13, in <module>

        long_description=open('README.rst').read(),

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

    ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-pA3iNI/pympi-ling

This issue doesn't seem to affect the install when doing a manual install from the repository.

However, I notice in the tarball hosted on PyPI the file README.rst is missing from the package's root directory so when setup.py tries to read it in it can't be found.

@j6k4m8
Copy link

j6k4m8 commented Aug 11, 2015

Replacing that line with long_description='a project without a readme', does nicely... Looks like the pypi tarball is borken!

@dopefishh dopefishh reopened this Aug 11, 2015
@dopefishh
Copy link
Owner

Sorry accidentally pressed close. For some unknown reason the README.rst didn't appear in the tarball. I will fix this asap

@dopefishh
Copy link
Owner

Meh, I messed it up, my fancy RST readme is gone from the long description:( This will take some extra time...

@dopefishh dopefishh self-assigned this Aug 12, 2015
@dopefishh
Copy link
Owner

Okay it seems to work now. pip install pympi-ling==1.59c

@cl-s
Copy link
Author

cl-s commented Aug 12, 2015

Great thanks @dopefishh! That seems to work for me now too.

@mehaksharma1993
Copy link

How to fix this problem?

@dopefishh
Copy link
Owner

Aw, that's a pity. That bug slipped through while uploading. You can still
install the package by hand. I will fix this as soon as possible.

Thanks for the feedback, if you have any other questions or feedback please let
me know.

Best,
Mart

On Sun, Jan 24, 2016 at 09:41:29AM -0800, mehaksharma1993 wrote:

How to fix this problem?


Reply to this email directly or view it on GitHub.*

@dopefishh
Copy link
Owner

Dear mehaksharma1993

The latest release should fix this.

Best,
Mart

On Sun, Jan 24, 2016 at 09:41:29AM -0800, mehaksharma1993 wrote:

How to fix this problem?


Reply to this email directly or view it on GitHub.*

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

4 participants