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
cannot install this on Ubuntu: error: command 'g++' failed with exit status 1 #43
Comments
same issue here, but installing from git repo works: |
@JeremyCCHsu here is the full error
|
@nicolaspanel @cnlinxi May you provide more info about your OS and packages? Here's mine: lsb_release -a
# No LSB modules are available.
# Distributor ID: Ubuntu
# Description: Ubuntu 18.04.1 LTS
# Release: 18.04
# Codename: bionic
gcc -v
# gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
pip -V
# pip 19.2.3 from /home/jrm/miniconda3/envs/pyw/lib/python3.6/site-packages/pip (python 3.6) BTW, my machine is a Surface Pro 4 running Windows Subsystem Linux (WSL). |
resolved in #52 |
When I install this pyworld with
pip install pyworld
or git clone this repo, I get error: command 'g++' failed with exit status 1.g++ -pthread -shared -B /home/yons/anaconda3/compiler_compat -L/home/yons/anarld.o build/temp.linux-x86_64-3.6/lib/World/src/dio.o build/temp.linux-x86_64-3.6o build/temp.linux-x86_64-3.6/lib/World/src/synthesis.o build/temp.linux-x86_64-3World/src/synthesisrealtime.o build/temp.linux-x86_64-3.6/lib/World/src/codec.o b6_64-3.6/pyworld/pyworld.cpython-36m-x86_64-linux-gnu.so
anaconda3/compiler_compat/ld: cannot find -lm
anaconda3/compiler_compat/ld: cannot find -lpthread
anaconda3/compiler_compat/ld: cannot find -lc
collect2: Error: ld return 1
error: command 'g++' failed with exit status 1
I have no idea to do this. Thanks for your help.
The text was updated successfully, but these errors were encountered: