yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #08658
[Question #240035]: importing a cython module
New question #240035 on Yade:
https://answers.launchpad.net/yade/+question/240035
Hi all,
i want transfer some functions for motion and analysing to a (faster) cython coded module (shared opject motion.so). so that's an easy excercise. but while importing to yade, ther is an problem.
the module motion.so is placed in the same directory as the yade model file.
import motion
ImportError: No module named motion
same problem, i want to import other .py
curiously importing .pyc files works after a sys.path.append("./"), but not .py
it seems like a "path" error, yade looks wrongs path to find my motion.so?
Matthias
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.