Nosuchmoduleerror:Sqlalchemy-Access
我有一个脚本查询和更新访问表。我已经在计算机上成功使用了它,但是在在另一台计算机上安装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 usingpip install sqlalchemy-access
on the anaconda prompt, and when runningpip list|findstr access
I getsqlalchemy-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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您的计算机上有几个不同的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.
我不知道为什么,但是经过多次尝试后,我再次检查了(
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.