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

Failed to install with pip install sounddevice --user #16

Closed
DaHoopster opened this issue Jan 25, 2016 · 5 comments
Closed

Failed to install with pip install sounddevice --user #16

DaHoopster opened this issue Jan 25, 2016 · 5 comments

Comments

@DaHoopster
Copy link

Not sure what happened but I see the following output after $pip install sounddevice --user. Can't move forward at all, please help.

Mac OSX 10.10.5 (Yosemite)
python 2.7.7

Downloading/unpacking sounddevice
  Downloading sounddevice-0.3.1.tar.gz
  Running setup.py egg_info for package sounddevice

    error: package directory '_sounddevice_data' does not exist
    Complete output from command python setup.py egg_info:
    running egg_info

creating pip-egg-info/sounddevice.egg-info

writing requirements to pip-egg-info/sounddevice.egg-info/requires.txt

writing pip-egg-info/sounddevice.egg-info/PKG-INFO

writing top-level names to pip-egg-info/sounddevice.egg-info/top_level.txt

writing dependency_links to pip-egg-info/sounddevice.egg-info/dependency_links.txt

writing manifest file 'pip-egg-info/sounddevice.egg-info/SOURCES.txt'

warning: manifest_maker: standard file '-c' not found



error: package directory '_sounddevice_data' does not exist

----------------------------------------
Command python setup.py egg_info failed with error code 1 in /var/folders/t6/c_sf37fx0yj_6glzll5ttp_r0000gn/T/pip-build/sounddevice
Storing complete log in /Users/dahoopster/Library/Logs/pip.log
@mgeier
Copy link
Member

mgeier commented Jan 25, 2016

Hmm, it seems that pip chooses the .tar.gz file instead of the more appropriate wheel file.

I don't know why this happens and I'm not sure how to fix this ...

As a first attempt, can you please try to re-install/update the newest versions of pip and setuptools?

@mgeier
Copy link
Member

mgeier commented Jan 25, 2016

Can you please provide the output of platform.machine() on your computer?

mgeier added a commit that referenced this issue Jan 25, 2016
Without this, a non-Linux build from the tarball will fail, see #16.
@DaHoopster
Copy link
Author

The output of my platform.machine() is:

x86_64

@mgeier
Copy link
Member

mgeier commented Jan 26, 2016

OK, that doesn't seem to be the problem, did you try to upgrade pip and setuptools?

@DaHoopster
Copy link
Author

Yes, it worked after I installed python 2.7.11 with homebrew. Thanks !

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