kiniou / moshy

☎️ Moshy : a simple Mosh wrapper with profile settings
10 stars 2 forks source link

installation problem with user-prefix #2

Open kanedo opened 9 years ago

kanedo commented 9 years ago

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 commented 9 years ago

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 :smile:.

kanedo commented 9 years ago

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 commented 9 years ago

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.