Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- ida
- x64
- why error
- TensorFlow
- idapro
- javascript
- commandline
- Injection
- open office xml
- malware
- Rat
- error fix
- error
- ida pro
- Ransomware
- ecma
- Python
- hex-rays
- 포인터 매핑
- MySQL
- idapython
- NumPy Unicode Error
- h5py.File
- debugging
- data distribution
- pytest
- svn update
- mock.patch
- idb2pat
- Analysis
Archives
- Today
- Total
13 Security Lab
Python Error : Unable to find vcvarsall.bat 본문
Computer Science/Windows Externals
Python Error : Unable to find vcvarsall.bat
Maj0r Tom 2015. 9. 9. 14:11>> python setup.py build
err : building 'pydasm' extension error: Unable to find vcvarsall.bat'
Solution :
Update: Comments below point out that the instructions here may be dangerous. Consider using the Visual C++ 2008 Express edition and NOT using the original answer below. Original error message means Visual C++ 2008 is not installed
For Windows installations:
While running setup.py for package installations, Python 2.7 searches for an installed Visual Studio 2008. You can trick Python to use a newer Visual Studio by setting the correct path in
VS90COMNTOOLS
environment variable before callingsetup.py
.Execute the following command based on the version of Visual Studio installed:
- Visual Studio 2010 (VS10):
SET VS90COMNTOOLS=%VS100COMNTOOLS%
- Visual Studio 2012 (VS11):
SET VS90COMNTOOLS=%VS110COMNTOOLS%
- Visual Studio 2013 (VS12):
SET VS90COMNTOOLS=%VS120COMNTOOLS%
Comments