Discuss / Python / tkinter提示未定义

tkinter提示未定义

Topic source

阿萌QVQ

#1 Created at ... [Delete] [Delete and Lock User]

为什么我的anaconda 找不到tkinter?

你可能使用的并不是Anaconda,而是你自己装的python,你去用介绍安装Anaconda提到的测试方法测试一下

兰溪C游

#3 Created at ... [Delete] [Delete and Lock User]

把原装python路径删除就好了

落魄剑士2

#4 Created at ... [Delete] [Delete and Lock User]

Python 3.7.3 (default, Mar 27 2019, 16:54:48)

[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin

Type "help", "copyright", "credits" or "license" for more information.

你在命令行中运行 python 或者 python3 ,进入 python 模式,如果开头输出类似上面的信息,其中第二行有 Anaconda,就说明你用的是 anaconda

ClearIight

#5 Created at ... [Delete] [Delete and Lock User]

https://blog.csdn.net/qq_36852780/article/details/104029305

Pycharm中使用Anaconda的python环境(包括环境变量的配置)


  • 1

Reply