2016-11-01 1 views
-1

Ich habe Python 2.7, installiert und zeigt PyCharm String import Tkinter as tk aber akzeptabel für Python 3.5:Wie die Syntax in PyCharm mit Python 3.5 zu Python Hervorhebung ändern 2.7

Python version 3.5 does not have module Tkinter less... (Ctrl+F1) Enable this inspection if you need your code to be compatible with a range of Python versions (for example, if you're building a library). The range of Python versions with which the code needs to be compatible can be specified in the inspection settings.

Wie melde ich PyCharm, ich arbeite ich mit Python 2.7, aber nicht mit Python 3.5?

+0

Setzen Sie den Python2.7-Interpreter als __Project Interpreter__ –

+0

http://meta.stackoverflow.com/questions/255745/why-were-not-customer-support-for-your-favorite-company –

Antwort

Verwandte Themen