blender 2.28 on Mandrake Linux problem

Anybody here on Mandrake Linux? I had 2.27 until now, but now decided to upgrade … so, I downloaded
blender-2.28-3mdk.i586.rpm
told me it needed some python library … so I installed
libpython2.3-2.3-3mdk.i586.rpm
unfortuantelly now I get:

[void@GeeAthlon void]$ blender
guessing ‘blender’ == ‘/usr//bin/blender’
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
‘import site’ failed; use -v for traceback
Segmentation fault

what do I need to do?

Uninstall that stupid libpython2.3-2.3-3whatever.rpm thing and go download Python 2.2 from python.org and install it… That is if you don’t have Python version 2.2 in your Mandrake’s installation CD’s…

Remember… Python2.2!!!

O.k.???

Don’t forget to set your $PYTHONHOME environment variable correctly…

I hope this will solve your problem…

Spyros.

One more thing…

If you still encounter problems, you may want to use one of the static binaries of Blender instead of the mdk.rpm, you are using right now…

You will find direct links in the elysiun’s “home” page… Or simply go to www.blender.org

I’ve already got installed python 2.2.2-6 … and if I remove that libpython I get when trying to install the rpm:

error: failed dependencies:
libpython2.3.so.1.0 is needed by blender-2.28-3mdk

… this with 2.2.2-6 installed.

greets & thanks for the help

How do I set (and to what?) that environment variable?
$PYTHONHOME

(I’ve got mandrake 9.1)

Then you got two options:

A) Try to install this Blender.mdk.rpm of your’s with the --nodeps flag, to see if it will work (unlikely…)

B) Don’t use the blender.rpm you’re using…

It will cause you problems…

Go to elysiun home page and download one of the two static binaries…

They work o.k. on Mandrake… I know that cause I got Mandrake 9.0 and I know a couple of users here who they have Mandrake 9.1 and run them with out a problem…

then it must be that $PYTHONHOME thing … any idea how to set it & to what?

Go to this thread:

https://blenderartists.org/forum/viewtopic.php?t=7723

and read eeshlo’s post carefully…

It contains instruction for Linux…

Just replace PYTHONPATH with PYTHONHOME…

I hope this will solve it…

<EDIT>If not, may God have mercy upon my poor soul :frowning: :frowning: :frowning: :stuck_out_tongue:

Just forget my previous post…

open up your .bashrc with a text editor (preferably vi) and add the following lines in the end of the file:

export PYTHONHOME=/usr/bin/python <EDITED>

save and exit the file…
note: Where I use /usr/bin/python, you must fill in the complete path to where the python executable is ion your system…

Then execute:

source .bashrc

or simply logout and relogin…

before doing anything try:

echo $PYTHONHOME

to see if it got it o.k.

Then try to run Blender, to see if everything went o.k.

I hope this will help you…

wow … this is weird … I was editing the .bashrc file … & I added two comands … probably under your guidance … as I wouldn’t have know on my own … since it didn’t work anyway, not with source, not with logout I was about to write here & reply … and I saw your post … only one command … either you’ve edited it in the meanwhile … or some strange stuff is happening (you know … when you see in a movie a person freaking out about being sure it placed something somewhere but it not being there … you think it’s ridiculous … but it can be really disturbing your memory telling you one thing … and reality another … ). By not working earlier I mean the echo gave out nothing.
so, anyway I did it the new way … and now there are fewer errors :stuck_out_tongue:

[void@GeeAthlon void]$ blender
guessing ‘blender’ == ‘/usr//bin/blender’
‘import site’ failed; use -v for traceback
Segmentation fault

originally there was 1-2 lines more in the error :stuck_out_tongue:

well, I guess I should try with the binaries on the blender site? or with the rpm 2.28-2 … I tried with 2.28-3 … any ideas what differences these might have? also: I’ve looked at the new feature list … but i"m too much of a beginner to really realize: will the differences from 2.27 to 2.28 be signifiant enough that I might feel them?

greets & thanks

I must have edited the post in the meanwhile… lol

I’m not stating that I know everything… In this situation I’m the blind leading the blind…

Anyway, let’s get back to business…

The fact that you got less errors the second time, means that the thing worked, at least partially…

I think it is a Python issue, allright… I don’t know if you have the wrong Python version, or we may need to add a few more directories to the $PYTHONPATH variable… You could try for example to add your $PYTHONPATH into the $PYTHONHOME like this:

export PYTHONHOME=/usr/binpython:$PYTHONPATH

(that is if you have setup your $PYTHONPATH correctly…) and see if it solves any problems…

I say that if you download the bins from the blender site, they’ll work as they have worked for all of us, but then again it’s your call… If you want to solve this mystery with me I’m with you…

In any case keep me informed… :smiley:

Spyros.

