HappyZ / dpt-tools

dpt systems study and enhancement
MIT License
565 stars 130 forks source link

instructions no longer work with current Mac OS #129

Closed shanenfl closed 5 years ago

shanenfl commented 5 years ago

Shanes-iMac:dpt-tools-master shane$ python3 dpt-tools.py Traceback (most recent call last): File "dpt-tools.py", line 8, in from python_api.libDPT import DPT File "/Users/shaneambers/Downloads/dpt-tools-master/python_api/libDPT.py", line 7, in import serial

HappyZ commented 5 years ago

you need to install pyserial for that

shanenfl commented 5 years ago

I installed pyserial, no go .

On Aug 14, 2019, at 6:28 PM, HappyZ notifications@github.com wrote:

you need to install pyserial for that

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HappyZ/dpt-tools/issues/129?email_source=notifications&email_token=AKLOF4F4YF7DGR3AE4U4UWLQESBIXA5CNFSM4ILS43W2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4KJTCI#issuecomment-521443721, or mute the thread https://github.com/notifications/unsubscribe-auth/AKLOF4BVY6F55E2JMJDEZ4LQESBIXANCNFSM4ILS43WQ.

HappyZ commented 5 years ago

when you install via pip install pyserial, are you sure you are not installing it to python2 instead of python3?

try pip --version to see if it matches with your python3 version

and see if pip3 works; or to ensure the right installation, do python3 -m pip install pyserial

HappyZ commented 5 years ago

remove serial packet as well as it may get wrong when import serial

closed assuming you have fixed the issue; we can reopen if problem persists

shanenfl commented 5 years ago

Shanes-iMac:dpt-rp1-py-master shane$ pip --version pip 19.1.1 from /Users/Shane/anaconda3/lib/python3.7/site-packages/pip (python 3.7)

shanenfl commented 5 years ago

how do you remove 'serial packet'?