• Python time!

    From dpiazza@21:4/107 to All on Thu Dec 28 17:03:42 2017
    Hello,

    Playing wround with Phython.... I seem to keep getting these error messages:

    ImportError: /user/lin64/python2.7/lib/dynload/math.so: undefined symbol

    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?

    Thank you!

    -=D=-
    "The Hub BBS"
    thehubbbs.ddns.net:23
    fsxNet: 21:4/107

    --- Mystic BBS v1.12 A36 2017/12/03 (Linux/64)
    * Origin: The Hub BBS, New Brunswick, NJ USA (21:4/107)
  • From Avon@21:1/101 to dpiazza on Fri Dec 29 11:16:08 2017
    On 12/28/17, dpiazza pondered and said...

    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 :)

    --- Mystic BBS v1.12 A37 2017/12/27 (Windows/32)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From dream master@21:1/163 to dpiazza on Thu Dec 28 14:18:32 2017
    On 12/28/17, dpiazza said the following...
    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?

    no you add that to your windows environment like this.

    http://www.dreamlandbbs.org/python-setting/

    also you must use the python that matches your mystic. 32b mystic = 32 python.. 64b = 65b python.

    |08 .|05ú|13ù|15Dr|07e|08am Ma|07st|15er|13ù|05ú|08.
    |08 øù|05ú|13ùø |13øù|05ú|08ùø
    |11 DoRE|03!|11ACiDiC|03!|11Demonic |08[|15dreamland|09.|15darktech|09.|15org|08]

    --- Mystic BBS v1.12 A36 2017/12/03 (Windows/64)
    * Origin: |08--[|15!|07dreamland BBS dreamland.darktech.org (21:1/163)
  • From dpiazza@21:4/107 to Avon on Thu Dec 28 20:21:24 2017
    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?

    Thank you! :D

    -=D=-
    "The Hub BBS"
    thehubbbs.ddns.net:23
    fsxNet: 21:4/107

    --- Mystic BBS v1.12 A36 2017/12/03 (Linux/64)
    * Origin: The Hub BBS, New Brunswick, NJ USA (21:4/107)
  • From Avon@21:1/101 to dpiazza on Sat Dec 30 20:52:42 2017
    On 12/28/17, dpiazza pondered and said...

    I am going to set that in the script file right?

    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 :)

    --- Mystic BBS v1.12 A37 2017/12/28 (Windows/32)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From Static@21:2/140 to dpiazza on Sun Dec 31 00:39:10 2017
    On 12/28/17, dpiazza said the following...

    ImportError: /user/lin64/python2.7/lib/dynload/math.so: undefined symbol

    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?

    --- Mystic BBS v1.12 A36 2017/12/03 (Linux/64)
    * Origin: Subcarrier BBS (21:2/140)
  • From dpiazza@21:4/107 to Avon on Sat Jan 6 20:00:22 2018
    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 :)


    No worries! Thank you!

    -=D=-
    "The Hub BBS"
    thehubbbs.ddns.net:23
    fsxNet: 21:4/107

    --- Mystic BBS v1.12 A36 2017/12/03 (Linux/64)
    * Origin: The Hub BBS, New Brunswick, NJ USA (21:4/107)
  • From dpiazza@21:4/107 to Static on Sat Jan 6 20:01:58 2018
    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?


    Hello!

    You know what... that is a good question. I need to take a look at the
    code.... I will reply ;)

    -=D=-
    "The Hub BBS"
    thehubbbs.ddns.net:23
    fsxNet: 21:4/107

    --- Mystic BBS v1.12 A36 2017/12/03 (Linux/64)
    * Origin: The Hub BBS, New Brunswick, NJ USA (21:4/107)