Older software version requires Python 2.5 to run.
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Older software version requires Python 2.5 to run.
Hi, I'm running Linux Mint 64 which is a derivitive of Ubuntu, itself a derivitive of Debian.
I need to run an older version of Blender (2.49b) which is compiled with Python2.5. Starting Blender generates the following error:
Code:
dave@Pippin~/Apps $ blender2.49/blender
blender2.49/blender: error while loading shared libraries: libpython2.5.so.1.0: cannot open shared object file: No such file or directory
I have Python2.6, Python 2.7 and Python 3.2 installed on the system.
I have downloaded Python 2.5.4 and installed it from source using configure, make and make install as the apt-get package repository no longer provides this.
Can anyone suggest a way to make Pthon2.5 available to Blender?
an older version of python can be installed along side a current version BUT YOU MUST take care NOT TO MIX them together !!!
install 2.5 into it's OWN folder something like /usr/opt/python25
then point blender 249 to use that version
you might need to write a start up shell script to export that location of the python2.5 to blender.
Quote:
configure, make and make install
it you did that you just messed up your system BIG TIME
you replaced the current and NEEDED version with a old and compatible version
NOT GOOD
you might have FUBARED the system
run
Code:
make uninstall
from the 2.5 folder and manually force the reinstall of the correct python from the repo
for the location i posted above ( /usr/opt/python25)
the commands would have looked something like this
Code:
cd /location/of/python25/
./configure --prefix= /usr/opt/python25 /* fallowed by about 1 to 10 other build options */
make -j2 ( or use j4 if a quad core cpu or -j8 if you have 8 cores in the cpu )
su
make install
you might want to get into the HABIT of READING the output of this first
Bearing in mind that all the versions of Python are completely incompatible with each other and, bearing in mind that, even before I FUBARRED my system (which I've yet to see any evidence of, by the way), there were three different versions of Python running side by side, then it strikes me that there should be a way of installing an additional version without interfering with those instances of Python.
Or am I giving rather too much credit to the developers? I certainly never saw any warning on the Python website (which certainly doesn't mean that it isn't there).
Furthermore, if there are three different versions of Python running on my system, then surely they are there because software incorporated into the distro requires a specific version to run? Which would imply that there should be a way of specifying which version that software should be using.
The version of Blender 2.49 is the 64 bit with Python2.5 tar files. The deb files would not install because of the existence of Blender 2.5 on the machine.
The Python2.6 version works, but complains of missing os module when I run the plugin:
Code:
import sys, os
ImportError: No module named os
Google suggests that changing to Python 2.5 will remedy this.
Wherever and however you install, you have to adapt the startup script that Blender uses, in order to use the right interpreter. This is normally easy, but people can also mess things up and make it hard.
However Pythonbrew installation fails with the following error:
Code:
curl -kL http://xrl.us/pythonbrewinstall | bash
Traceback (most recent call last):
File "/usr/lib/command-not-found", line 17, in <module>
from CommandNotFound.util import crash_guard
ImportError: No module named CommandNotFound.util
Wherever and however you install, you have to adapt the startup script that Blender uses, in order to use the right interpreter. This is normally easy, but people can also mess things up and make it hard.
Can you let me have some more information on this?
Where is the blender startup script? What is it called?
Funny, but searching Google gives me no answers on this (apart from "right-click on the My Computer icon" and various other Microsoft fixes); I must be using the wrong search keywords.
I know nothing about blender. If is is pure Python, it WILL have a startup script. If it is C and EMBEDS an interpreter, then your original error means your LD_LIBRARY_PATH needs tweaking, and "ldd" is your friend.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.