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

Unable to install packages on OSX 10.10 with Xcode 6.1 #2106

Closed
cburmeister opened this issue Oct 27, 2014 · 2 comments
Closed

Unable to install packages on OSX 10.10 with Xcode 6.1 #2106

cburmeister opened this issue Oct 27, 2014 · 2 comments
Labels
auto-locked Outdated issues that have been locked by automation

Comments

@cburmeister
Copy link

I am unable to install Pillow and some other packages using pip.

~ → python --version
Python 2.7.5
~ → pip --version
pip 1.5.6 from /Users/cburmeister/.pyenv/versions/2.7.5/lib/python2.7/site-packages (python 2.7)

Here is a snippet from the log:

~ → tail /Users/cburmeister/.pip/pip.log         
    status = self.run(options, args)
  File "/Users/cburmeister/.virtualenvs/dev-discogs/lib/python2.7/site-packages/pip/commands/install.py", line 283, in run
    requirement_set.install(install_options, global_options, root=options.root_path)
  File "/Users/cburmeister/.virtualenvs/dev-discogs/lib/python2.7/site-packages/pip/req.py", line 1435, in install
    requirement.install(install_options, global_options, *args, **kwargs)
  File "/Users/cburmeister/.virtualenvs/dev-discogs/lib/python2.7/site-packages/pip/req.py", line 706, in install
    cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
  File "/Users/cburmeister/.virtualenvs/dev-discogs/lib/python2.7/site-packages/pip/util.py", line 697, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command /Users/cburmeister/.virtualenvs/dev-discogs/bin/python -c "import setuptools, tokenize;__file__='/Users/cburmeister/.virtualenvs/dev-discogs/build/Pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/t3/hrjgngqj533fmtvpwsb_7lsr0000gn/T/pip-eBcaGk-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/cburmeister/.virtualenvs/dev-discogs/include/site/python2.7 failed with error code 1 in /Users/cburmeister/.virtualenvs/dev-discogs/build/Pillow

I've tried lots of suggestions from what i've been able to find on the web, this is the most similar to my issue that I can find: https://github.com/OpenBazaar/OpenBazaar/issues/370

Can anyone explain why pip is expecting an .exe here?

https://gist.github.com/cburmeister/3e7649658f4f988b3ff0#file-gistfile1-txt-L1057

@mseri
Copy link

mseri commented Nov 2, 2014

I have the same problem. When I tried to remove python3 and reinstall I've gotten the following error

Exception:
Traceback (most recent call last):
  File "/var/folders/1r/hrycw3pj1xn0vjg77_12h1l00000gn/T/tmpr6ds8jrb/pip-1.5.6-py2.py3-none-any.whl/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/var/folders/1r/hrycw3pj1xn0vjg77_12h1l00000gn/T/tmpr6ds8jrb/pip-1.5.6-py2.py3-none-any.whl/pip/commands/install.py", line 283, in run
    requirement_set.install(install_options, global_options, root=options.root_path)
  File "/var/folders/1r/hrycw3pj1xn0vjg77_12h1l00000gn/T/tmpr6ds8jrb/pip-1.5.6-py2.py3-none-any.whl/pip/req.py", line 1435, in install
    requirement.install(install_options, global_options, *args, **kwargs)
  File "/var/folders/1r/hrycw3pj1xn0vjg77_12h1l00000gn/T/tmpr6ds8jrb/pip-1.5.6-py2.py3-none-any.whl/pip/req.py", line 671, in install
    self.move_wheel_files(self.source_dir, root=root)
  File "/var/folders/1r/hrycw3pj1xn0vjg77_12h1l00000gn/T/tmpr6ds8jrb/pip-1.5.6-py2.py3-none-any.whl/pip/req.py", line 901, in move_wheel_files
    pycompile=self.pycompile,
  File "/var/folders/1r/hrycw3pj1xn0vjg77_12h1l00000gn/T/tmpr6ds8jrb/pip-1.5.6-py2.py3-none-any.whl/pip/wheel.py", line 215, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/var/folders/1r/hrycw3pj1xn0vjg77_12h1l00000gn/T/tmpr6ds8jrb/pip-1.5.6-py2.py3-none-any.whl/pip/wheel.py", line 193, in clobber
    assert not info_dir, 'Multiple .dist-info directories'
AssertionError: Multiple .dist-info directories

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 4, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

No branches or pull requests

2 participants