Hi Ruchit,

Even after following all the steps which you have mentioned above, i am 
still getting the same error.. Can you please help me figure out this thing.


<https://lh3.googleusercontent.com/-5h0c3n9UAQw/Wv4tGyxVd2I/AAAAAAAAC3Y/gM43y3gx9T4HpI6nAvtNuvpjqDWGSWdUwCLcBGAs/s1600/Capture.PNG>

I am using Maya2015 64bit and the mayapy version is " *Python 2.7.3 
(default, May  8 2013, 09:43:48) [MSC v.1700 64 bit (AMD64)]  "*

*cython was installed successfully *

<https://lh3.googleusercontent.com/-kDeGA8piugo/Wv4uABbd2CI/AAAAAAAAC3g/frmxxK5XgHgUQv246gnFQcJdwQfItR0HACLcBGAs/s1600/Capture3.PNG>





On Friday, December 1, 2017 at 11:32:40 PM UTC+5:30, Ruchit Bhatt wrote:
>
> Using below code i am able to convert *.py to *.pyd. And script editor are 
> also importing properly. Now tell me how to extract *.egg ? so that i can 
> use cython without
> sys.path.append...Will do more test with PyQt/Pyside. I hope it will work 
> fine. 
> Thank you
>
> import sys
> sys.path.append("C:\Program 
> Files\Autodesk\Maya2017\Python\Lib\site-packages\Cython-0.27.3-py2.7-win-amd64.egg"
> )
>
> import cython
> from distutils.core import setup
> from distutils.extension import Extension
> from Cython.Distutils import build_ext
>
> setup(
>     cmdclass = {'build_ext': build_ext},
>     ext_modules = [
>         Extension("randomNumber", ["randomNumber.pyx"]),
>         Extension("additionNumber", ["additionNumber.pyx"]),
>     ]
> )
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/4704a847-b357-40ad-8010-a61edb65c4b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to