Search code examples
pythonmacosmoduleinstallationxlwt

How do I install xlwt module for python on a mac ?


I downloaded the most recent version of python and then downloaded the xlwt file but I cannot get "import xlwt" to work despite my attempts to set it up.


Solution

  • If you have "most recent version" of python (i.e. 3.4), then xlwt wont work. It is only for python 2. For python 3.x you should be using xlwt-future or xlswwriter.