Difference between revisions of "Smart Terminal Convert from 2.7 to 3.6"
Jump to navigation
Jump to search
Russ hensel (talk | contribs) (→Queue) |
Russ hensel (talk | contribs) (→Fix) |
||
Line 68: | Line 68: | ||
<pre> | <pre> | ||
+ | (python3_spyder3) C:\Users\Russ>pip install pyserial | ||
+ | Collecting pyserial | ||
+ | Downloading pyserial-3.3-py2.py3-none-any.whl (189kB) | ||
+ | 100% |████████████████████████████████| 194kB 811kB/s | ||
+ | Installing collected packages: pyserial | ||
+ | Successfully installed pyserial-3.3 | ||
+ | |||
+ | (python3_spyder3) C:\Users\Russ> | ||
</pre> | </pre> | ||
Revision as of 09:50, 12 March 2017
Contents
General
Look at this for general info:
Exceptions
except Exception, ex_arg: change to except Exception as ex_arg:
Missing modules
Queue
Fix
import Queue change to import queue
Not
C:\Users\Russ>activate python3_spyder3 (python3_spyder3) C:\Users\Russ>conda install queue Fetching package metadata ........... PackageNotFoundError: Package not found: '' Package missing in current win-64 channels: - queue Close matches found; did you mean one of these? queue: queuelib You can search for packages on anaconda.org with anaconda search -t conda queue (python3_spyder3) C:\Users\Russ>pip install queue Collecting queue Could not find a version that satisfies the requirement queue (from versions: ) No matching distribution found for queue (python3_spyder3) C:\Users\Russ>
Serial
Fix
(python3_spyder3) C:\Users\Russ>pip install pyserial Collecting pyserial Downloading pyserial-3.3-py2.py3-none-any.whl (189kB) 100% |████████████████████████████████| 194kB 811kB/s Installing collected packages: pyserial Successfully installed pyserial-3.3 (python3_spyder3) C:\Users\Russ>
Not