Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/297.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 通过imdbpy导入imdb数据在20小时后仍未完成_Python_Import_Imdb_Imdbpy - Fatal编程技术网

Python 通过imdbpy导入imdb数据在20小时后仍未完成

Python 通过imdbpy导入imdb数据在20小时后仍未完成,python,import,imdb,imdbpy,Python,Import,Imdb,Imdbpy,我正在尝试使用从以下链接下载的IMDbPY导入imdb的数据: 问题是我昨天运行了imdbpy2sql,但21小时后仍然没有完成! 它还有很多类似这样的警告: * FLUSHING SQLData... WARNING: unknown exception caught committing the data WARNING: to the database; report this as a bug, since WARNING: many data (10499999 items) we

我正在尝试使用从以下链接下载的IMDbPY导入imdb的数据:

问题是我昨天运行了imdbpy2sql,但21小时后仍然没有完成! 它还有很多类似这样的警告:

 * FLUSHING SQLData...
WARNING: unknown exception caught committing the data
WARNING: to the database; report this as a bug, since
WARNING: many data (10499999 items) were lost: [Errno 2] No such file or directory: '/home/mona/Downloads/CSV/cast_info.csv'
SCANNING actor: Rosenthal, Laurence Todd
SCANNING actor: Ross, Jonathan (I)
WARNING: unknown exception caught committing the data
WARNING: to the database; report this as a bug, since
WARNING: many data (2746715 items) were lost: [Errno 2] No such file or directory: '/home/mona/Downloads/CSV/title.csv'
WARNING: unknown exception caught committing the data
WARNING: to the database; report this as a bug, since
WARNING: many data (1442910 items) were lost: [Errno 2] No such file or directory: '/home/mona/Downloads/CSV/name.csv'
 * FLUSHING SQLData...
WARNING: unknown exception caught committing the data
WARNING: to the database; report this as a bug, since
WARNING: many data (10519999 items) were lost: [Errno 2] No such file or directory: '/home/mona/Downloads/CSV/cast_info.csv'
SCANNING actor: Rossi, Riccardo (I)
SCANNING actor: Rotmund, Ernst
这正常吗

我在一台服务器上工作(Ubuntu 13.10版,core i7,64位,8G内存),我安装了IMDbPY及其依赖项。数据库是mysql

非常感谢您提供有关此问题的任何信息

非常感谢
Mona

您确定您的SQL库正常工作吗?在我看来,IMDBPy无法写入数据库。