Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- vi
- python
- cygwin
- intel compiler
- c++
- MAC
- virtual
- polyglot
- Anaconda
- GSL
- Visual Studio
- mpi4py
- vim
- HDF5
- arXiver
- openmp
- Windows
- hyperref
- gfortran
- conda
- datascience
- LaTeX
- SSH
- tab space
- HFS+
- h5py
- Matplotlib
- cython
- portforwarding
- jupyter
Archives
- Today
- Total
Astro Coke
[Python] Install polyglot on Mac 본문
reference: https://medium.com/hackernoon/install-polyglot-on-mac-3c90445abc1f
There is no mac-compatible version of polyglot python package in conda channels. Therefore, we have to install it via secondary method. It is a bit problematic as it raised error when installing via "pip" (even though no error, when it is imported, it raised a dependency errors).
- First let us install the icu4c library using brew.
$ brew install icu4c
- Check installation using
$ ls -l /usr/local/opt/icu4c/include/
- Now install pyicu
$ CFLAGS=-I/usr/local/opt/icu4c/include LDFLAGS=-L/usr/local/opt/icu4c/lib PYICU_CFLAGS=-std=c++11:-DPYICU_VER='"2.0.3"' pip install pyicu
Then install polyglot
pip install polyglot
'Computer Setup' 카테고리의 다른 글
[NAS] read/write HFS+ (mac OS) USB Drive from a synology system (0) | 2021.09.25 |
---|---|
[HDF5] Trouble shooting (+fortran) (0) | 2021.07.13 |
[Jupyter] Shutdown by port number (0) | 2021.07.08 |
[Globus] Command-line Globus (in beluga cluster) (0) | 2021.05.17 |
[Linux] create separate tar files from multiple folders (files) (0) | 2021.01.19 |