-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error #167
Comments
maybe I just need to install torch... |
Yes, you are right. All you need is You can disable PyTorch by using cd build
cmake -DUSE_PYTORCH=OFF .. |
Yeah. I have been spending the last hour or so trying to install torch.
It keeps timing out.
I am trying to get the whl file from a VM I have in Hong Kong, so I can scp
it back over here.
…On Mon, Sep 21, 2020 at 4:44 PM Fangjun Kuang ***@***.***> wrote:
Yes, you are right. All you need is pip install torch.
You can disable PyTorch by using
cd build
cmake -DUSE_PYTORCH=OFF ..
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#167 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZFLOYVPUHS3LLOGTXD233SG4G7XANCNFSM4RUGZNUQ>
.
|
Tsinghua provides a mirror that can be accessed faster inside China. https://pypi.tuna.tsinghua.edu.cn/simple/torch/ contains I guess torch-1.6.0-cp38-cp38-manylinux1_x86_64.whl is what you want. |
+1 for Tsinghua mirror. @danpovey you can add Tsinghua mirror as the default channel for pip, it will be much faster than the default.
|
Yeah that is the source I am using but it is too slow.
Could be our network is the problem.
…On Mon, Sep 21, 2020 at 5:03 PM Haowen Qiu ***@***.***> wrote:
+1 for Tsinghua mirror. @danpovey <https://github.com/danpovey> you can
add Tsinghua mirror as the default channel for pip, it will be much faster
than the default.
pip install pip -U
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#167 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZFLO7D6SYGTJBKH447CLTSG4JHJANCNFSM4RUGZNUQ>
.
|
... I managed to install it after obtaining the pip file from a VM in Hong
Kong that I maintain.
…On Mon, Sep 21, 2020 at 5:08 PM Daniel Povey ***@***.***> wrote:
Yeah that is the source I am using but it is too slow.
Could be our network is the problem.
On Mon, Sep 21, 2020 at 5:03 PM Haowen Qiu ***@***.***>
wrote:
> +1 for Tsinghua mirror. @danpovey <https://github.com/danpovey> you can
> add Tsinghua mirror as the default channel for pip, it will be much faster
> than the default.
>
> pip install pip -U
> pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#167 (comment)>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAZFLO7D6SYGTJBKH447CLTSG4JHJANCNFSM4RUGZNUQ>
> .
>
|
Then it must be the issue of Xiaomi network... I could get Torch in 3 minutes at home..
|
-- Found PythonInterp: /home/linuxbrew/.linuxbrew/bin/python3.8 (found version "3.8.5")
-- Found PythonLibs: /home/linuxbrew/.linuxbrew/opt/python@3.8/lib/libpython3.8.so
-- pybind11 v2.5.0
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'torch'
CMake Error at cmake/torch.cmake:10 (find_package):
By not providing "FindTorch.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Torch", but
CMake did not find one.
Could not find a package configuration file provided by "Torch" with any of
the following names:
Add the installation prefix of "Torch" to CMAKE_PREFIX_PATH or set
"Torch_DIR" to a directory containing one of the above files. If "Torch"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
CMakeLists.txt:100 (include)
-- Configuring incomplete, errors occurred!
See also "/home/storage06/dpovey/k2/build/CMakeFiles/CMakeOutput.log".
See also "/home/storage06/dpovey/k2/build/CMakeFiles/CMakeError.log".
The text was updated successfully, but these errors were encountered: