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

0.2.3 pip install error #1

Closed
e1ty opened this issue Nov 28, 2014 · 1 comment
Closed

0.2.3 pip install error #1

e1ty opened this issue Nov 28, 2014 · 1 comment
Labels

Comments

@e1ty
Copy link

e1ty commented Nov 28, 2014

Hi!
0.2.3 version throws error when installing it with pip3.
sudo pip3 install bottle-mongo

Output:

Downloading/unpacking bottle-mongo
  Downloading bottle-mongo-0.2.3.tar.gz
  Running setup.py (path:/tmp/pip_build_root/bottle-mongo/setup.py) egg_info for package bottle-mongo
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/tmp/pip_build_root/bottle-mongo/setup.py", line 5, in <module>
        REQUIREMENTS = [i.strip() for i in open("requirements.txt").readlines()]
    FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

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

  File "/tmp/pip_build_root/bottle-mongo/setup.py", line 5, in <module>

    REQUIREMENTS = [i.strip() for i in open("requirements.txt").readlines()]

FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'

----------------------------------------
Cleaning up...

When installing from source everything is ok
sudo pip3 install https://github.com/bottlepy/bottle-mongo/archive/master.zip#egg=bottle-mongo

I think you need to use absolute path, when opening requirements.txt

@avelino avelino added the bug label Nov 28, 2014
avelino added a commit that referenced this issue Nov 28, 2014
avelino added a commit that referenced this issue Nov 28, 2014
@avelino
Copy link
Member

avelino commented Nov 28, 2014

@art-eltyshev fixed and generate new release!

pip install bottle-mongo

@avelino avelino closed this as completed Nov 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants