无法安装 lws 包(没有这样的文件或目录:“_version.py”)

无法安装 lws 包(没有这样的文件或目录:“_version.py”)
(my_env35) ubuntu@<some_ip>:~/voice_cloning/deepvoice3_pytorch$ pip install lws
Collecting lws

enter code hereUsing cached https://files.pythonhosted.org/packages/ee/14/b1d07a911f7e50f5c2d8ab1b65021a79232eb6267cba203afe20e50b3caa/lws-1.2.1.tar.gz
    ERROR: Complete output from command python setup.py egg_info:
    ERROR: Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-pn5vxqb4/lws/setup.py", line 27, in <module>
        verstrline = open(VERSIONFILE, "rt").read()
      File "/home/ubuntu/anaconda3/envs/my_env35/lib/python3.5/codecs.py", line 895, in open
        file = builtins.open(filename, mode, buffering)
    FileNotFoundError: [Errno 2] No such file or directory: '_version.py'
    ----------------------------------------

ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-pn5vxqb4/lws/

我也尝试从 GitHub 下载源包(https://github.com/Jonathan-LeRoux/lws/tree/master/python),然后从setup.py安装它,但同样的错误发生

我使用的是 Ubuntu 16.04.6 LTS

尝试在 Python 版本 3.5 和 3.7 上安装

相关内容