Difference between revisions of "Smart Terminal Convert from 2.7 to 3.6"
Jump to navigation
Jump to search
Russ hensel (talk | contribs) (→= Not) |
Russ hensel (talk | contribs) (→Queue) |
||
| Line 26: | Line 26: | ||
=== Fix === | === Fix === | ||
| − | import Queue | + | <pre> |
| + | import Queue | ||
change to | change to | ||
| − | import queue | + | import queue |
| − | + | <pre> | |
=== Not === | === Not === | ||
| − | <pre> | + | </ pre> |
C:\Users\Russ>activate python3_spyder3 | C:\Users\Russ>activate python3_spyder3 | ||
Revision as of 08:28, 12 March 2017
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
<pre>
=== Not ===
</ pre>
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>