Pasori RC-S380をMacで使うためのメモ

| コメント(0) | トラックバック(0)

久々にHomebrew動かしたら色々失敗してしんどい

Homebrewが動かなくなったので再インストール

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew -v
https://qiita.com/Jshirius/items/7039928a98e3e4e46dd7

$ curl -kL https://bootstrap.pypa.io/get-pip.py | python
$ source .bachrc
export PATH="$HOME/Library/Python/2.7/bin:$PATH"
http://www.pip-installer.org/en/latest/installing.html

$ brew install openssl
$ brew install libusb
$ brew install libusb-compat

$ pip install pyusb
$ pip install libusb1
$ pip install pyserial

#Bazzarのインストール
brew install bzr
#Bazzarを利用してnfcpyを取得
bzr branch lp:nfcpy

$ python examples/tagtool.py show
[nfc.clf] searching for reader on path usb
[nfc.clf] using SONY RC-S380/P NFC Port-100 v1.11 at usb:020:017
** waiting for a tag **
Type3Tag ID=01100910511AED21 PMM=053143454682B7FF SYS=0003

https://qiita.com/zaburo/items/da0f9b1dd102565a5bb6

PythonじゃなくてCocoaもといSwiftでやりたいけどUSB周りで死ねそう

トラックバック(0)

トラックバックURL: http://nesitive.net/mt/tbping/211

コメントする

アーカイブ

ウェブページ

Powered by Movable Type 5.2

このブログ記事について

このページは、necottieが2020年5月 5日 07:34に書いたブログ記事です。

ひとつ前のブログ記事は「Xcodeで後からgitレポジトリを追加する」です。

最近のコンテンツはインデックスページで見られます。過去に書かれたものはアーカイブのページで見られます。