We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm getting following errors during installation:
collect2: error: ld returned 1 exit status error: command 'g++' failed with exit status 1
and the whole output:
$ pip install reppy Collecting reppy Downloading https://files.pythonhosted.org/packages/a9/47/11c44a69e5cd2dcd083b276132101f931ebd931e445d3e0967887116b845/reppy-0.4.12.tar.gz (85kB) 100% |████████████████████████████████| 92kB 3.6MB/s Collecting cachetools (from reppy) Downloading https://files.pythonhosted.org/packages/76/7e/08cd3846bebeabb6b1cfc4af8aae649d90249b4aeed080bddb5297f1d73b/cachetools-3.0.0-py2.py3-none-any.whl Requirement already satisfied: python-dateutil!=2.0,>=1.5 in ./.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/lib/python3.5/site-packages (from reppy) (2.6.1) Requirement already satisfied: requests in ./.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/lib/python3.5/site-packages (from reppy) (2.18.4) Requirement already satisfied: six in ./.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/lib/python3.5/site-packages (from reppy) (1.11.0) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in ./.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/lib/python3.5/site-packages (from requests->reppy) (3.0.4) Requirement already satisfied: idna<2.7,>=2.5 in ./.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/lib/python3.5/site-packages (from requests->reppy) (2.6) Requirement already satisfied: urllib3<1.23,>=1.21.1 in ./.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/lib/python3.5/site-packages (from requests->reppy) (1.22) Requirement already satisfied: certifi>=2017.4.17 in ./.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/lib/python3.5/site-packages (from requests->reppy) (2017.7.27.1) Building wheels for collected packages: reppy Running setup.py bdist_wheel for reppy ... error Complete output from command /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ynk94s9p/reppy/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 /tmp/pip-wheel-7e7r6k5r --python-tag cp35: Building from Cython running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.5 creating build/lib.linux-x86_64-3.5/reppy copying reppy/util.py -> build/lib.linux-x86_64-3.5/reppy copying reppy/exceptions.py -> build/lib.linux-x86_64-3.5/reppy copying reppy/ttl.py -> build/lib.linux-x86_64-3.5/reppy copying reppy/__init__.py -> build/lib.linux-x86_64-3.5/reppy creating build/lib.linux-x86_64-3.5/reppy/cache copying reppy/cache/policy.py -> build/lib.linux-x86_64-3.5/reppy/cache copying reppy/cache/__init__.py -> build/lib.linux-x86_64-3.5/reppy/cache running build_ext skipping 'reppy/robots.cpp' Cython extension (up-to-date) building 'reppy.robots' extension creating build/temp.linux-x86_64-3.5 creating build/temp.linux-x86_64-3.5/reppy creating build/temp.linux-x86_64-3.5/reppy/rep-cpp creating build/temp.linux-x86_64-3.5/reppy/rep-cpp/src creating build/temp.linux-x86_64-3.5/reppy/rep-cpp/deps creating build/temp.linux-x86_64-3.5/reppy/rep-cpp/deps/url-cpp creating build/temp.linux-x86_64-3.5/reppy/rep-cpp/deps/url-cpp/src gcc -pthread -B /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ireppy/rep-cpp/include -Ireppy/rep-cpp/deps/url-cpp/include -I/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/include/python3.5m -c reppy/rep-cpp/src/agent.cpp -o build/temp.linux-x86_64-3.5/reppy/rep-cpp/src/agent.o -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ireppy/rep-cpp/include -Ireppy/rep-cpp/deps/url-cpp/include -I/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/include/python3.5m -c reppy/rep-cpp/src/directive.cpp -o build/temp.linux-x86_64-3.5/reppy/rep-cpp/src/directive.o -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ireppy/rep-cpp/include -Ireppy/rep-cpp/deps/url-cpp/include -I/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/include/python3.5m -c reppy/rep-cpp/src/robots.cpp -o build/temp.linux-x86_64-3.5/reppy/rep-cpp/src/robots.o -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ireppy/rep-cpp/include -Ireppy/rep-cpp/deps/url-cpp/include -I/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/include/python3.5m -c reppy/rep-cpp/deps/url-cpp/src/url.cpp -o build/temp.linux-x86_64-3.5/reppy/rep-cpp/deps/url-cpp/src/url.o -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ireppy/rep-cpp/include -Ireppy/rep-cpp/deps/url-cpp/include -I/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/include/python3.5m -c reppy/rep-cpp/deps/url-cpp/src/utf8.cpp -o build/temp.linux-x86_64-3.5/reppy/rep-cpp/deps/url-cpp/src/utf8.o -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ireppy/rep-cpp/include -Ireppy/rep-cpp/deps/url-cpp/include -I/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/include/python3.5m -c reppy/rep-cpp/deps/url-cpp/src/punycode.cpp -o build/temp.linux-x86_64-3.5/reppy/rep-cpp/deps/url-cpp/src/punycode.o -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ireppy/rep-cpp/include -Ireppy/rep-cpp/deps/url-cpp/include -I/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/include/python3.5m -c reppy/rep-cpp/deps/url-cpp/src/psl.cpp -o build/temp.linux-x86_64-3.5/reppy/rep-cpp/deps/url-cpp/src/psl.o -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ireppy/rep-cpp/include -Ireppy/rep-cpp/deps/url-cpp/include -I/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/include/python3.5m -c reppy/robots.cpp -o build/temp.linux-x86_64-3.5/reppy/robots.o -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ g++ -pthread -shared -L/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/lib -B /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat -Wl,-rpath=/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.5/reppy/rep-cpp/src/agent.o build/temp.linux-x86_64-3.5/reppy/rep-cpp/src/directive.o build/temp.linux-x86_64-3.5/reppy/rep-cpp/src/robots.o build/temp.linux-x86_64-3.5/reppy/rep-cpp/deps/url-cpp/src/url.o build/temp.linux-x86_64-3.5/reppy/rep-cpp/deps/url-cpp/src/utf8.o build/temp.linux-x86_64-3.5/reppy/rep-cpp/deps/url-cpp/src/punycode.o build/temp.linux-x86_64-3.5/reppy/rep-cpp/deps/url-cpp/src/psl.o build/temp.linux-x86_64-3.5/reppy/robots.o -L/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/lib -lpython3.5m -o build/lib.linux-x86_64-3.5/reppy/robots.cpython-35m-x86_64-linux-gnu.so /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat/ld: build/temp.linux-x86_64-3.5/reppy/rep-cpp/src/agent.o: unable to initialize decompress status for section .debug_info /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat/ld: build/temp.linux-x86_64-3.5/reppy/rep-cpp/src/agent.o: unable to initialize decompress status for section .debug_info /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat/ld: build/temp.linux-x86_64-3.5/reppy/rep-cpp/src/agent.o: unable to initialize decompress status for section .debug_info /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat/ld: build/temp.linux-x86_64-3.5/reppy/rep-cpp/src/agent.o: unable to initialize decompress status for section .debug_info build/temp.linux-x86_64-3.5/reppy/rep-cpp/src/agent.o: file not recognized: File format not recognized collect2: error: ld returned 1 exit status error: command 'g++' failed with exit status 1 ---------------------------------------- Failed building wheel for reppy Running setup.py clean for reppy Failed to build reppy Installing collected packages: cachetools, reppy Running setup.py install for reppy ... error Complete output from command /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ynk94s9p/reppy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-2yj8haax/install-record.txt --single-version-externally-managed --compile: Building from Cython running install running build running build_py creating build creating build/lib.linux-x86_64-3.5 creating build/lib.linux-x86_64-3.5/reppy copying reppy/util.py -> build/lib.linux-x86_64-3.5/reppy copying reppy/exceptions.py -> build/lib.linux-x86_64-3.5/reppy copying reppy/ttl.py -> build/lib.linux-x86_64-3.5/reppy copying reppy/__init__.py -> build/lib.linux-x86_64-3.5/reppy creating build/lib.linux-x86_64-3.5/reppy/cache copying reppy/cache/policy.py -> build/lib.linux-x86_64-3.5/reppy/cache copying reppy/cache/__init__.py -> build/lib.linux-x86_64-3.5/reppy/cache running build_ext skipping 'reppy/robots.cpp' Cython extension (up-to-date) building 'reppy.robots' extension creating build/temp.linux-x86_64-3.5 creating build/temp.linux-x86_64-3.5/reppy creating build/temp.linux-x86_64-3.5/reppy/rep-cpp creating build/temp.linux-x86_64-3.5/reppy/rep-cpp/src creating build/temp.linux-x86_64-3.5/reppy/rep-cpp/deps creating build/temp.linux-x86_64-3.5/reppy/rep-cpp/deps/url-cpp creating build/temp.linux-x86_64-3.5/reppy/rep-cpp/deps/url-cpp/src gcc -pthread -B /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ireppy/rep-cpp/include -Ireppy/rep-cpp/deps/url-cpp/include -I/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/include/python3.5m -c reppy/rep-cpp/src/agent.cpp -o build/temp.linux-x86_64-3.5/reppy/rep-cpp/src/agent.o -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ireppy/rep-cpp/include -Ireppy/rep-cpp/deps/url-cpp/include -I/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/include/python3.5m -c reppy/rep-cpp/src/directive.cpp -o build/temp.linux-x86_64-3.5/reppy/rep-cpp/src/directive.o -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ireppy/rep-cpp/include -Ireppy/rep-cpp/deps/url-cpp/include -I/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/include/python3.5m -c reppy/rep-cpp/src/robots.cpp -o build/temp.linux-x86_64-3.5/reppy/rep-cpp/src/robots.o -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ireppy/rep-cpp/include -Ireppy/rep-cpp/deps/url-cpp/include -I/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/include/python3.5m -c reppy/rep-cpp/deps/url-cpp/src/url.cpp -o build/temp.linux-x86_64-3.5/reppy/rep-cpp/deps/url-cpp/src/url.o -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ireppy/rep-cpp/include -Ireppy/rep-cpp/deps/url-cpp/include -I/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/include/python3.5m -c reppy/rep-cpp/deps/url-cpp/src/utf8.cpp -o build/temp.linux-x86_64-3.5/reppy/rep-cpp/deps/url-cpp/src/utf8.o -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ireppy/rep-cpp/include -Ireppy/rep-cpp/deps/url-cpp/include -I/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/include/python3.5m -c reppy/rep-cpp/deps/url-cpp/src/punycode.cpp -o build/temp.linux-x86_64-3.5/reppy/rep-cpp/deps/url-cpp/src/punycode.o -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ireppy/rep-cpp/include -Ireppy/rep-cpp/deps/url-cpp/include -I/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/include/python3.5m -c reppy/rep-cpp/deps/url-cpp/src/psl.cpp -o build/temp.linux-x86_64-3.5/reppy/rep-cpp/deps/url-cpp/src/psl.o -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ gcc -pthread -B /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ireppy/rep-cpp/include -Ireppy/rep-cpp/deps/url-cpp/include -I/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/include/python3.5m -c reppy/robots.cpp -o build/temp.linux-x86_64-3.5/reppy/robots.o -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ g++ -pthread -shared -L/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/lib -B /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat -Wl,-rpath=/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.5/reppy/rep-cpp/src/agent.o build/temp.linux-x86_64-3.5/reppy/rep-cpp/src/directive.o build/temp.linux-x86_64-3.5/reppy/rep-cpp/src/robots.o build/temp.linux-x86_64-3.5/reppy/rep-cpp/deps/url-cpp/src/url.o build/temp.linux-x86_64-3.5/reppy/rep-cpp/deps/url-cpp/src/utf8.o build/temp.linux-x86_64-3.5/reppy/rep-cpp/deps/url-cpp/src/punycode.o build/temp.linux-x86_64-3.5/reppy/rep-cpp/deps/url-cpp/src/psl.o build/temp.linux-x86_64-3.5/reppy/robots.o -L/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/lib -lpython3.5m -o build/lib.linux-x86_64-3.5/reppy/robots.cpython-35m-x86_64-linux-gnu.so /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat/ld: build/temp.linux-x86_64-3.5/reppy/rep-cpp/src/agent.o: unable to initialize decompress status for section .debug_info /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat/ld: build/temp.linux-x86_64-3.5/reppy/rep-cpp/src/agent.o: unable to initialize decompress status for section .debug_info /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat/ld: build/temp.linux-x86_64-3.5/reppy/rep-cpp/src/agent.o: unable to initialize decompress status for section .debug_info /home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/compiler_compat/ld: build/temp.linux-x86_64-3.5/reppy/rep-cpp/src/agent.o: unable to initialize decompress status for section .debug_info build/temp.linux-x86_64-3.5/reppy/rep-cpp/src/agent.o: file not recognized: File format not recognized collect2: error: ld returned 1 exit status error: command 'g++' failed with exit status 1 ---------------------------------------- Command "/home/user/.pyenv/versions/anaconda3-5.0.0/envs/my-notebook/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ynk94s9p/reppy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-2yj8haax/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-ynk94s9p/reppy/
OS: Antergos (Arch Linux) python: anaconda3-5.0.0
The text was updated successfully, but these errors were encountered:
What's the output of g++ --version?
g++ --version
Sorry, something went wrong.
$ g++ --version g++ (GCC) 8.2.1 20181127
No branches or pull requests
I'm getting following errors during installation:
and the whole output:
OS: Antergos (Arch Linux)
python: anaconda3-5.0.0
The text was updated successfully, but these errors were encountered: