SSJB's blog

いろいろです。

2020-01-01から1年間の記事一覧

Mac で pandas `UserWarning: Could not import the lzma module` の対処法

Mac で pandas の使用時に以下のエラーが出ました。 UserWarning: Could not import the lzma module. Your installed Python is incomplete. Attempting to use lzma compression will result in a RuntimeError. warnings.warn(msg) Mac の場合は、以下で…

MacでWindowsのzipファイルを開くと文字化けする場合

Windowsで作成したzipファイルをMacで開くと文字化けする場合があります。 そんな時は、unarを使用すればいけました。 $brew install unar $unar -e sjis hoge.zip ちなみに、 ググって見つけた $unzip -O sjis hoge.zip は動きませんでした。 そもそも -Oの…