You are not logged in.

#1 2014-04-02 08:24:12

Depado
Member
Registered: 2013-02-28
Posts: 49

Python upgrade and virtualenv issue.

Hi,

I recently upgraded my whole system and it seems that python 3.3 was completely removed and replaced with 3.4.
I'm ok with that since it's the expected workflow. Except that when I'm in my virtualenv I can no longer use python 3.3.

⌁ [hellsing:/ … /xxxxx] [dj1.6venv] branch(+0/-0)+ ± python
python: error while loading shared libraries: libpython3.3m.so.1.0: cannot open shared object file: No such file or directory

Is there a simple way I can modify this behaviour and still keep python 3.3 on my computer ?
Or do I have to replace my virtualenv with a 3.4 venv ?

Offline

#2 2014-04-02 15:25:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Python upgrade and virtualenv issue.

Offline

#3 2014-04-02 16:03:43

Depado
Member
Registered: 2013-02-28
Posts: 49

Re: Python upgrade and virtualenv issue.

Of course. I know and understand how a virtualenv works. But the upgrade just replaced my virtualenv-3.3 command with virtualenv-3.4 which broke my developpment.
Now I had to recreate a new virtualenv with 3.4 and install my requirements again. Even if that sounds like a good idea at first, I'm the only one using Archlinux in the dev team and so the only one who have python3.4 now. That's why I asked if somebody knew how I could keep python3.3...

Offline

#4 2014-04-02 23:57:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Python upgrade and virtualenv issue.

Depado wrote:

Even if that sounds like a good idea at first, I'm the only one using Archlinux in the dev team and so the only one who have python3.4 now. That's why I asked if somebody knew how I could keep python3.3...

There are python 3.1 and 3.2 packages. Maybe using python 3.3 like this would help?
https://aur.archlinux.org/packages/python31/
https://aur.archlinux.org/packages/python32/

Offline

#5 2014-04-08 11:58:05

dejy
Member
Registered: 2014-03-18
Posts: 67

Re: Python upgrade and virtualenv issue.

Same Issue:
As far as I understand the Python 3.3 virtual env build was using a share library which is no longer existant (since the main build was upgraded to 3.4). Any idea what the best way to deal with this is?

Offline

#6 2014-04-08 12:33:57

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,091

Re: Python upgrade and virtualenv issue.

dejy,

there's now an AUR package that builds python 3.3 , https://aur.archlinux.org/packages/python33/ .
You should decide whether you do need to have python 3.3 available, if so use that package.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB