This entry was posted on 日曜日, 11月 11th, 2007 at 17:41:05 and is filed under Maya, 日記. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.


python(maya)でimport
mayaのpythonでモジュールを標準のscriptsパス以外から読み込む場合
環境変数PATHに追加指定しないといけない。
例えばvector.pyをc:\temp\pythonに置いた場合
path=%PATH%;c:\temp\pythonに設定すれば
import vector
が実行できる
PYTHONPATHに追加しても何も起こらなくて
ちょっとはまったのでメモ。
Leave a Reply
