Comments (15)
from lilcom.
from lilcom.
Likely problem is that /Users/wuxb/Library/Python/3.7/lib is owned by root and not readable by you because you made the same mistake before, using sudo when you should not.
from lilcom.
chown -R your_username /Users/wuxb/Library/Python/3.7
may help
from lilcom.
i use user_name
python3 setup.py install
running install
running bdist_egg
running egg_info
writing lilcom.egg-info/PKG-INFO
writing dependency_links to lilcom.egg-info/dependency_links.txt
writing requirements to lilcom.egg-info/requires.txt
writing top-level names to lilcom.egg-info/top_level.txt
reading manifest file 'lilcom.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'lilcom.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.6-intel/egg
running install_lib
running build_py
running build_ext
building 'lilcom.lilcom_extension' extension
gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c lilcom/lilcom_extension.cc -o build/temp.macosx-10.6-intel-3.7/lilcom/lilcom_extension.o -g -Wall -UNDEBUG -Wno-c++11-compat-deprecated-writable-strings
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
In file included from lilcom/lilcom_extension.cc:15:
In file included from lilcom/compression.h:6:
lilcom/int_stream.h:7:10: fatal error: 'vector' file not found
#include
^~~~~~~~
1 error generated.
error: command 'gcc' failed with exit status 1
@danpovey Daniel Povey
from lilcom.
i use root user ,some error
wuxb@wuxbdeMacBook-Pro lilcom % sudo python3 setup.py install
running install
running bdist_egg
running egg_info
writing lilcom.egg-info/PKG-INFO
writing dependency_links to lilcom.egg-info/dependency_links.txt
writing requirements to lilcom.egg-info/requires.txt
writing top-level names to lilcom.egg-info/top_level.txt
reading manifest file 'lilcom.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'lilcom.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.6-intel/egg
running install_lib
running build_py
running build_ext
building 'lilcom.lilcom_extension' extension
gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c lilcom/lilcom_extension.cc -o build/temp.macosx-10.6-intel-3.7/lilcom/lilcom_extension.o -g -Wall -UNDEBUG -Wno-c++11-compat-deprecated-writable-strings
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
In file included from lilcom/lilcom_extension.cc:15:
In file included from lilcom/compression.h:6:
lilcom/int_stream.h:7:10: fatal error: 'vector' file not found
#include
^~~~~~~~
1 error generated.
error: command 'gcc' failed with exit status 1
@danpovey
from lilcom.
@danpovey I user pip3 install lilcom ,then some error.
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
Collecting lilcom
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='mirrors.aliyun.com', port=80): Read timed out. (read timeout=15)")': /pypi/simple/lilcom/
Downloading http://mirrors.aliyun.com/pypi/packages/46/78/9605e17af46a789747544c66f69bcfba17d43ae12f7caeb82f10bbd3fbd5/lilcom-1.1.1.tar.gz
Requirement already satisfied: numpy in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from lilcom) (1.19.4)
Building wheels for collected packages: lilcom
Building wheel for lilcom (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/y0/dntzz2g93b54yr3c200ccvy80000gn/T/pip-install-iwwzc8br/lilcom/setup.py'"'"'; file='"'"'/private/var/folders/y0/dntzz2g93b54yr3c200ccvy80000gn/T/pip-install-iwwzc8br/lilcom/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/y0/dntzz2g93b54yr3c200ccvy80000gn/T/pip-wheel-9of2btyw --python-tag cp37
cwd: /private/var/folders/y0/dntzz2g93b54yr3c200ccvy80000gn/T/pip-install-iwwzc8br/lilcom/
Complete output (22 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.6-intel-3.7
creating build/lib.macosx-10.6-intel-3.7/lilcom
copying lilcom/lilcom_interface.py -> build/lib.macosx-10.6-intel-3.7/lilcom
copying lilcom/init.py -> build/lib.macosx-10.6-intel-3.7/lilcom
running build_ext
building 'lilcom.lilcom_extension' extension
creating build/temp.macosx-10.6-intel-3.7
creating build/temp.macosx-10.6-intel-3.7/lilcom
gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c lilcom/lilcom_extension.cc -o build/temp.macosx-10.6-intel-3.7/lilcom/lilcom_extension.o -g -Wall -UNDEBUG -Wno-c++11-compat-deprecated-writable-strings
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
In file included from lilcom/lilcom_extension.cc:15:
In file included from lilcom/compression.h:6:
lilcom/int_stream.h:6:10: fatal error: 'vector' file not found
#include
^~~~~~~~
1 error generated.
error: command 'gcc' failed with exit status 1
ERROR: Failed building wheel for lilcom
Running setup.py clean for lilcom
Failed to build lilcom
Installing collected packages: lilcom
Running setup.py install for lilcom ... error
ERROR: Command errored out with exit status 1:
command: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/y0/dntzz2g93b54yr3c200ccvy80000gn/T/pip-install-iwwzc8br/lilcom/setup.py'"'"'; file='"'"'/private/var/folders/y0/dntzz2g93b54yr3c200ccvy80000gn/T/pip-install-iwwzc8br/lilcom/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/y0/dntzz2g93b54yr3c200ccvy80000gn/T/pip-record-uy9bpv7w/install-record.txt --single-version-externally-managed --compile
cwd: /private/var/folders/y0/dntzz2g93b54yr3c200ccvy80000gn/T/pip-install-iwwzc8br/lilcom/
Complete output (22 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-10.6-intel-3.7
creating build/lib.macosx-10.6-intel-3.7/lilcom
copying lilcom/lilcom_interface.py -> build/lib.macosx-10.6-intel-3.7/lilcom
copying lilcom/init.py -> build/lib.macosx-10.6-intel-3.7/lilcom
running build_ext
building 'lilcom.lilcom_extension' extension
creating build/temp.macosx-10.6-intel-3.7
creating build/temp.macosx-10.6-intel-3.7/lilcom
gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c lilcom/lilcom_extension.cc -o build/temp.macosx-10.6-intel-3.7/lilcom/lilcom_extension.o -g -Wall -UNDEBUG -Wno-c++11-compat-deprecated-writable-strings
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
In file included from lilcom/lilcom_extension.cc:15:
In file included from lilcom/compression.h:6:
lilcom/int_stream.h:6:10: fatal error: 'vector' file not found
#include
^~~~~~~~
1 error generated.
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/y0/dntzz2g93b54yr3c200ccvy80000gn/T/pip-install-iwwzc8br/lilcom/setup.py'"'"'; file='"'"'/private/var/folders/y0/dntzz2g93b54yr3c200ccvy80000gn/T/pip-install-iwwzc8br/lilcom/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/y0/dntzz2g93b54yr3c200ccvy80000gn/T/pip-record-uy9bpv7w/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
from lilcom.
from lilcom.
😭 you are sure?
from lilcom.
😭 you are sure?
Maybe you can verify it by installing some other packages, e.g., pip install kaldialign
.
If it still fails, it's very likely that there are some problems with your mac.
from lilcom.
Also, can you compile a hello world
c++ program?
from lilcom.
from lilcom.
g++ helloworld.cpp -o helloworld
./helloworld
Hello, world!
from lilcom.
😭 you are sure?
Maybe you can verify it by installing some other packages, e.g.,
pip install kaldialign
.
If it still fails, it's very likely that there are some problems with your mac.
pip3 install kaldialign
some error
ERROR: Command errored out with exit status 1:
command: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/y0/dntzz2g93b54yr3c200ccvy80000gn/T/pip-install-q6hfu333/kaldialign/setup.py'"'"'; file='"'"'/private/var/folders/y0/dntzz2g93b54yr3c200ccvy80000gn/T/pip-install-q6hfu333/kaldialign/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/y0/dntzz2g93b54yr3c200ccvy80000gn/T/pip-record-5ic043ht/install-record.txt --single-version-externally-managed --compile
cwd: /private/var/folders/y0/dntzz2g93b54yr3c200ccvy80000gn/T/pip-install-q6hfu333/kaldialign/
Complete output (19 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-10.6-intel-3.7
creating build/lib.macosx-10.6-intel-3.7/extensions
copying extensions/init.py -> build/lib.macosx-10.6-intel-3.7/extensions
running build_ext
building 'kaldialign' extension
creating build/temp.macosx-10.6-intel-3.7
creating build/temp.macosx-10.6-intel-3.7/extensions
gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I/private/var/folders/y0/dntzz2g93b54yr3c200ccvy80000gn/T/pip-install-q6hfu333/kaldialign/extensions -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c extensions/align.cpp -o build/temp.macosx-10.6-intel-3.7/extensions/align.o -std=c++11 -Wno-register -Wno-unused-function -Wno-unused-local-typedefs -funsigned-char -stdlib=libc++ -mmacosx-version-min=10.7
gcc -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch i386 -arch x86_64 -g -I/private/var/folders/y0/dntzz2g93b54yr3c200ccvy80000gn/T/pip-install-q6hfu333/kaldialign/extensions -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c extensions/kaldi_align.cpp -o build/temp.macosx-10.6-intel-3.7/extensions/kaldi_align.o -std=c++11 -Wno-register -Wno-unused-function -Wno-unused-local-typedefs -funsigned-char -stdlib=libc++ -mmacosx-version-min=10.7
g++ -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-3.7/extensions/align.o build/temp.macosx-10.6-intel-3.7/extensions/kaldi_align.o -o build/lib.macosx-10.6-intel-3.7/kaldialign.cpython-37m-darwin.so
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
ld: library not found for -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'g++' failed with exit status 1
from lilcom.
Then can you create a virtual environment for python to install packages? For example, with https://virtualenv.pypa.io/en/latest/
from lilcom.
Related Issues (20)
- Make sure reconstruction test is runnable end to end HOT 8
- Release HOT 4
- Testing multi-platform reproducibility HOT 1
- Big-endian system test HOT 2
- Bug: Fresh installation is missing numpy HOT 13
- liblto_plugin.so not found HOT 2
- lilcom fails to compress Fortran contiguous arrays. HOT 1
- Speeding up lilcom decompression HOT 2
- Compression fails on non-contigous feats HOT 2
- Protocol "https" not supported or disabled in libcurl HOT 2
- Error when installing lhotse HOT 1
- Issue installing HOT 10
- can't be installed HOT 5
- Build lilcom failed. Please check the error message. -- solved! HOT 4
- ValueError: lilcom: Length of string was too short HOT 7
- Error when installing lhotse HOT 4
- Lilcom numpy version requirements. HOT 4
- Import issues after upgrading to version 1.6 HOT 5
- requirements, why? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lilcom.