it gives this "Cannot Initialize Python, press a key" error.Do other scripts fail too?
I can call python from any dir in a command prompt and from the Windows se bar. Any help would be appreciated. Let me know if you would need more specific information.
opicron wrote to Vorlonze <=-
it gives this "Cannot Initialize Python, press a key" error.
I can call python from any dir in a command prompt and from the Windows se bar. Any help would be appreciated. Let me know if you would need more specific information.
Do other scripts fail too?
I think it might be failing on of the included modules.Do other scripts fail too?No, I have not had any other issues with python. Mystic calls other scrri without issue.
Just iChat.
it gives this "Cannot Initialize Python, press a key" error.
I can call python from any dir in a command prompt and from the Windo bar. Any help would be appreciated. Let me know if you would need mo specific information.
Do other scripts fail too?
No, I have not had any other issues with python. Mystic calls other scrri without issue.
Just iChat.
I don't know where to look in irc.mpy to see where its failing, if there a all. I dont't have any experience
with python.
opicron wrote to Vorlonze <=-
it gives this "Cannot Initialize Python, press a key" error.
I can call python from any dir in a command prompt and from the Windo bar. Any help would be appreciated. Let me know if you would need mo specific information.
Do other scripts fail too?
No, I have not had any other issues with python. Mystic calls other scrri without issue.
Just iChat.
I don't know where to look in irc.mpy to see where its failing, if there a all. I dont't have any experience
with python.
I only get Cannot Initialize Python when the /usr/local/lib/libpython2.7.so file cannot be found.
Do you have the libpython2.7.so file available on your distribution? It doesnt matter if python runs in command line, you need this link
library for Mystic.
I am sure that other .mpy script fail too because of this. Please
check.
opicron wrote to Vorlonze <=-
Do other scripts fail too?No, I have not had any other issues with python. Mystic calls other scrri without issue.
Just iChat.
I think it might be failing on of the included modules.
Are the following modules installed with PIP?
socket, traceback, threading, ConfigParser
opicron wrote to Vorlonze <=-
it gives this "Cannot Initialize Python, press a key" error.
I can call python from any dir in a command prompt and from the bar. Any help would be appreciated. Let me know if you would ne specific information.
Do other scripts fail too?
No, I have not had any other issues with python. Mystic calls other without issue.
Just iChat.
I don't know where to look in irc.mpy to see where its failing, if th all. I dont't have any experience
with python.
I only get Cannot Initialize Python when the /usr/local/lib/libpython2.7.so file cannot be found.
Do you have the libpython2.7.so file available on your distribution? doesnt matter if python runs in command line, you need this link library for Mystic.
I am sure that other .mpy script fail too because of this. Please check.
I did a search of the Python27 dir and it said not found.
I ran py -2.7 -m pip install libpython2.7.so and get a bunch of errors, retrying, ERROR: Could not find a version that satifies the requirement libpython2.7.so (from versions: none), Error: No matching distribution fou for libpython2.7.so and finally InsecurePlatformWarning with could not fet URL https://pypi.org/simple/pip/: There was a problem confirming the ssl cert.....
missing anything?
Yeah, I think you didnt install the dynamic Python 2.7 library. For examples of Ubuntu 22.04 and 24.04 please check this github:
https://github.com/opicron/mysticbbs
The Dockerfiles contain the commands how I build my Python enviroment? What Linux (or Windows) are you on? If not Ubuntu, please search for how to install Python 2.7 dynamic library on your distribution.
missing anything?
No, if these are available we only miss the dynamic Python library which Mystic uses to execute scripts.
Windows. Thank you I will do that. But off to work now.
Again, thanks
Windows. Thank you I will do that. But off to work now.
Again, thanks
On windows I haven't any first hand experience, but this wiki page explains it all I think:
https://wiki.mysticbbs.com/doku.php?id=python_install
Sysop: | smooth0401 |
---|---|
Location: | New Providence, NJ |
Users: | 4 |
Nodes: | 4 (0 / 4) |
Uptime: | 154:32:10 |
Calls: | 292 |
Files: | 474 |
Messages: | 46,183 |