ericremoreynolds / excelpython

An open source, easy to use interface for calling Python code from Excel
http://ericremoreynolds.github.io/excelpython
BSD 2-Clause "Simplified" License
234 stars 58 forks source link

Problem upgrading from 2.0.6 to 2.0.8 #39

Closed EricE closed 9 years ago

EricE commented 10 years ago

Hi Eric, I just tried upgrading using the zip file option and when I try to Import Python UDFs I get an error when it tries to import one of the libraries in my code. I run in a virtualenv and only have that library installed in the virtualenv, not my main Python install. All the libs prior to it are standard Python libs.

I upgraded by overwriting the existing xlpython.xlm with the new one, zipped up the old files in the xlpytion directory, dragged in the new files. Opened xlpython.xlm, ran Setup ExcelPython and clicked on Import Python UDFs and got this error: http://i.imgur.com/lNaIaG2.png

I successfully rolled back by putting back the 2.0.6 xlpython.xlm, restored the files in the xlpython directory and I'm up and running.

This is Win 7, 32 bit Python, 2.7.5.

I tried diffing some of the files between the two releases but there isn't anything obvious to me.

Thanks, Eric

ericremoreynolds commented 10 years ago

Just a quick question: did you reconfigure the xlpython.cfg file? This may have been overwritten back to the default .cfg file which points to the python distrib found on the path. Eric.

EricE commented 10 years ago

Hi Eric, Good call, I had made the changes to the cfg file but when I was closing down I noticed I hadn't saved the changes but the reason for the change to the python path didn't click. Works now :)

Thanks again for your tremendously quick response, Eric