-  Thu Nov 26, 2020 9:56 pm
					 #400290
						        
										
										
					
					
							Hello
Again i try to use Pymaxwell with Rhino grasshopper
I copy _pymaxwell4.pyd and _pymaxwell4.py
from C:\Program Files\Next Limit\Maxwell Render 4\python\pymaxwell4\python2.7
to C:\Python27\Lib\site-packages\pymaxwell
and rename _pymaxwell4.py to __init__.py
than i try to import pymaxwell : from pymaxwell4 import *
but i always got error :
---------------------------------------------------------------------------------------------------------------------------------
Grasshopper use ironpython 2.7 , i don't know if this is the problem and no error message about this
					
										
					  															  										 
					 
					 
					  					                Again i try to use Pymaxwell with Rhino grasshopper
I copy _pymaxwell4.pyd and _pymaxwell4.py
from C:\Program Files\Next Limit\Maxwell Render 4\python\pymaxwell4\python2.7
to C:\Python27\Lib\site-packages\pymaxwell
and rename _pymaxwell4.py to __init__.py
than i try to import pymaxwell : from pymaxwell4 import *
but i always got error :
Code: Select all
if i use  _pymaxwell4.py and Runtime error (ImportException): No module named pymaxwell4
Traceback:
  line 3, in scriptCode: Select all
Grasshopper freeze and Rhino force closedimport sys
sys.path.append('C:/Python27/Lib/site-packages/pymaxwell')
from _pymaxwell import *---------------------------------------------------------------------------------------------------------------------------------
Grasshopper use ironpython 2.7 , i don't know if this is the problem and no error message about this


 - By Forum Moderator
 - By Forum Moderator