关于ms访问:Python错误:使用python_access包时缺少’mdb-schema’

Python error: missing 'mdb-schema' when using python_access package

(P)Running on Ubuntu 16.04,Python 3.6.2(p)(P)I have successful used this package before.实际上,这项工作是关于不同的PC,但我并不需要它来开展工作。https://pyppi.python.org/pypi/pandas---uu access(p)字母名称(P)Traceback(Most recent call last):(p)(P)页:1(p)(P)File"/home/NFW/Anaconda3/LIB/Pytohon3.6/site-packages/pandas?U access/init.py?,line 118,in read?uu table schemas=to?uu pandas?uschema(read?uu schema(RDB?,schema?uuEncading,(p)(P)File"/home/nfw/anaconda3/lib/pythonn3.6/site-packages/pandas?uu access/init.py?,line 59,in read?uschema output=subrocess.check?uo output([` MDB-schema',RDB?uFile])(p)(P)File"/home/NFW/Anaconda3/LIB/Pyton3.6/Subrocess.py",line 336,in check′uu′output***(p)(P)File"/home/nfw/anaconda3/lib/pyton3.6/subrocess.py",line 403,in run with popen(*popenargs,**kwargs)as process:(p)(P)File"/home/nfw/anaconda3/lib/pyton3.6/subrocess.py",line 707,in init restore u signals,start-new-uu session(p)(P)File"/home/NFW/Anaconda3/LIB/Python3.6/Subrocess.py",Line 1333,in?uu execute?uu child raise child?u exception?utype(errno?unum,err?umsg)(p)(P)Filenofounderror:[errno 2]no such file or directory:"MDB-Schema"(p)(P)The code for pandas---UU access is available here(p)(P)https://github.com/jbn/pandas---u access/blob/master/pandas---ubn access/init.py(p)(P)It's supposed to only require MDB tools which I have installed and it works.I can open the access database using MDB tools on its own.(p)


解决了的!

我在工作PC的命令行上运行了mdb模式,得到:

用法:mdb schema[选项][]其中选项包括:-仅为命名表创建架构-n以名称空间为前缀的标识符

我在非工作PC上运行mdb模式,得到:当前未安装程序"mdb schema"。您可以通过键入以下内容来安装:sudo apt安装mdbtools

我不知道这是怎么安装的,因为我之前肯定是在上面运行GMDB2的,但哦,好吧,需要继续。