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

installation problem with user-prefix #2

Open
kanedo opened this issue May 13, 2015 · 3 comments
Open

installation problem with user-prefix #2

kanedo opened this issue May 13, 2015 · 3 comments
Assignees

Comments

@kanedo
Copy link
Contributor

kanedo commented May 13, 2015

When installing moshy on Mac OS X Yosemite I got an error stating:
error: can't combine user with with prefix/exec_prefix/home or install_(plat)base
the workaround was to add --install-option="--prefix=" to the installation command.

Maybe you want to add this to your README

@kiniou
Copy link
Owner

kiniou commented May 13, 2015

I'm curious what is your Python workflow on Mac OSX.

I just own a Mac Mini on OSX Leopard but I'm not working on it myself 😄.

@kanedo
Copy link
Contributor Author

kanedo commented May 14, 2015

to be honest I don't have a python workflow at all. I just installed python3 via homebrew and then tried your installation script which ended with the error.

@kiniou
Copy link
Owner

kiniou commented May 15, 2015

After some research on this issue, i found this doc page which tells me that brewed python doesn't work well with pip install --user.

There are also issues on other python projects that reports that same issue and it seems a pip install without --user should work but will install the module in the system path (ie. brewed python path).

Anyway, I will make changes to the README to reflect the common way to install a python module with pip since the -r requirements.txt can be avoided and I've started to do those setup.py tasks with pbr module in my newest projects.

@kiniou kiniou self-assigned this May 22, 2015
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

2 participants