Attributeerror: 'msvccompiler' Object Has No Attribute 'compiler' When Trying To Install A Numpy Extension
I'm having an issue when installing the numpy extension py_find_1st 1.1.3. When I try to install it via cmd on Windows, I get the following message: D:\Chrome dl\py_find_1st-1.0.6
Solution 1:
This is less of an answer and more of a heads up for people running into this in the future:
According to this link, "compiler is an attribute on [GNU/]Linux but not Windows." Thus, it's highly likely that something is wrong with the setup scripts whenever you run into this problem. Most probably, the package author didn't consider Windows installation routines and needs to be notified.
If you want to fix this yourself, I recommend looking for any line of your setup.py file containing the "self.compiler.compiler[0]" part and commenting it out.
Post a Comment for "Attributeerror: 'msvccompiler' Object Has No Attribute 'compiler' When Trying To Install A Numpy Extension"