I took a look at the Mystic Wiki and it says that I need to set up environment variables.
SET PYTHONHOME
SET PYTHONPATH
SET PATH
Is that a setting in Mystic or do I enter that in to my script?
Hello,
Playing wround with Phython.... I seem to keep getting these error messages:
I took a look at the Mystic Wiki and it says that I need to set up environment variables.
SET PYTHONHOME
SET PYTHONPATH
SET PATH
Is that a setting in Mystic or do I enter that in to my script?
Set the first two as system vars in your OS pointing to your Python27 directory. Also set in your OS path the directory for Python27 install
.. in my windows 7 case it's added to the PATH variable :)
I am going to set that in the script file right?
ImportError: /user/lin64/python2.7/lib/dynload/math.so: undefined symbol
I would check python.txt in your mystic docs... fairly sure it's
explained there. I'm not overly familiar with Linux to be able to advise
- sorry. But someone else may chime in :)
This doesn't look like a path error. If you installed Python from your distro's repository then the libs should be in a default location that Python already knows to search without needing any path variables set.
It looks to me like Python knows exactly where to find the shared
objects (it did find math.so), but the code it was looking for doesn't exist. It could be that you simply don't have a required module
installed. What is the actual symbol it can't find?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 294 |
Nodes: | 16 (2 / 14) |
Uptime: | 244:05:04 |
Calls: | 6,626 |
Calls today: | 2 |
Files: | 12,175 |
Messages: | 5,320,335 |