You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.
I want to install the chrome language detection (cld) https://github.com/mzsanford/cld for Python.
I am working on OS X 10.10 with Python 3.3, installed through a download of the .dmg from the Pythonwebsite.
What did I do so far?
Downloaded and updated xCode to the most recent version
Command Line Tools for xCode installed with that line $ xcode-select –install
Downloaded the GNU, C and C++ Compilerhere http://hpc.sourceforge.net and installed via $ sudo tar xvf gcc-4.9-bin.tar -C /
Install the libcld C++ library following the instructions on https://github.com/mzsanford/cld (I installed it from source, not with homebrew)!
Installed the pkg-config package $ git clone git://anongit.freedesktop.org/pkg-config
Then I followed the steps described to install the Pythonbindings:
$ git clone http://github.com/mzsanford/cld.git
$ cd cld/ports/python
$ make install # This will prompt for your password
Which gave me this error message:
python -u setup.py build
Traceback (most recent call last):
File "setup.py", line 17, in <module>
**pkgconfig('cld'))
TypeError: __init__() keywords must be strings
make: *** [build] Error 1`
I also downloaded the source and tried to install it with python3.3 setup.py which gives me this
pkg-config has not been found but this setup script relies on it.
Well, I installed id, but it seems that it does not find it.
Might that be a problem that it installed it to the Python the system is using (which would 2.7) while I use Python3.3? Or other suggestions?
The text was updated successfully, but these errors were encountered:
I want to install the chrome language detection (cld) https://github.com/mzsanford/cld for Python.
I am working on OS X 10.10 with Python 3.3, installed through a download of the
.dmg
from the Pythonwebsite.What did I do so far?
$ xcode-select –install
GNU, C and C++ Compiler
here http://hpc.sourceforge.net and installed via$ sudo tar xvf gcc-4.9-bin.tar -C /
libcld C++ library
following the instructions on https://github.com/mzsanford/cld (I installed it from source, not with homebrew)!pkg-config
package$ git clone git://anongit.freedesktop.org/pkg-config
Then I followed the steps described to install the Pythonbindings:
Which gave me this error message:
I also downloaded the source and tried to install it with
python3.3 setup.py
which gives me thisWell, I installed id, but it seems that it does not find it.
Might that be a problem that it installed it to the Python the system is using (which would 2.7) while I use Python3.3? Or other suggestions?
The text was updated successfully, but these errors were encountered: