Python 3.3 install xlutils

2,606 views
Skip to first unread message

Jiaqian Wang

unread,
Sep 13, 2013, 12:03:10 AM9/13/13
to python...@googlegroups.com
Hi!!

I want to edit existing excel file using Python, but I got error when trying to install xlutils. I'm using Python 3.3 and I have installed xlrd and xlwt already. When I enter 'python setup.py install' in the corresponding directory, in returns the error as follows:

 






I'm not sure what was the problem. Hope anyone can help me figure this out.

Thank you!!

Albert-Jan Roskam

unread,
Sep 15, 2013, 8:58:38 AM9/15/13
to python...@googlegroups.com
You can download and run this: https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
Not sure if it also works for Python 3 though.

Regards,
Albert-Jan


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
All right, but apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, a
fresh water system, and public health, what have the Romans ever done for us?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 


From: Jiaqian Wang <wangji...@gmail.com>
To: python...@googlegroups.com
Sent: Friday, September 13, 2013 6:03 AM
Subject: [pyxl] Python 3.3 install xlutils

--
You received this message because you are subscribed to the Google Groups "python-excel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-excel...@googlegroups.com.
To post to this group, send an email to python...@googlegroups.com.
Visit this group at http://groups.google.com/group/python-excel.
For more options, visit https://groups.google.com/groups/opt_out.


Dennis Newbold

unread,
Sep 15, 2013, 2:16:45 PM9/15/13
to python...@googlegroups.com
per the xlutils documentation, it will work with python 2.5, 2.6, and 2.7.  No mention of 3.3.  unles you specifically require 3.3 for your application, you might try falling back to one of those instead.  In addition, even if you do that, per the documentation, the recommended installation methods are pip, easy-install and buildout.  Perhaps if you use one of the approved python versions and / or one of the recommended installation methods, the problem may resolve itself.

Dennis


--
You received this message because you are subscribed to the Google Groups "python-excel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-excel...@googlegroups.com.
To post to this group, send an email to python...@googlegroups.com.
Visit this group at http://groups.google.com/group/python-excel.
For more options, visit https://groups.google.com/groups/opt_out.



--
   The way to be happy is to be good.

Aaron DeVore

unread,
Sep 15, 2013, 4:59:07 PM9/15/13
to python...@googlegroups.com
xlutils needs to have xlwt ported before it can introduce Python 3 support. Python 3 support for xlwt is in progress, but not finished yet.

-Aaron DeVore

Dennis Newbold

unread,
Sep 16, 2013, 1:22:10 AM9/16/13
to python...@googlegroups.com
Thanks, Aaron. I suspected as much, but couldn't find anything in the documentation to support that.  Good to hear it from an authoritative source.

Dennis

Aaron DeVore

unread,
Sep 16, 2013, 3:28:04 AM9/16/13
to python...@googlegroups.com
I'm not an authoritative source. The GitHub issue tracker is the authoritative source:

https://github.com/python-excel/xlwt/issues

-Aaron DeVore

Dennis Newbold

unread,
Sep 16, 2013, 5:38:27 PM9/16/13
to python...@googlegroups.com
Oh.  Well, thanks for the link.  Not a Git fan myself, so hadn't looked there.

Dennis

Chris Withers

unread,
Sep 16, 2013, 6:30:25 PM9/16/13
to python...@googlegroups.com, Dennis Newbold
So use Subversion then...

https://github.com/blog/966-improved-subversion-client-support

