我在Python 2.7中获得了以下代码:
#!/usr/bin/env python
# -*- coding:utf-8 -*-
import logging
import math
import operator
import pickle
import re
import sys
import threading
import time
import unicodedata
from random import shuffle
import currencylayer
import quandl
import requests
from GUI import *
from arduinoSerial import *
from bs4 import BeautifulSoup
from ledDisplay import *
from timeout import timeout
当我运行它时,会出现一个错误:
from GUI import *
ImportError: No module named GUI
我尝试安装GUI,但无法:
Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at '/home/in/PycharmProjects/untitled/venv/bin/python
我做了什么坏事吗?有人能帮我吗
您是否正在尝试导入一个名为“GUI”的模块
Tkinter是标准的Python GUI框架。也许您正在考虑,在这种情况下,您需要使用
from tkinter import *
相关问题 更多 >
编程相关推荐