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 |
Tags
- ida
- MySQL
- malware
- error
- Ransomware
- why error
- hex-rays
- Rat
- NumPy Unicode Error
- javascript
- TensorFlow
- commandline
- 포인터 매핑
- idapython
- svn update
- open office xml
- mock.patch
- ida pro
- debugging
- h5py.File
- Analysis
- x64
- data distribution
- Python
- idapro
- error fix
- Injection
- ecma
- pytest
- idb2pat
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%