Chris
> <mailto:wangji...@gmail.com>> wrote:
>
> Hi!!
>
> I want to edit existing excel file using Python, but
> I got error when trying to install xlutils. I'm
> using Python 3.3 and I have installed xlrd and xlwt
> already. When I enter 'python setup.py install' in
> the corresponding directory, in returns the error as
> follows:
>
> <https://lh6.googleusercontent.com/-s8C1_WSK6X8/UjKOBkJ9n8I/AAAAAAAAAAc/Xmk1SKhifbA/s1600/Capture.JPG>
>
>
>
>
>
>
>
>
> I'm not sure what was the problem. Hope anyone can
> help me figure this out.
>
> Thank you!!
>
> --
> You received this message because you are subscribed
> to the Google Groups "python-excel" group.
> To unsubscribe from this group and stop receiving
> emails from it, send an email to
> python-excel...@googlegroups.com
> <mailto:python-excel%2Bunsu...@googlegroups.com>.
> To post to this group, send an email to
> python...@googlegroups.com
> <mailto:python...@googlegroups.com>.
> Visit this group at
> http://groups.google.com/group/python-excel.
> For more options, visit
> https://groups.google.com/groups/opt_out.
>
>
>
>
> --
> The way to be happy is to be good.
>
> --
> You received this message because you are subscribed to
> the Google Groups "python-excel" group.
> To unsubscribe from this group and stop receiving emails
> from it, send an email to
> python-excel...@googlegroups.com
> <mailto:python-excel%2Bunsu...@googlegroups.com>.
> To post to this group, send an email to
> python...@googlegroups.com
> <mailto:python...@googlegroups.com>.
> Visit this group at
> http://groups.google.com/group/python-excel.
> For more options, visit
> https://groups.google.com/groups/opt_out.
>
>
> --
> You received this message because you are subscribed to the
> Google Groups "python-excel" group.
> To unsubscribe from this group and stop receiving emails
> from it, send an email to
> python-excel...@googlegroups.com
> <mailto:python-excel%2Bunsu...@googlegroups.com>.
> To post to this group, send an email to
> python...@googlegroups.com
> <mailto:python...@googlegroups.com>.
> Visit this group at http://groups.google.com/group/python-excel.
> For more options, visit
> https://groups.google.com/groups/opt_out.
>
>
>
>
> --
> The way to be happy is to be good.
>
> --
> You received this message because you are subscribed to the
> Google Groups "python-excel" group.
> To unsubscribe from this group and stop receiving emails from
> it, send an email to python-excel...@googlegroups.com
> <mailto:python-excel%2Bunsu...@googlegroups.com>.
> To post to this group, send an email to
> python...@googlegroups.com
> <mailto:python...@googlegroups.com>.
> Visit this group at http://groups.google.com/group/python-excel.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "python-excel" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to python-excel...@googlegroups.com
> <mailto:python-excel%2Bunsu...@googlegroups.com>.
> To post to this group, send an email to
> python...@googlegroups.com <mailto:python...@googlegroups.com>.
> Visit this group at http://groups.google.com/group/python-excel.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>
> --
> The way to be happy is to be good.
>
> --
> You received this message because you are subscribed to the Google
> Groups "python-excel" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to python-excel...@googlegroups.com.
> To post to this group, send an email to python...@googlegroups.com.
> Visit this group at http://groups.google.com/group/python-excel.
> For more options, visit https://groups.google.com/groups/opt_out.
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________

--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk

python...@raf.org

unread,
Sep 16, 2013, 9:33:17 PM9/16/13
to python...@googlegroups.com
Chris Withers wrote:

> On 16/09/2013 22:38, Dennis Newbold wrote:
> >Oh. Well, thanks for the link. Not a Git fan myself, so hadn't looked
> >there.
> >
> >Dennis
>
> So use Subversion then...
>
> https://github.com/blog/966-improved-subversion-client-support
>
> Chris

[rhetorical] surely the only alternative to git is mercurial, not subversion! :-)

Dennis Newbold

unread,
Sep 17, 2013, 1:29:19 AM9/17/13
to python...@googlegroups.com
It feels like we're getting a little off-topic here for a list about python-excel.  I'm interested in learning more about both mercurial and bazaar, but really don't know enough about either or the other alternatives to hold my own in a "which is the best scm" debate, so I prefer to remain silent and read other people's comments, hoping to learn something.  Do appreciate and thank you for your "bits of wisdom".

Take care,

Dennis


--
You received this message because you are subscribed to the Google Groups "python-excel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-excel...@googlegroups.com.
To post to this group, send an email to python...@googlegroups.com.
Visit this group at http://groups.google.com/group/python-excel.
For more options, visit https://groups.google.com/groups/opt_out.

