Wednesday, January 31, 2018

VTK-8.1.0 wheels for all platforms on pypi!

I cannot believe it has been 6 years since my last blog post!  Anyway, I have some good news to announce here.

In the Python community, VTK has always been somewhat difficult to install (in comparison to pure Python packages). One has required to either use a specific package management tool or resort to source builds. This has been a major problem when trying to install tools that rely on VTK, like Mayavi.

During the SciPy 2017 conference held at Austin last year, a few of the Kitware developers, notably Jean-Christophe Fillion-Robin  (JC for short) and some of the VTK developers got together with some of us from the SciPy community and decided to try and put together wheels for VTK.

JC did the hard work of figuring this out and setting up a nice VTKPythonPackage during the sprints to make this process easy. As of last week (Jan 27, 2018) Mac OS X wheels were not supported. Last weekend, I finally got the time (thanks to Enthought) to play with JC's work. I figured out how to get the wheels working on OS X. With this, in principle, we could build VTK wheels on all the major platforms.

We decided to try and push wheels at least for the major VTK releases. This in itself would be a massive improvement in making VTK easier to install. Over the last few days, I have built wheels on Linux, OS X, and Windows. All of these are 64 bit wheels for VTK-8.1.0.

Now, VTK 8.x adds a c++11 dependency, and so we cannot build these versions of VTK for Python 2.7 on Windows.

So now we have 64 bit wheels on Windows for Python versions 3.5.x and 3.6.x.
Unfortunately, 3.4.x required a different Visual Studio installed and I lost patience setting things up on my Windows VM.

On Linux, we have 64 bit wheels for Python 2.7.x, 3.4.x, 3.5.x, and 3.6.x.

On MacOS, we have 64 bit wheels for Python 2.7.x, 3.4.x, 3.5.x, and 3.6.x.

So if you are using a 64 bit Python, you can now do

   $ pip install vtk

and have VTK-8.1.0 installed!

This is really nice to have and should hopefully make VTK and other tools a lot easier to install.

A big thank you to JC, the other Kitware developers, the VTK Python developers, especially David Gobbi who has worked on the VTK Python wrappers for many many years now,  for making this happen. Apologies if I missed anyone but thank you all!


Thursday, December 1, 2011 2011 coming soon to IIT Bombay

If you aren't aware of it yet, 2011 is just round the corner.
This year it is going to be held at IIT Bombay's new Victor Menezes
Convention Center (VMCC).  We have conference talks on 4th and 5th and
tutorials on 6th and 7th.  We have invited several key people from
the "scientific computing with Python" community.  We have an awesome set
of talks and tutorials.  Eric Jones from Enthought is our keynote

In 2009 and 2010 we did workshops on basic scientific computing with
Python.  This year our tutorial track features several advanced topics
including, image processing, machine learning, symbolic computing,
mapping and geoprocessing, Traits/TraitsUI, Mayavi, Sage and Cython.

If you wish to attend the conference,  feel free to drop in and attend,
free of cost -- but you'll miss out on the awesome food, t-shirt and
other goodies if you do not register.  It would be best if you did
register though.

The main organizers of 2011 are FOSSEE.  Enthought (India) is
also helping organize the conference.  MHRD and Enthought are our
financial sponsors and we are grateful to them for their continued

Given the nature of the talks, the tutorials, the location, you are
going to miss out if you choose to not attend.  Register before 2nd to
avail of reduced rates.  Spot registration is certainly available but is more

Sunday, November 27, 2011

Enthought ... now in India

Enthought, as most of you (following my blog anyway) know,
is a leading scientific computing solutions provider and an extra-ordinary
champion of scientific computing with Python. Enthought is headquartered
at Austin, Texas and has offices in New York, Cambridge (UK) and Brussels.
Enthought has started a new development office in Mumbai, India. Starting July 2010,
I am taking two years of long leave (lien) from IITB to serve as the
Managing Director of Enthought India. We have a nice office located at the Supreme
business park in Hiranandani, Powai.

We right now have three people (including yours truly) and are looking
for more people. We aim to build a strong development team. We are
currently working on an exciting new product that we will release over
the course of next year. Stay tuned!

If you are a strong Python developer with a penchant for challenging
problems and building scientific computing applications, do send us your

I can be reached on my usual email addresses and my Enthought email is
prabhu at enthought dot com. Possibly the best place to send in resumes is:

FOSSEE updates

The FOSSEE project started in mid 2009 and has been doing fairly well.
We've conducted several Python and Scilab workshops all over India. We
organized two conferences (2009 and 2010) and hosted Sage days
25. This year we are organizing 2011 at IIT Bombay.

We've generated plenty of introductory material on elementary Python for
scientific computing, version control and using GNU/Linux tools. Using
this material we are conducting a "Software development techniques for
engineers and scientists" course at IITB. There are numerous other
initiatives including a textbook conversion project that we are working

Recently, and rather significantly, we've have embarked on an ambitious
effort to train about 650 teachers all over India over five weekends
this month on "Software development techniques for engineers and
scientists". This is part of Prof. Phatak's IIT e-Outreach program
funded generously by the MHRD, India. More details are available here.

The basic idea is that we conduct workshops at IIT Bombay and the
lectures are streamed online. Students are able to interact with the
faculty via the internet. We are very excited about this since this
allows us to reach out to a large number of people in one shot. It is
also a tad scary since the numbers are so large. So far it has worked fairly well.

I did write a simple Django based application to take online exams and automatically
grade the submitted solutions and will probably talk about that in more detail
at a future point.

... and they lived happily ever after

