我在红帽Linux上工作,我有一个tar.gz文件。我想将这个tar.gz文件打包到一个rpm包文件中。In the rpm package phase, I just want to extract the tar.gz file and package all of the staff into theproblems:pwd
mkdir /usr/local/
但是因为我的语法文件将近100MB,所以我想加载更小的压缩版本,它只有1MB,但这失败了,出现以下错误:parser = nltk.load_parser('grammar.tar.gz')
ValueError: Could not determine format for file:///grammar.tar.gz based on its file extension; use