-
Notifications
You must be signed in to change notification settings - Fork 451
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
subprocess.CalledProcessError: Command '['where', 'cl']' returned non-zero exit status 1. #157
Comments
sorry about the error you have. I am not good at system debugging. Could you try using anaconda 3.6? |
I have tried anaconda5.2(python3.6), but still encountered this problem... |
Hello, can you solve this problem? |
Does the problem only happen on Win, not for Ubuntu? |
I have the same problem , win64, all packages are updated. (24/04/2019) |
Hello, can you solve this problem? |
Met the same problem. Does it have any solution? |
win7, torch-encoding==1.0.0, python==3.7, pytorch==1.2stable |
i also meet the problem......but my question is ['which', 'c++'] in docker |
Same issue. Windows 10, 64 bit. Conda 4.8.3, pytorch 1.4 |
Sorry that I don't have experience using Windows. I can help on ubuntu or mac os. |
Similar issue for macOS 10.15.4:
|
Are you using an old version of pytorch? |
Nope. I'm using 1.4.0, the latest. |
That sounds frustrating. I will provide docker container later. Please check out later if you are still interested in this repo. |
Great. Thanks. |
docker is provided at #305 |
Traceback (most recent call last): Got this error while working on this project: https://github.com/zhou13/neurvps |
The code you are using is from other repo. Please use our latest code. Thx |
Warning (from warnings module):
File "C:\Users\ys\AppData\Local\Programs\Python\Python36\lib\site-packages\torch\utils\cpp_extension.py", line 184
warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))
UserWarning: Error checking compiler version for c++: Command 'c++' returned non-zero exit status 1.
Traceback (most recent call last):
File "<pyshell#0>", line 1, in
import encoding
File "C:\Users\ys\AppData\Local\Programs\Python\Python36\lib\site-packages\encoding_init_.py", line 13, in
from . import nn, functions, parallel, utils, models, datasets, transforms
File "C:\Users\ys\AppData\Local\Programs\Python\Python36\lib\site-packages\encoding\nn_init_.py", line 12, in
from .encoding import *
File "C:\Users\ys\AppData\Local\Programs\Python\Python36\lib\site-packages\encoding\nn\encoding.py", line 18, in
from ..functions import scaled_l2, aggregate, pairwise_cosine
File "C:\Users\ys\AppData\Local\Programs\Python\Python36\lib\site-packages\encoding\functions_init_.py", line 2, in
from .encoding import *
File "C:\Users\ys\AppData\Local\Programs\Python\Python36\lib\site-packages\encoding\functions\encoding.py", line 14, in
from .. import lib
File "C:\Users\ys\AppData\Local\Programs\Python\Python36\lib\site-packages\encoding\lib_init_.py", line 15, in
], build_directory=cpu_path, verbose=False)
File "C:\Users\ys\AppData\Local\Programs\Python\Python36\lib\site-packages\torch\utils\cpp_extension.py", line 645, in load
is_python_module)
File "C:\Users\ys\AppData\Local\Programs\Python\Python36\lib\site-packages\torch\utils\cpp_extension.py", line 814, in _jit_compile
with_cuda=with_cuda)
File "C:\Users\ys\AppData\Local\Programs\Python\Python36\lib\site-packages\torch\utils\cpp_extension.py", line 859, in _write_ninja_file_and_build
with_cuda=with_cuda)
File "C:\Users\ys\AppData\Local\Programs\Python\Python36\lib\site-packages\torch\utils\cpp_extension.py", line 1064, in _write_ninja_file
'cl']).decode().split('\r\n')
File "C:\Users\ys\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 336, in check_output
**kwargs).stdout
File "C:\Users\ys\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['where', 'cl']' returned non-zero exit status 1.
After i install the latest version of encoding, this error will still occur when i import encoding module. I use python3.6, pytorch1.0 stable, cuda9.0
The text was updated successfully, but these errors were encountered: