Skip to content
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

git install error #26

Closed
Betacommand opened this issue Apr 16, 2013 · 1 comment
Closed

git install error #26

Betacommand opened this issue Apr 16, 2013 · 1 comment
Assignees

Comments

@Betacommand
Copy link

C:\Python27\setups\mwparserfromhell>setup.py install
running install
running bdist_egg
running egg_info
writing mwparserfromhell.egg-info\PKG-INFO
writing top-level names to mwparserfromhell.egg-info\top_level.txt
writing dependency_links to mwparserfromhell.egg-info\dependency_links.txt
reading manifest file 'mwparserfromhell.egg-info\SOURCES.txt'
writing manifest file 'mwparserfromhell.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_py
running build_ext
building 'mwparserfromhell.parser._tokenizer' extension
error: Unable to find vcvarsall.bat

@ghost ghost assigned earwig Apr 16, 2013
@earwig
Copy link
Owner

earwig commented Apr 21, 2013

Looking into the error, I do not think it is related to the parser itself, but Windows' messy build system. I found this: http://stackoverflow.com/questions/2817869/error-unable-to-find-vcvarsall-bat.

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 calling setup.py.

If you have Visual Studio 2010 installed, execute

SET VS90COMNTOOLS=%VS100COMNTOOLS%

or with Visual Studio 2012 installed

SET VS90COMNTOOLS=%VS110COMNTOOLS%

Closing this for now unless someone suggests a thing I can do to the parser itself.

@earwig earwig closed this as completed Apr 21, 2013
@earwig earwig removed this from the version 0.2 milestone May 25, 2014
jayvdb added a commit to jayvdb/mwparserfromhell that referenced this issue Jan 10, 2015
Allow the compilation of the extension to fail, and switch
to pure python mode.
jayvdb added a commit to jayvdb/mwparserfromhell that referenced this issue Jan 12, 2015
Allow the compilation of the extension to fail, and switch
to pure python mode.
jayvdb added a commit to jayvdb/mwparserfromhell that referenced this issue Jan 12, 2015
Allow the compilation of the extension to fail, and switch
to pure python mode.
earwig added a commit that referenced this issue Jan 12, 2015
Issue #26 Use pure python on compilation failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants