Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
emscb edited this page Feb 15, 2020 · 10 revisions

Welcome to the pyconkr wiki!

Required Package

mac μ‚¬μš©μžλ“€μ„ μœ„ν•œ μ„€μΉ˜λ²•

# https://github.com/python-pillow/Pillow/issues/3438
$ brew install zlib
# https://medium.com/@mohammedhammoud/install-pillow-on-mac-os-x-de2d3d0b3975
$ brew install libjpeg

Trouble Shooting

zlib κ΄€λ ¨ λ¬Έμ œκ°€ λ°œμƒν–ˆμ„ λ•Œ

The headers or library files could not be found for zlib, a required dependency when compiling Pillow from source.

https://github.com/python-pillow/Pillow/issues/3438#issuecomment-543812237

해결법

$ export CPATH=`xcrun --show-sdk-path`/usr/include

compilemessages μ‹€ν–‰μ‹œ μ—λŸ¬

python manage.py compilemessages
CommandError: Can't find msgfmt. Make sure you have GNU gettext tools 0.15 or newer installed.

해결법

  • Mac os brew μ„€μΉ˜λ˜μ–΄μžˆμ„ 경우 (좜처)
$ brew link gettext --force
  1. μ‚¬μ΄νŠΈμ—μ„œ gettext-tools-xx.zip, gettext-runtime-xx.zipλ₯Ό λ‹€μš΄λ°›μŠ΅λ‹ˆλ‹€.
  2. μž„μ‹œλ‘œ 폴더λ₯Ό ν•˜λ‚˜ λ§Œλ“­λ‹ˆλ‹€. (e.g., C:\Program Files\gettext-iconv\bin)
  3. λ‹€μš΄λ°›μ€ 파일 각각 μ••μΆ• ν•΄μ œν•˜μ—¬ 각 bin 폴더에 μžˆλŠ” λ‚΄μš©μ„ μž„μ‹œ 폴더에 λ³΅μ‚¬ν•©λ‹ˆλ‹€.
  4. μž„μ‹œ 폴더λ₯Ό μ‹œμŠ€ν…œ λ³€μˆ˜ Path에 μΆ”κ°€ν•©λ‹ˆλ‹€. 이후 μž¬λΆ€νŒ…

λ§Œμ•½ README.md 이후 κ³Όμ • 쀑 bower installμ—μ„œ bowerκ°€ μ—†λ‹€κ³  ν•œλ‹€λ©΄

  1. npm이 μžˆλ‹€λ©΄ npm install -g bower
Morty Proxy This is a proxified and sanitized view of the page, visit original site.