Closed jamesr66a closed 2 years ago
This error is because you are using python 3.9
. Currently, the repository only supports python 3.7 and python 3.8. Can you try again with python 3.8?
I don't think Python version has anything to do with LLVM.
What you might be seeing is you have LLVM installed in a virtual env/conda etc in your 3.8 environment, then switching to the 3.9 that dependency is not installed. Python version is a red herring in this scenario.
I don't think Python version has anything to do with LLVM.
What you might be seeing is you have LLVM installed in a virtual env/conda etc in your 3.8 environment, then switching to the 3.9 that dependency is not installed. Python version is a red herring in this scenario.
@jamesr66a It is because some dependencies are frozen by the version locks. For example, tacotron2
freezes its dependency numba==0.48
. PyPI with Python 3.8 provides pre-built numba 0.48, so it just downloads and installs the binary. However, on Python 3.9, there is no pre-built numba 0.48 binary (it is too old for Python 3.9), so pip on Python 3.9 decides to compile it from scratch, which requires LLVM dependency.
Removing the version locks (https://github.com/pytorch/benchmark/pull/787) fixes this problem. Please help review it, and let me know what you think.
When I try to
install.py
, the build fortacotron2
fails because it can't findllvm-config
:This dependency isn't documented anywhere and it probably should be