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

error: 'egg_base' must be a directory name (got python) #9

Closed
nbmurphy opened this issue Sep 27, 2018 · 1 comment
Closed

error: 'egg_base' must be a directory name (got python) #9

nbmurphy opened this issue Sep 27, 2018 · 1 comment
Assignees
Labels

Comments

@nbmurphy
Copy link

nbmurphy commented Sep 27, 2018

This issue is similar to the one discussed here
pypa/setuptools#1136
and here
pypa/pip#5732
It seems to only effect Python 2.7. Commenting out the line - '2.7' in .travis.yml fixes the problem. However, some repos still use Python 2.7, such as sdss_install through sdss4install, so this is not an ideal workaround.

@albireox
Copy link
Member

albireox commented Oct 1, 2018

So, this problem seem to be caused by having a from __future__ import unicode_literals in setup.py. The issue is related to setuptools and I don't think it has been solved. Given that we don't really use any character that is not ASCII in setup.py I think it's safe to remove that import from that file. I've tagged a new version.

@albireox albireox self-assigned this Oct 1, 2018
@albireox albireox added the bug label Oct 1, 2018
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