You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pip install gspread fails inside virtualenv with a space in parent directory name. I’m running Python 2.7.5 on Mac OS 10.9, and when I attempt to install using pip, gspread tries to install itself in /Library/Python/2.7/site-packages where it encounters a permission failure. I can still correctly install gspread from the Git repo, using python setup.py install.
@migurski Thanks for reporting the issue and sorry for the two years delay in reply.
I don't think the problem is related to gspread, though. In the linked install log, the pip version is /usr/local/bin/pip which looks like a system-wide installation. I'm not sure about the exact reason behind this particular failure, but similar permission-related errors have beenreported on StackOverflow.
A space in a directory name is another known issue. It is also unrelated to gspread.
pip install gspread
fails inside virtualenv with a space in parent directory name. I’m running Python 2.7.5 on Mac OS 10.9, and when I attempt to install using pip, gspread tries to install itself in/Library/Python/2.7/site-packages
where it encounters a permission failure. I can still correctly install gspread from the Git repo, usingpython setup.py install
.Steps to reproduce:
mkdir "/tmp/foo bar"
(note space in the name)cd "/tmp/foo bar"
virtualenv venv-foo
source venv-foo/bin/activate.csh
(I use tcsh)pip install gspread
Here's a log of the error.
When the parent directory has no space in its name, pip installs as expected:
mkdir /tmp/foo-bar
cd /tmp/foo-bar
virtualenv venv-foo
source venv-foo/bin/activate.csh
pip install gspread
now works.The text was updated successfully, but these errors were encountered: