dfinity / linkedup

An open professional network.
https://sdk.dfinity.org
Apache License 2.0
154 stars 43 forks source link

specify python version when setting env variables #8

Closed letmejustputthishere closed 4 years ago

letmejustputthishere commented 4 years ago

for me the CRC=$(python -c "import crc8;h=crc8.crc8();h.update('$ID'.decode('hex'));print(h.hexdigest())") command only works with python2 while python3 throws AttributeError: 'str' object has no attribute 'decode'. i think there might be some people out there whose python points to python3, not python2. maybe specify this to avoid confusion?