启动时出错 'rethinkdb-restore': 没有那个文件或目录

Error when launching 'rethinkdb-restore': No such file or director

我正在从我的本地系统导入在 AWS 服务器上移动的数据库备份

在使用命令恢复 Rethink 数据库时:

rethinkdb 恢复 /home/league_ally/rethinkexport.tar.gz

出现以下错误:

Error when launching 'rethinkdb-restore': No such file or directory
The rethinkdb-restore command depends on the RethinkDB Python driver,    
which must be installed.
If the Python driver is already installed, make sure that the PATH 
environment variable
includes the location of the backup scripts, and that the current  
user has permission to
access and run the scripts.
Instructions for installing the RethinkDB Python driver are available  
here:
http://www.rethinkdb.com/docs/install-drivers/python/

正如您已经完成的那样,第一步是安装 rethinkdb Python 包。例如:

$ pip install rethinkdb

然后,如果您仍然看到以下错误:

$ rethinkdb-restore
Error when launching 'rethinkdb-restore': No such file or directory

尝试运行它作为:

$ python -mrethinkdb._restore
Usage: rethinkdb restore FILE [-c HOST:PORT] ...

我在恢复我的应用程序中的数据时遇到了同样的问题。我发现 PIP 需要升级。升级 PIP 后,我能够恢复我的数据库