当我尝试使用该命令在Windows上安装PyQt5时
python configure.py
Run Code Online (Sandbox Code Playgroud)
我收到此错误:
Run Code Online (Sandbox Code Playgroud)Error: Make sure you have a working Qt qmake on your PATH.
我从PyQt5下载了pyQt5 .
我该如何安装PyQt5?
更新:
我Qt 5.0.2 for Windows 64-bit (VS 2012, 500 MB)从Qt下载页面安装,现在我有这个错误:
Run Code Online (Sandbox Code Playgroud)Querying qmake about your Qt installation... Determining the details of your Qt installation... Error: Failed to determine the detail of your Qt installation. Try again using the --verbose flag to see more detail about the problem.
当我执行命令时python configure.py --verbose:
Run Code Online (Sandbox Code Playgroud)Querying qmake about your …
我编译了代码:
namespace TestRegExp
{
class Program
{
static void Main(string[] args)
{
if (Regex.IsMatch(args[1], args[0]))
Console.WriteLine("Input matches regular expression.");
else
Console.WriteLine("Input DOES NOT match regular expression.");
}
}
}
Run Code Online (Sandbox Code Playgroud)
当我跑:
TestRegExp.exe ^a\d{5}$ a12345 节目 Input matches regular expression.TestRegExp.exe ^a\d{5}$ aa12345 节目 Input matches regular expression.TestRegExp.exe ^^a\d{5}$ a12345 节目 Input matches regular expression.TestRegExp.exe ^^a\d{5}$ aa12345 节目 Input DOES NOT match regular expression.为什么第二个选项显示Input matches regular expression.?
'^'符号表示字符串init ...好吗?为什么我要重复这个?
在您看来,使用python在Windows中创建gui的最佳方法是什么?
你推荐PyQt for windows吗?