Topics

pyUC on Apple OSX


Jay
 

I could use a hand from someone who has it working.  I get a number of errors but the most often is:

  File "pyUC.py", line 203

SyntaxError: Non-ASCII character '\xe2' in file pyUC.py on line 203, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details


Line 203 looks to be a comment to me.

Launcher also gives me the following:

cd '/Users/newuser/Downloads/USRP_Client-master/' && '/usr/local/bin/python3'  '/Users/newuser/Downloads/USRP_Client-master/pyUC.py'  && echo Exit status: $? && exit 1

newuser@OSX_Catalina ~ % cd '/Users/newuser/Downloads/USRP_Client-master/' && '/usr/local/bin/python3'  '/Users/newuser/Downloads/USRP_Client-master/pyUC.py'  && echo Exit status: $? && exit 1

Traceback (most recent call last):

  File "/Users/newuser/Downloads/USRP_Client-master/pyUC.py", line 23, in <module>

    from time import time, sleep, clock, localtime, strftime

ImportError: cannot import name 'clock' from 'time' (unknown location)

newuser@OSX_Catalina USRP_Client-master % 


I followed the install instructions to the letter.  I must have missed something....

Thanks in advance for ny help.
--

jb   N4NQY