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 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:
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 for the location i posted above ( /usr/opt/python25) the commands would have looked something like this Code:
cd /location/of/python25/ Code:
./configure --help |
Hi, John, thanks for your help.
The machine is specifically for running this software; if it's FUBARRED, then that's tough. My option will be to scrub it and start again. make uninstall produces the following error: Code:
make uninstall My original question remains unanswered, namely how to point the Blender 2.49 at the 2.5 Python install. |
I am running 2.6.1 right now so (python 3.2)
there should be a start up script in ~/.blender the 2.5 and 2.6 blender have them in ~/.blender/2.5 or ~/.blender/2.6 Quote:
the folder that you ran "make" in also what version of 2.49 is this ?There are 4 linux versions http://download.blender.org/release/Blender2.49b/ and all have the 2.5 python already in the archive or is this the very old .deb file for ubuntu 9.04 |
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. Which is actually what I want to know. |
Hi, John thanks again for your assistance.
I changed to the build folder and ran make uninstall and indeed, I got that message. I have run ./configure --prefix /usr/opt/python2.5 as you suggested from the same directory without error. |
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 |
Quote:
Code:
make -j2 Code:
python -v |
The easiest way to install and manage additional Python versions is https://github.com/utahta/pythonbrew
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. |
Nice idea.
However Pythonbrew installation fails with the following error: Code:
curl -kL http://xrl.us/pythonbrewinstall | bash |
Quote:
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.
|
All times are GMT -5. The time now is 10:54 AM. |