Use python modul

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
zoidberg
Posts: 34
Joined: Mon Nov 18, 2013 2:59 pm

Use python modul

Post by zoidberg »

I installed Python 2.7 to c:\Python27.

I installed pyodbc (sql modul) via pip.

I can't load this modul in freecad?
I have setup windows environment path to
C:\Python27\Lib;C:\Python27\DLLs;C:\Python27\Lib\lib-tk;C:\Python27\Lib\site-packages;

What am I doing wrong?
zoidberg
Posts: 34
Joined: Mon Nov 18, 2013 2:59 pm

Re: Use python modul

Post by zoidberg »

I had to use Pyhton 2.6.2 as in FreeCAD.

With python 2.6.2 it works!
User avatar
yorik
Founder
Posts: 13665
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Use python modul

Post by yorik »

Yeah with python you always need the same first and middle version number to be compatible (2.6.xxx)
Glad you found the solution!
Post Reply