-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
cl.exe failed with exit status 2/-1073741701 #148
Comments
I have met this problem,too. I can't fix it. So, I choose to use Ubuntu instead of Windows @Jarmahent |
@yusail I have windows 10 on my laptop and I've successfully installed it there. I dont know exactly why. |
@Jarmahent I am having this problem too. Do you know what did you change to fix? |
https://python-binance.readthedocs.io/en/latest/overview.html#installation
|
@Jarmahent are you still having issues or did the info provided by @tropo84 resolve it? |
I am also being bothered with these issues. Install the newest VC build tools is not helpful. |
@sammchardy No installing the tools did not fix the issue. |
I am also having the same issue is any one know about this?? |
Refer to this link: Download the right whl package for you python version(if you have trouble knowing what version of python you have, just lunch the interpreter ), in my case it was python 3.6 32 bit use pip to install the package, assuming that the file is in downloads folder : You can then try to install python-binance again usng pip |
Any one able to resolve issue. I am facing same issue. |
I was able to solve it |
Thanks @Saledddar , i got the same issue. Using libs from lfd.uci.edu really helped. |
Thanks @Saledddar . Great job |
@Saledddar Seems to have the issue fixed, closing issue. |
it worked thank yo |
Saledddar, you didn't solve the issue at all, telling people to just download and install it from somewhere else with another program is not solving an issue at all. I'm trying to install the neopixels package, it's not on that page you linked that lists python packages, so I've still got the exact same problem. |
It works for Cartopy as well, but I agree that this is not a solution. It should work automatically. |
Hello guys As far as i know, you have to install visual studio in order to have the compiler (no other way around that), here is a link for a lightweight VS installation: I see some people arguing that using a precompiled whl is not a solution, for most popular packages it is, but for less known packages,you must have VS c++ compiler installed. There is no automatic solution. |
This might be a stupid question, but why is there no compiler packaged with python or a dedicated package if this happens so often? Visual studio is quite big as an external dependency. |
Some python packages have parts written in c or c++, this is very common for packages where better performance is needed since python is interpreted and code in python is less efficient than a code that is written in c or c++. As i said, python packages are delivered as source code, most developers sadly do not distribute their packages as binaries(.whl files that you will find in the link i shared above). |
Only workaround is to get Visual Studio C++ compiler, no real "Automatic solution". |
I often use the precompiled wheels. I have visual studio and c++ build tools installed, still getting this error for the Pycrypto library. Unfortunately, there isn't a precompiled version available. I'm going to try adding an older c++ build tool. |
I download VS and
|
Hi, i have similar problem, i have been looking by hours how to solve it but nothing help me, I tried this Twisted package, and i updated Visual studio but still nothing. Somebody have some ideas? Command "c:\users\medion\appdata\local\programs\python\python36-32\python.exe -u -c "import setuptools, tokenize;file='C:\Users\Medion\AppData\Local\Temp\pip-install-fwn49w4h\mysqlclient\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\Medion\AppData\Local\Temp\pip-record-670kughu\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\User\AppData\Local\Temp\pip-install-fwn49w4h\mysqlclient\ |
Have you both downloaded the binaries and installed them using pip? |
Yes, I already had install that. |
@Saledddar how do I know which package I am supposed to install... I am getting confused. Can you guide me a bit, please. |
@Saledddar which packages we are supposed to download from here? |
@Shanzaay It depends on your python installation, if it is 32 bit: |
Thank you, @Saledddar, it's works. |
@Saledddar Hello, I'm sorry but I still have a problem even after following your solution:https://github.com/sammchardy/python-binance/issues/148#issuecomment-374853521
I installed:
|
I was getting this error "invalid numeric argument '/Wno-cpp' still after the steps above |
|
ERROR: Twisted-17.9.0-cp36-cp36m-win32.whl is not a supported wheel on this platform. |
I am going to install the pymrmr and I have already met this error: Microsoft Visual C++ 14.0 is required. so I have downloaded the VC build tools2019. it works in the vc cmd that I have successfully install the pymrmr in vc cmd. but when I come to anaconda prompt it shows the new error as this link show: cl.exe failed with exit status 2 |
Try to use Python 3.7 instead 3.8. |
This is the ultimate solution |
It worked for me. On Windows 10, open terminal, paste it, finish. |
@Saledddar thank you a lot |
I get the below error while installing pycrypto. I tried using this but it didn't work. Please let me know what should be done. I use a 64bit windows machine and my python version is 3.7.8
|
Issue Resolved: Write: pip install pycocotools-windows Python 3.7.6 |
Issue resolved after I uninstalled Python and reinstalled the same. |
i'm facing the same iusse but it's while installing pyaudio do have a solution?? |
Reinstalling visual studio 2015 helped me |
Guys, I have found that sticking to the particular version of the package installed can be a problem, try just the latest version or install without a specific tag, e.g. |
Concerning the error that occurs when the Visual Studio Build Tools are installed: My problem was that I had a 32-bit version of Python installed. After I switched to the 64 bit version, the dependency could be installed without problems. |
I was able to get past this error but installing and using an older version of python. I was using 3.9 but it worked when I switched to python 3.7. I do have Microsoft Build Tools installed, not sure if that will make a difference (http://go.microsoft.com/fwlink/?LinkId=691126&fixForIE=.exe. ). |
This comment from @Saledddar worked for me. Refer to this link: Download the right whl package for you python version(if you have trouble knowing what version of python you have, just lunch the interpreter ), in my case it was python 3.6 32 bit use pip to install the package, assuming that the file is in downloads folder : |
D:\Anaconda\lib\site-packages\torch\include\c10/util/variant.h(1542): note: see reference to function template instantiation 'auto c10::detail_::visitation::base::make_fmatrix<Visitor&&,c10::detail_::basec10::detail_::Trait::TriviallyAvailable,torch::enumtype::kSum,torch::enumtype::kMean,torch::enumtype::kMax&>(void)' being compiled I don't know how to solve it? Thanks in advance. |
This link is not opening I wonder why |
I've resolved the issue. I switched from Python 3.9 to 3.6 and the error is gone. |
When trying to install
python-binance
using pip I get this error:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DWIN32=1 "-Ic:\program files\python37\include" "-Ic:\program files\python37\include" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /Tcsrc/twisted/test/raiser.c /Fobuild\temp.win-amd64-3.7\Release\src/twisted/test/raiser.obj error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status -1073741701
Command ""c:\program files\python37\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\Kevin\\AppData\\Local\\Temp\\pip-build-vbhp1s_d\\Twisted\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\Kevin\AppData\Local\Temp\pip-yys0av0d-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Kevin\AppData\Local\Temp\pip-build-vbhp1s_d\Twisted\
The text was updated successfully, but these errors were encountered: