找不到python模块sql_driver

时间:2014-12-04 23:17:58

标签: python

我通常没有问题在网上搜索晦涩的python包。但是我找不到这个。有谁知道这个错误是指什么?

有没有一种简单的方法可以深入了解来源,找出它想要的模块? 我知道我不应该为我所拥有的每个缺少的模块窃听stackoverflow,所以有自己调试的方法吗?

这些是我最近为此项目安装的模块: blist beautifulsoup 要求 pymongo SQLAlchemy的 xmltodict financial_fundamentals

我认为错误来自SQLAlchemy,但错误读数说明了一些关于vector_cache的信息

使用以下行:

import financial_fundamentals.accounting_metrics as ac

我明白了:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-6-f1aecf47aa1b> in <module>()
----> 1 import financial_fundamentals.accounting_metrics as ac

C:\Python27\lib\site-packages\financialfundamentals-0.2.3-py2.7.egg\financial_fundamentals\accounting_metrics.py in <module>()
     65 import financial_fundamentals.edgar as edgar
     66 
---> 67 @vector_cache.vector_cache
     68 def earnings_per_share(required_data):
     69     start, end = required_data.index[0], required_data.index[-1]

C:\Python27\lib\site-packages\vector_cache-0.1.0-py2.7.egg\vector_cache\_vector_cache.pyc in vector_cache(user_function)
     19         # When the function name or location changes you're going to have to re-cache everything, bummer.
     20         metric = user_function.__name__
---> 21         data_store = get_data_store()
     22         @wraps(user_function)
     23         def wrapper(required_data_df):

C:\Python27\lib\site-packages\vector_cache-0.1.0-py2.7.egg\vector_cache\__init__.py in _get_data_store(cls)
     37         except IOError:
     38             # no config in home directory
---> 39             return cls._default_data_store(db_dir=home)
     40         else:
     41             return cls._eval_config_code(code)

C:\Python27\lib\site-packages\vector_cache-0.1.0-py2.7.egg\vector_cache\__init__.py in _default_data_store(db_dir)
     43     @staticmethod
     44     def _default_data_store(db_dir):
---> 45         from sql_driver import SQLDataStore
     46         import os
     47         db_file_path = os.path.join(db_dir, 'vector_cache.db')

ImportError: No module named sql_driver

0 个答案:

没有答案