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

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. #2

Open
evan0621 opened this issue Nov 28, 2019 · 4 comments

Comments

@evan0621
Copy link

How can I Debug this?
Windows 10
Python 2.7.15

(base)_ PS C:\Users\User> pip install scikits.audiolab
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting scikits.audiolab
Using cached https://files.pythonhosted.org/packages/b0/d8/d9babf3e4fa3ac8094e1783415bf60015a696779f4da4c70ae6141aa5e3a/scikits.audiolab-0.11.0.tar.gz
ERROR: Command errored out with exit status 1:
command: 'C:\Users\User\Anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'c:\users\user\appdata\local\temp\pip-install-1stukk\scikits.audiolab\setup.py'"'"'; file='"'"'c:\users\user\appdata\local\temp\pip-install-1stukk\scikits.audiolab\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'c:\users\user\appdata\local\temp\pip-install-1stukk\scikits.audiolab\pip-egg-info'
cwd: c:\users\user\appdata\local\temp\pip-install-1stukk\scikits.audiolab
Complete output (34 lines):
SndfileInfo:
customize MSVCCompiler
libraries sndfile not found in C:\Users\User\Anaconda3\lib
customize MSVCCompiler
libraries sndfile not found in C:
customize MSVCCompiler
libraries sndfile not found in C:\Users\User\Anaconda3\libs
Traceback (most recent call last):
File "", line 1, in
File "c:\users\user\appdata\local\temp\pip-install-1stukk\scikits.audiolab\setup.py", line 85, in
classifiers=CLASSIFIERS)
File "C:\Users\User\Anaconda3\lib\site-packages\numpy\distutils\core.py", line 137, in setup
config = configuration()
File "c:\users\user\appdata\local\temp\pip-install-1stukk\scikits.audiolab\setup.py", line 71, in configuration
config.add_subpackage(DISTNAME)
File "C:\Users\User\Anaconda3\lib\site-packages\numpy\distutils\misc_util.py", line 1036, in add_subpackage
caller_level = 2)
File "C:\Users\User\Anaconda3\lib\site-packages\numpy\distutils\misc_util.py", line 1005, in get_subpackage
caller_level = caller_level + 1)
File "C:\Users\User\Anaconda3\lib\site-packages\numpy\distutils\misc_util.py", line 942, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "scikits\audiolab\setup.py", line 10, in configuration
confgr.add_subpackage('pysndfile')
File "C:\Users\User\Anaconda3\lib\site-packages\numpy\distutils\misc_util.py", line 1036, in add_subpackage
caller_level = 2)
File "C:\Users\User\Anaconda3\lib\site-packages\numpy\distutils\misc_util.py", line 1005, in get_subpackage
caller_level = caller_level + 1)
File "C:\Users\User\Anaconda3\lib\site-packages\numpy\distutils\misc_util.py", line 942, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "scikits\audiolab\pysndfile\setup.py", line 25, in configuration
site.cfg file, in section [sndfile].""")
numpy.distutils.system_info.NotFoundError: sndfile (http://www.mega-nerd.com/libsndfile/) library not found.
Directories to search for the libraries can be specified in the
site.cfg file, in section [sndfile].
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

@Luiz6ustav0
Copy link

@ujjwalsrivastava
Copy link

Yes I have tried

@ujjwalsrivastava
Copy link

It;s same error

@vinayak19th
Copy link

@ujjwalsrivastava you have to apt install libsnd, try this:

sudo apt-get install -y libsndfile-dev

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

4 participants