Difference between revisions of "Smart Terminal Convert from 2.7 to 3.6"
Jump to navigation
Jump to search
Russ hensel (talk | contribs) (→Fix) |
Russ hensel (talk | contribs) (→Queue) |
||
| Line 58: | Line 58: | ||
(python3_spyder3) C:\Users\Russ> | (python3_spyder3) C:\Users\Russ> | ||
| + | |||
| + | </pre> | ||
| + | |||
| + | |||
| + | == Serial == | ||
| + | |||
| + | === Fix === | ||
| + | |||
| + | <pre> | ||
| + | |||
| + | </pre> | ||
| + | |||
| + | === Not === | ||
| + | |||
| + | <pre> | ||
| + | |||
| + | |||
| + | </pre> | ||
| + | |||
| + | |||
| + | <!----------- | ||
| + | |||
| + | == Missing == | ||
| + | |||
| + | === Fix === | ||
| + | |||
| + | <pre> | ||
| + | |||
| + | </pre> | ||
| + | |||
| + | === Not === | ||
| + | |||
| + | <pre> | ||
</pre> | </pre> | ||
| + | -------------> | ||
Revision as of 08:34, 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
Not