Jiaqian Wang

unread,
Sep 17, 2013, 4:02:54 AM9/17/13
to python...@googlegroups.com
Hi!!

Thank you for all your reply!!
I think I better wait for the updated xlutils to work for Python 3.3.

Thanks for all your help! 

Chris Withers

unread,
Sep 17, 2013, 4:14:25 AM9/17/13
to python...@googlegroups.com, Jiaqian Wang
On 17/09/2013 09:02, Jiaqian Wang wrote:
> Hi!!
>
> Thank you for all your reply!!
> I think I better wait for the updated xlutils to work for Python 3.3.

You'll be waiting a long time.

Use Python 2.7

cheers,

Chris

jochen.t...@googlemail.com

unread,
Jan 14, 2015, 6:50:21 AM1/14/15
to python...@googlegroups.com, wangji...@gmail.com
Hi there,

searching the web for a solution of the same problem.

By now, both xlrd and xlwt are ported to python3. Are there any news regarding xlutils?

Cheers

Jochen

Tarek Hoteit

unread,
Mar 14, 2015, 10:04:11 PM3/14/15
to python...@googlegroups.com, wangji...@gmail.com
hi. did any one find out if xlutils.copy is ported somewhere for Python3?

Celso Vicente Mercado

unread,
Mar 16, 2015, 4:51:30 PM3/16/15
to python...@googlegroups.com
Install xlsxwriter ñ.ñ


--
You received this message because you are subscribed to the Google Groups "python-excel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-excel...@googlegroups.com.
To post to this group, send email to python...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
ñ.ñ Yeah !!

Chris Withers

unread,
Apr 13, 2015, 7:12:45 PM4/13/15
to python...@googlegroups.com, wangji...@gmail.com
Neither xlwt nor xlutils have had Python 3 compatible releases.

I'm hoping to change that over the next day or two, but in the meantime, please consider trying out openpyxl...

Chris
--
You received this message because you are subscribed to the Google Groups "python-excel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-excel...@googlegroups.com.
To post to this group, send email to python...@googlegroups.com.
Visit this group at http://groups.google.com/group/python-excel.
For more options, visit https://groups.google.com/d/optout.

David Crisp

unread,
Apr 13, 2015, 11:04:51 PM4/13/15
to python...@googlegroups.com
Hang on,  Have I missed something and found a twist in the universe?   I have been using xlwt in my code for the last 18 months using Python 3.3.. 
(NOT xlutils.  I haven't looked at those)
Regards,
David

Chris Withers

unread,
Apr 14, 2015, 11:54:33 AM4/14/15
to python...@googlegroups.com
Where did you get it from?

('cos I can assure you, it's not the 'original' xlwt, not that that counts for much given how little maintenance we've put into it...)

John Yeung

unread,
Apr 14, 2015, 12:11:55 PM4/14/15
to python-excel
> On 13/04/2015 19:30, David Crisp wrote:
>
> Hang on, Have I missed something and found a twist in the universe? I
> have been using xlwt in my code for the last 18 months using Python 3.3..

On Tue, Apr 14, 2015 at 11:54 AM, Chris Withers <ch...@simplistix.co.uk> wrote:
> Where did you get it from?
>
> ('cos I can assure you, it's not the 'original' xlwt, not that that counts
> for much given how little maintenance we've put into it...)

The two most plausible choices:

https://pypi.python.org/pypi/xlwt3/
https://pypi.python.org/pypi/xlwt-future/

The latter is actually linked to from the former, which is explicitly
discontinued.

John Y.

David Crisp

unread,
Apr 15, 2015, 7:12:12 AM4/15/15
to python...@googlegroups.com
Hi Chris,

I just checked the ACTUAL version I am using and its xlwt-future 0.8.0.

It DOES, however, function exactly how I need it to function at this time!  (which is why I completely forgot exactly what lib I was using)

Regards,
David
Reply all
Reply to author
Forward
0 new messages