ummm … sorry … but i"m a bit confused. You said:

export PYTHONHOME=/usr/binpython:$PYTHONPATH

(that is if you have setup your $PYTHONPATH correctly…)

I don’t know what what $PYTHONPATH should be then … right now I’ve got

export PYTHONHOME=/usr/bin/python:/usr/lib/python2.2

in .bashrc … echo $PYTHONPATH gives nothing so it’s not set … so I’ve got neither set :stuck_out_tongue:
I see I could set PYTHONHOME from PYTHONPATH … but I don’t have the later.

greets &thanks

LOL as I said a couple of posts earlier…

Go to this thread:

https://blenderartists.org/forum/viewtopic.php?t=7723

and read eeshlo’s post carefully…

It contains instruction on how you can setup your $PYTHONPATH in Linux…

Also becarefull… You say /usr/lib/python2.2 over there… But this is not your case… you have python2.3 I guess… correct the mistake… I was giving you an example… You have to use your own versions…

If not, may God have mercy upon my poor soul :frowning: :frowning: :frowning: :stuck_out_tongue: LOL

I checked and there really is a folder called /usr/lib/python2.2 so that’s right …
about the link … at one point you said that I should ignore what you said earlier and just do waht you’re saying now … so I never read it :stuck_out_tongue:

Then i guess that’s what is causing all the trouble to you…

You use an rpm, which is meant to work along with Python2.3 or something and yet you actually have python2.2 on your system!!! You got a Python version conflict…

try from a shell the command:

whereis python

and tell me if it lists a /usr/lib/python2.3.something as well…

If it does, you just have to change the line to python2.3.something…

Also you will have to set your PYTHONPATH, so that it will include only the /usr/lib/python2.3 and it’s subdirectories and this should probably fix the problem for you…

If not:

1)upgrade to python2.3 and set your $PYTHONPATH and $PYTHONHOME accordingly…

  1. Forget the whole issue, download the binaries from blender.org which work with python2.2 and live happilly ever after… :smiley:

That’s all for now…

I’ll let you think…

I may return in a couple of hours or something…

Maybe you’ll have good news for me… :smiley:

Spyros.

ok, I’ve checked out that link … modified the paths to match the folders tha I have and this is what I now have:

export PYTHONPATH=/usr/local/lib/python2.2:/usr/local/lib/python2.2/plat-linux-i386:/usr/local/lib/python2.2/lib-tk:/usr/local/lib/python2.2/lib-dynload:/usr/local/lib/python2.2/site-packages
export PYTHONHOME=/usr/bin/python:$PYTHONPATH

… but still:

[void@GeeAthlon void]$ blender
guessing ‘blender’ == ‘/usr//bin/blender’
‘import site’ failed; use -v for traceback
Segmentation fault

maybe it’s this: libpython2.3-2.3-3mdk package ? I’ll try with another package … but at the same time I’ve tried downloading the binaries from the official download site (not static) … here blender starts right … but it always gives this start error:

Error: file “.Blanguages” not found

also, where should this package be unpacked exactly? where do u recomend?

The libpython2.3-2.3 thing would be one of the things that is causing you the problems…

uninstall it and give it another try with out it and the static version of blender binaries from Blender.org

Since you have python2.2 it should work allright…

check this out … I thought about the version problem … so I donwloaded a 2.2 lib and tried to install that

[root@GeeAthlon 2.28]# rpm -ivh libpython2.2-2.2.2-6mdk.i586.rpm
Preparing… ########################################### [100%]
package libpython2.2-2.2.2-6mdk is already installed

… so it seems it was already installed … (I uninstalled the 2.3 version) … but now I get:

[root@GeeAthlon 2.28]# rpm -ivh blender-2.28-3mdk.i586.rpm
error: failed dependencies:
libpython2.3.so.1.0 is needed by blender-2.28-3mdk

… go figure :stuck_out_tongue:

this is what I get

[void@GeeAthlon void]$ whereis python
python: /usr/bin/python /usr/bin/python2.2 /usr/lib/python2.2 /usr/share/man/man1/python.1.bz2

… I didn’t udnerstnad the rest of your explanation …
so maybe I’ll just give this up and try with the binaries I just downloaded? Maybe you can clarify me on that error (it’s a tiny inconvenience … but still) … and where do you install such stuff?

[quote=“Timonides”]

The libpython2.3-2.3 thing would be one of the things that is causing you the problems…

uninstall it and give it another try with out it and the static version of blender binaries from Blender.org

Since you have python2.2 it should work allright…[/quote]
I’ve uninstalled libpython23 … both the static & non static versions give the error … do you think it’s serious? doesn’t look like it. If worse comes to worst I could live with it … just pressing an enter … not as neat … but it’s ok … but I should go for the non-static binaries, right (the static ones don’t have hardware acceleration if I understand right)