運行安裝Python模塊我剛下運行以下命令安裝tvrenamr模塊:直接從終端
pip install tvrenamr
不,當我試圖從終端運行它使用了在這裏指定的文件中:https://tvrenamr.readthedocs.org/en/latest/usage.html
我得到以下錯誤:
No command 'tvr' found, did you mean:
Command 'tr' from package 'coreutils' (main)
Command 'tar' from package 'tar' (main)
Command 'tv' from package 'treeviewx' (universe)
Command 'tdr' from package 'devtodo' (universe)
Command 'tor' from package 'tor' (universe)
tvr: command not found
請幫助我理解爲什麼模塊沒有從終端運行以及如何運行它。
編輯:卸載並重新安裝它後,我得到了以下信息:
Downloading/unpacking tvrenamr
Downloading tvrenamr-3.6.2-py2.py3-none-any.whl (384kB): 384kB downloaded
Installing collected packages: tvrenamr
Compiling /tmp/pip-build-yZsRKH/tvrenamr/tvrenamr/vendor/yaml/__init__.py ...
File "/tmp/pip-build-yZsRKH/tvrenamr/tvrenamr/vendor/yaml/__init__.py", line 284
class YAMLObject(metaclass=YAMLObjectMetaclass):
^
SyntaxError: invalid syntax
Successfully installed tvrenamr
Cleaning up...
運行嗯它並安裝它在virtualenv中的作品在我的機器上運行罰款Python的? – danidee
是否在你的PATH環境變量中安裝了'tvr'目錄? – cdarke
運行'pip'命令時是否收到錯誤消息?事後開啓/關閉虛擬環境?安裝過程中/之後好像有問題。 – bow