Xcode ã® Run Script æ©è½ã使ã£ã¦ã¿ããã¨æããGithub ã§æ¾ã£ã¦ãã Python ã¹ã¯ãªãããå®è¡ãããã¨ããã¨ãä¸è¨ã®ãããªã¨ã©ã¼ãåºã¦å°ãã¾ããã UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position xx: ordinal not in range(128) 対å¦æé 1. ç¾ç¶ã®ããã©ã«ãã¨ã³ã³ã¼ãã£ã³ã°ãç¢ºèª $ python >>> import sys >>> sys.getdefaultencoding() 'ascii'ããã'ascii'ã¨ãªã£ã¦ããã®ããããªãããã§ãã 2. site-packagesãã£ã¬ã¯ããªã®å ´æãæ¢ã ã¾ãã pythonã¨æã£ãã¨ãã«ããããã¨åºã¦ããæååã§èªåã®ç°å¢ã§ã®pythonã®ãã¼ã¸ã§ã³ã確èªã§ãã¾ãã ã§ãèªåã®å ´åã¯2.
{{#tags}}- {{label}}
{{/tags}}