minimaxir / download-tweets-ai-text-gen

Python script to download public Tweets from a given Twitter account into a format suitable for AI text generation.
MIT License
221 stars 41 forks source link

Installation fails on macOS 10.15.2 for cchardet #5

Closed vishalmhjn closed 4 years ago

vishalmhjn commented 4 years ago

OSX 10.15.2 Python 3.6.0

Issue

Installation fails due to cchardet build failure:

Running setup.py clean for cchardet
Failed to build cchardet
Installing collected packages: cchardet
    Running setup.py install for cchardet ... error
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
vishalmhjn commented 4 years ago

Upgrading to Python 3.7.6 solved the issue :)