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

[virtualenv + pip install pybfd]: error: option --single-version-externally-managed not recognized #8

Open
ret5et opened this issue Mar 30, 2015 · 2 comments

Comments

@ret5et
Copy link

ret5et commented Mar 30, 2015

:~/src$ virtualenv  lalal
Running virtualenv with interpreter /home/ret/src/test/bin/python2
Using real prefix '/usr'
New python executable in lalal/bin/python2
Also creating executable in lalal/bin/python
Installing setuptools, pip...done.
ret@witch:~/src$ cd lalal/
ret@witch:~/src/lalal$ source bin/activate
(lalal)ret@witch:~/src/lalal$ pip install pybfd
Downloading/unpacking pybfd
  Downloading pybfd-0.1.1.tar.gz (181kB): 181kB downloaded
  Running setup.py (path:/tmp/pip-build-ctdaZV/pybfd/setup.py) egg_info for package pybfd

Installing collected packages: pybfd
  Running setup.py install for pybfd
    usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: -c --help [cmd1 cmd2 ...]
       or: -c --help-commands
       or: -c cmd --help

    error: option --single-version-externally-managed not recognized
    Complete output from command /home/ret/src/lalal/bin/python2 -c "import setuptools, tokenize;__file__='/tmp/pip-build-ctdaZV/pybfd/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-vNJ6ck-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/ret/src/lalal/include/site/python2.7:
    usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]

   or: -c --help [cmd1 cmd2 ...]

   or: -c --help-commands

   or: -c cmd --help



error: option --single-version-externally-managed not recognized

----------------------------------------
Cleaning up...
Command /home/ret/src/lalal/bin/python2 -c "import setuptools, tokenize;__file__='/tmp/pip-build-ctdaZV/pybfd/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-vNJ6ck-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/ret/src/lalal/include/site/python2.7 failed with error code 1 in /tmp/pip-build-ctdaZV/pybfd
Storing debug log for failure in /home/ret/.pip/pip.log

:(

@abforce
Copy link
Contributor

abforce commented Apr 24, 2016

pip install --egg pybfd

@rlipscombe
Copy link

While this works, --egg is deprecated. Is there a more up-to-date solution to this problem?

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

3 participants