Nosuchmoduleerror:Sqlalchemy-Access

发布于 2025-02-11 17:58:19 字数 336 浏览 2 评论 0原文

我有一个脚本查询和更新访问表。我已经在计算机上成功使用了它,但是在在另一台计算机上安装Anaconda和Spyder(与原始计算机上的原始安装相同)后,它在新计算机上不起作用。 要澄清:我使用 PIP安装sqlalchemy-Access 在Anaconda提示和运行时 PIP列表| Findstr访问 我明白了 sqlalchemy-access 1.1.3。但是,当我在Spyder中运行脚本时,我会得到nosuchmoduleerror:无法加载插件:sqlalchemy.dialects:access.pyodbc error。

I have a script that queries and updates an access table. I've used it successfully on my computer, but after installing anaconda and spyder on a different computer (same versions as the original installation on the original computer) it doesn't work on the new computer.
To clarify: I installed the package using
pip install sqlalchemy-access
on the anaconda prompt, and when running
pip list|findstr access
I get
sqlalchemy-access 1.1.3. However, when I run the script in spyder I get the NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:access.pyodbc error.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

花开半夏魅人心 2025-02-18 17:58:19

您的计算机上有几个不同的Python版本吗?

也许使用pip3安装软件包

安装sqlalchemy-access

可以解决此问题。

Do you have several different python versions on your computer?

Maybe installing the package with

pip3 install sqlalchemy-access

Could fix this.

梨涡少年 2025-02-18 17:58:19

我不知道为什么,但是经过多次尝试后,我再次检查了(pip列表| findstr访问),发现Sqlalchemy-Access的安装,我设法在Anaconda提示中找到了它,已经消失了。我再次安装了它(第三次或第四次),现在可以使用。

I don't know why, but after trying multiple times, I checked again (pip list|findstr access) and found that the installation of sqlalchemy-access, which I managed to find before in the anaconda prompt, has disappeared. I installed it again (for the third or fourth time) and now it works.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文