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

Running pip on OSX / Kivy3: No such file or directory: activate_this.py #36

Open
dessant opened this issue Jan 2, 2017 · 2 comments
Open

Comments

@dessant
Copy link
Contributor

dessant commented Jan 2, 2017

From @miohtama on January 2, 2017 6:15

Fresh Kivy3 1.9.1. install.

Attempt to run pip command directly fails.

/Applications/Kivy3.app/Contents/Resources/venv/bin/pip
Traceback (most recent call last):
  File "/Applications/Kivy3.app/Contents/Resources/venv/bin/pip", line 3, in <module>
    import os; activate_this=os.path.join(os.path.dirname(os.path.realpath(__file__)), 'activate_this.py'); exec(compile(open(activate_this).read(), activate_this, 'exec'), dict(__file__=activate_this)); del os, activate_this
IOError: [Errno 2] No such file or directory: '/Applications/Kivy3.app/Contents/Resources/venv/bin/activate_this.py'

Not sure if this is intentional or the virtual environment shipped with the installation is broken.

Copied from original issue: kivy/kivy#4868

@dessant
Copy link
Contributor Author

dessant commented Jan 2, 2017

From @miohtama on January 2, 2017 6:36

Workaround: use Homebrew installation method.

@miohtama
Copy link

miohtama commented Jan 3, 2017

Neither pip nor kivy -m pip works. The following works on Kivy (2) on the same computer:

/Applications/Kivy2.app/Contents/MacOS/Kivy -m pip install -U pip

... so this seems to be regression.

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

No branches or pull requests

2 participants