sqlite3:在 Windows 10 上找不到 Python 3 命令 [英] sqlite3: command not found Python 3 on Windows 10

查看:41
本文介绍了sqlite3:在 Windows 10 上找不到 Python 3 命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Windows 10 上安装了 Python 3.6.5.我看到 ...\Python\Python36\Lib 目录中有一个 sqlite3 文件夹.我将 Python PATH 添加到环境变量中.但是,我无法从 Powershell 或 Git Bash 运行命令sqlite3".它会说找不到命令".我做错了什么?

I installed Python 3.6.5 on Windows 10. I see that there is a sqlite3 folder in ...\Python\Python36\Lib directory. I added Python PATH to environment variable. However, I can't run the command "sqlite3" from Powershell nor Git Bash. It would say "command not found". What did I do wrong?

推荐答案

Python 的 sqlite 库可能已安装.尝试:import sqlite3 在 Python shell 中.

Python's sqlite library probably is installed. Try: import sqlite3 in the Python shell.

如果你想能够使用sqlite的CLI程序,你需要安装它.

If you want to be able to use sqlite's CLI program, you need to install it.

这里下载.明显使用Windows版本.

Download here. Use the Windows version obviously.

这篇关于sqlite3:在 Windows 10 上找不到 Python 3 命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