New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportPython UDFs Error #494
Comments
Did you unzip the zip file before trying the example? Also, when you open a command prompt and type the following, does it all work?
|
The file is unzip and your previous command work. |
Does the Fibonacci sample work? |
When I click on "ImportPython UDFs" I have the same error. When I click on the "Lite" button from Fibonacci, I get the following error message:ErrorTraceback (most recent call last): Press Ctrl+C to copy this message to the clipboard.OK |
sorry for the police |
Looks like it's going against an xlwings version < 0.7.2? Do you have multiple installations of Python? |
I have only the version 2.7 |
I wonder if python and excel bitness (32 or 64 bit) have to match for this On Wed, Jun 22, 2016 at 9:28 AM, Nick Edwards notifications@github.com
|
No, nothing to do with the bitness as things run out-of-process. xlwings supports a mix of any version of python with any version of Excel and any version of Windows. |
@nedwardsnae check if a reboot of Windows helps. Also check if you get the same errors when do run the udf sample and hit |
an idea to solve the problem ? |
@davidl5 can you past the full path to your Python interpreter under |
@nedwardsnae this works for you as follows in a command prompt?
|
I have an error almost similar: ErrorTraceback (most recent call last): Press Ctrl+C to copy this message to the clipboard.OK |
@davidl5 so there seem to be 2 issues: (1) the python installation that you want does not have xlwings installed and (2) the default python installation is also different from the version you want. You would need to put the python installation that you want on your path and make sure it has xlwings installed. My suggestion would be to simply reinstall Anaconda and make sure you have the checkboxes on the last installing step checked, see here |
@nedwardsnae can you please also check if you get the same error by pointing |
Oops - sorry for wasting your time @fzumstein. It seems that Python 3 was in my system path, and while running python in my command line invoked the 2.7 version, process monitor was showing the pythonw.exe from my python 3 installation being run. The excel plugin now works fine having removed that version from my path. Sorry and thanks for the help! |
@davidl5 maybe this has to do something with French :) what is the full filename in the error? |
[Error 2] The specified file can not be found. |
@davidl5 does the file path contain any non ascii characters like |
'u' is for unicode strings. On Thu, Jun 23, 2016 at 7:43 AM, davidl5 notifications@github.com wrote:
|
What path do you get if you do the following in a command prompt:
|
'C:\Users\levydav\AppData\Local\Continuum\Anaconda2\python.exe' |
When you do the following, what do you get?
|
'0.7.0' |
do you have any idea please ? |
did you try v0.7.2? |
Looks like a bit of progress to me... can you try again with a fresh download of an unzipped UDF sample from the homepage? Alternatively, can you send me your Workbook and py file please? Email is on my profile. |
it's works !!! |
Hello
I am a beginner in Python.
I tried to execute a sample file called "udf.xlsm" to understand xlwings but I get an error message every time (see below) : [Error 2] The specified file can not be found
Can you help me to solve this issue ?
Thank you for your help.
David
The text was updated successfully, but these errors were encountered: