我是Cassandra世界的新手,并试图将一个csv数据文件导入我在Windows 7上新创建的cassandra服务器用于学习目的,我正在关注数据同步在线教程,并且卡在了上面 https://academy.datastax.com/courses/installing-configuring-and-manipulating-keyspace/copying-external-data-tables-development
当我尝试复制csv文件时,它会给我错误
cqlsh> use musicdb
... ;
cqlsh:musicdb> copy album(title,year,performer,genre,tracks)
... from 'album.csv'
... with header = true;
Error starting import process:
Can't pickle <type 'thread.lock'>: it's not found as thread.lock
can only join a started process
cqlsh:musicdb> Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Program Files\DataStax Community\python\lib\multiprocessing\forking.p
y", line 373, in main
prepare(preparation_data)
File "C:\Program Files\DataStax Community\python\lib\multiprocessing\forking.p
y", line 482, in prepare
file, path_name, etc = imp.find_module(main_name, dirs)
ImportError: No module named cqlsh
cqlsh:musicdb>
我的album.csv文件与cqlsh.exe位于同一文件夹中