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

broken pip --user install #532

Closed
1 of 6 tasks
ibtaylor opened this issue Jan 23, 2019 · 0 comments · Fixed by #533
Closed
1 of 6 tasks

broken pip --user install #532

ibtaylor opened this issue Jan 23, 2019 · 0 comments · Fixed by #533

Comments

@ibtaylor
Copy link
Contributor

System Info

  • Operating System: uname -a
    Linux 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
  • Python Version: python --version
    Python 2.7.15rc1
  • Version of catkin_tools: catkin --version OR Git revision
    Not relevant
  • ROS Distro: echo $ROS_DISTRO
    N/A (using outside of ros)

Build / Run Issue

  • Works with catkin_make
  • Works with catkin_make_isolated --merge
  • Works with catkin build
  • Works with catkin build -p1
  • I did not read this
  • Not applicable

Expected Behavior

I should be able to do a user install of catkin_tools.

Actual Behavior

It fails to install

Installing collected packages: catkin-tools
  Running setup.py install for catkin-tools ... error
    Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-cE992M/catkin-tools/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-8xEZNz/install-r
ecord.txt --single-version-externally-managed --compile --user --prefix=:
    usage: -c [--user | --prefix PREFIX]
    -c: error: argument --prefix: not allowed with argument --user/--home

    ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-cE992M/catkin-tools/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-8xEZNz/install-record.txt --single-versi
on-externally-managed --compile --user --prefix=" failed with error code 2 in /tmp/pip-install-cE992M/catkin-tools/

Steps to Reproduce the Issue

pip install --user --no-cache-dir catkin_tools==0.4.4
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

Successfully merging a pull request may close this issue.

1 participant