January 18, 201016 yr I have a python script I want to run via cron on my unraid server. I don't know much of anything about Linux, but I remember a tiny bit from some of the unRaid addons I've used in the past. I have downloaded Python-2.6.4.tgz.tar. If I remember correctly, I need to put a line in my go file that installs this on every boot using the installpkg command. But doesn't it need to be just a .tgz file and not a compressed .tar file though? How do I decompress it? Also, are there any other packages or steps I need to make this work?
January 18, 201016 yr I have downloaded Python-2.6.4.tgz.tar. You don't need that. That's probably the source code. Just get the slackware package: ftp://slackware.osuosl.org/pub/slackware/slackware-current/slackware/d/python-2.6.4-i486-1.txz You install it with: installpkg /path-to-where-you-put-the-package/python-2.6.4-i486-1.txz If you want that to be automatically installed upon reboot, then put the above lines at the end of your 'go' script. (located in the config folder on your flash key)
January 19, 201016 yr Author Thanks. That seemed to work. When I tried to run the script, I got the following message: ImportError: libsqlite3.so.0: cannot open shared object file: No such file or directory I assume that means I need to install that library. How do I go about that?
January 19, 201016 yr Thanks. That seemed to work. When I tried to run the script, I got the following message: ImportError: libsqlite3.so.0: cannot open shared object file: No such file or directory How do I go about that? Apparently, your script also needs sqlite. So, same as with the other package... ftp://slackware.osuosl.org/pub/slackware/slackware-current/slackware/ap/sqlite-3.6.14.2-i486-1.txz
January 19, 201016 yr And, if it turns out that it needs yet more packages, then search for them here: ftp://slackware.osuosl.org/pub/slackware/slackware-current/slackware/PACKAGES.TXT
Archived
This topic is now archived and is closed to further replies.