Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

cchardet can't install in mac OS 10.14 #227

Closed
yuehengwu opened this issue Sep 28, 2018 · 5 comments
Closed

cchardet can't install in mac OS 10.14 #227

yuehengwu opened this issue Sep 28, 2018 · 5 comments
Labels

Comments

@yuehengwu
Copy link

'pip3 install cchardet' get some problems !

I notice the wrong-log contain 'library not found for -lstdc++',How should I solve the problem in mac OS 10.14 ?

here is log :

...
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 '/usr/bin/clang++' failed with exit status 1

----------------------------------------

Command "/Users/test/PycharmProjects/TWINT/venv/bin/python3.6 -u -c "import setuptools, tokenize;file='/private/var/folders/4d/xnms9dqx1hg681lyf2ht7dtr0000gp/T/pip-install-g79gn1a3/cchardet/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/4d/xnms9dqx1hg681lyf2ht7dtr0000gp/T/pip-record-mq3ir1k2/install-record.txt --single-version-externally-managed --compile --install-headers /Users/test/PycharmProjects/TWINT/venv/bin/../include/site/python3.6/cchardet" failed with error code 1 in /private/var/folders/4d/xnms9dqx1hg681lyf2ht7dtr0000gp/T/pip-install-g79gn1a3/cchardet/

@pielco11
Copy link
Member

Please only submit issues related to Twint

@chuqiaoshen
Copy link

chuqiaoshen commented Oct 21, 2018

twint installation problem with cchardet error.

I have similar problem when I use pip install twint.
MacOS Majove,
python 3.6.6
anacoda env
would you please kindly help us out?

Failed building wheel for cchardet
Running setup.py clean for cchardet
Failed to build cchardet
Installing collected packages: cchardet, twint
Running setup.py install for cchardet ... error
Complete output from command /Users/catherineshen/anaconda3/envs/airflow/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/gc/nyw3jm5n47d9g9x2fxjv1_tw0000gn/T/pip-install-9c6rdwtu/cchardet/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/gc/nyw3jm5n47d9g9x2fxjv1_tw0000gn/T/pip-record-7v95m04_/install-record.txt --single-version-externally-managed --compile:

@pielco11
Copy link
Member

I do not really why this is happening. Anyway, googling around I found that some users are reporting this as a solution pip3 install cchardet==1.0.0

@cursivemess
Copy link

I do not really why this is happening. Anyway, googling around I found that some users are reporting this as a solution pip3 install cchardet==1.0.0

That did not work for me, I still get the following :

error: command 'gcc' failed with exit status 1

@guxi11
Copy link

guxi11 commented Feb 17, 2020

TokenMarketNet/smart-contracts#115 works
Command:
MACOSX_DEPLOYMENT_TARGET=10.13 pip3 install cchardet

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

5 participants