Errors installing xmiparser with Python 3.4 and windows - any help?

Mark Lawrence breamoreboy at yahoo.co.uk
Fri Oct 9 19:05:39 EDT 2015


On 09/10/2015 18:24, Gary Hanyzewski wrote:
> I am trying to install xmiparser-1.5.dev-r124826 into python 3.4.0 on a windows machine.
> When I try and install (either with pip or setup.py install) I get a number of syntax errors in the code ( below)
>
> Has anyone managed to install and use the xmiparser module in python 3.4? If so what's the trick? if not any pointers on what I can do to get it to go. Are there any other xmi parsers or tools?
>
> Thanks
>
> Gary
>

[mega snip]

Try running the code through 2to3, then have the usual fun and games 
getting anything to compile on Windows, although I'd have thought it was 
blatantly obvious what the following meant.

<quote>
   File "C:\Python34\lib\distutils\msvc9compiler.py", line 460, in compile
     self.initialize()
   File "C:\Python34\lib\distutils\msvc9compiler.py", line 371, in 
initialize
     vc_env = query_vcvarsall(VERSION, plat_spec)
   File "C:\Python34\lib\distutils\msvc9compiler.py", line 287, in 
query_vcvarsal
l
     raise ValueError(str(list(result.keys())))
ValueError: ['path']
</quote>

**NOT**

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list