It has been two years since I blogged about anything significant. A lot
has happened and I thought I might as well give everyone a news update.

In November 2009, Kadambari Devarajan (KD) and I were married. I'm not
getting into the details here but in short, she stole my heart, I
proposed, we were married in November and we lived happily ever after.

The marriage ceremony was smooth and memorable thanks in very little
part to the two of us. My parents organized a wonderful, short and
thoughtful marriage ceremony and KD's parents a wonderful reception. We
cannot thank our parents enough! My cousins thoughtfully organized and
hosted a mehendi party which was very memorable. The support of our
siblings at this time was touching. Close friends and relatives
travelled from far and wide to attend the marriage and made it very
special for us. Many friends and relatives offered us their advice,
support and help. Many of you attended the wedding at short notice and
showered us with gifts and good wishes. Our heartfelt thanks to one and

Ever since, KD and I have been extremely happy together. Life has
changed in many ways. We've travelled the world (the picture above was
at Yosemite, courtesy Jarrod Millman), done many things together and
are having a wonderful time. Thanks again to all of you who got
us together. :)

Sunday, August 28, 2011

Horrible service from Cleartrip

It has been ages since I blogged but I'm sufficiently pissed by some of the worst service I have ever received that I feel compelled to complain somewhere.

I've been using Cleartrip for booking tickets online for more than 4 years IIRC and have done enough business with them that they once sent me a vase of flowers. I like their website and the online experience has been very good. I've personally recommended them to friends.

I had to make a visit to Austin this summer to visit the Enthought US office. The ordeal begins there. I made a booking from Mumbai to Houston and back for 23rd July but since the booking was last-minute, the online booking didn't make it and I was called by their phone department. After a round of discussion back and forth (I was booking tickets for for both me and my wife, KD) over a day or so we finally got a good deal. I was told the ticket is confirmed but the next day I was called by cleartrip to say that my ticket was cancelled by the airline! KD's ticket was fine! So, I had to book in the next available ticket category which entailed a roughly 60% increase in fare for myself. I figured that was the least hassle given all of the logistic constraints and went ahead. As usual, they wanted the full cash before issuing the confirmed ticket so I did a bank transfer to them to pay. I had to do this twice given that the fares were changed. This whole process took a good part of two days -- phone calls, discussion, online transfer, confirmation cancellation, rebooking etc. Anyway at this point I had received the a new ticket, but only the original invoice for the charges. I never received an invoice for the updated booking. I needed to provide an invoice for my flight to claim any reimbursements. I called their office twice to ask for the invoice. I was promised twice but nothing ever came.

Once this was done, we found that KD couldn't get a visa for reasons I won't explain here. Now we had to cancel her ticket alone, which I again did. Turns out that cleartrip's phone service is not connected to their online service, so all that you do on the phone transaction never shows up on their website. This is a huge pain for you have to go through the IVR and phone service for nearly anything. They don't even seem to have an email based service. Anyway, I asked again for the invoice and was upset that they didn't send it and expressed the same. I was assured again but it was an empty assurance.

As it is, I was upset that the confirmed ticket was cancelled and that I had to pay a lot more. I had called thrice for an invoice and nothing was sent. I left for Houston on the 23rd and KD called them again (about 10-20 times when she was roaming) during the next week asking about the invoice and the cancellation. Nothing. The staff were polite but nothing got done and we had no news. They apparently needed my account number even though I had done a bank transfer but never bothered to ask me about it before I left. KD didn't have it handy and they said they'd do the transfer. They got an earful from KD too but it was all useless.

I was livid about not being sent the invoice after this long and finally called them from the US on my mobile. I was really upset and was being assured again and was being given some random lame excuses about this. I escalated the matter to the supervisor who also got an earful and promised to follow up. He called me back the next day (and left a message) and in a day or so I finally received my invoice! Phew.

The agony doesn't end here. I still had no sight of my cancelled ticket refund and had no way of knowing how much I was owed, I had no proper bill, and no information on what was being done. I was promised in the cancellation confirmation email that I'd receive the exact refund amount but didn't get that either. Nothing. No news and they had a lot of my money and a return flight to the US isn't cheap!

They did call KD in the meanwhile and she told them to process the payment. After I returned I was called on 25th August. I was eating lunch and they asked me for my account number again. I asked to be called back in an hour since I didn't have it handy. I never heard from them until I called them on 28th and spoke to two supervisors and really gave it to them. They finally got my account number and I hope they make the transfer. Apart from apologies on the phone, they haven't done anything to make amends.

In all, every step of the way was badly handled. Cleartrip has a nice website but their phone department is a complete mess. They've lost a customer.

Friday, October 2, 2009

SciPy India conference in Dec. 2009

I'm excited to announce that the first "Scientific Computing with Python" conference in India ( will be held from December 12th to 17th, 2009 at the Technopark in Trivandrum, Kerala, India.

The theme of the conference will be "Scientific Python in Action" with respect to application and teaching. We are pleased to have Travis Oliphant, the creator and lead developer of numpy as the keynote speaker.

Here is a rough schedule of the conference:

Sat. Dec. 12 (conference)
Sun. Dec. 13 (conference)
Mon. Dec. 14 (tutorials)
Tues. Dec. 15 (tutorials)
Wed. Dec. 16 (sprint)
Thu. Dec. 17 (sprint)

The tutorial sessions will have two tracks, one specifically for teachers and one for the general public.

There are no registration fees.

Please register at:

The call for papers will be announced soon.

This conference is organized by the FOSSEE project funded by the Ministry of Human Resources and Development's National Mission on Education (NME) through Information and Communication Technology (ICT) jointly with SPACE-Kerala.