ho provato a fare come dici tu ma mi viene fuori sto casini:
plinux@plinux-HP:~$ cd /home/plinux/openerp/server/bin/
plinux@plinux-HP:~/openerp/server/bin$ python openerp-server.py
Traceback (most recent call last):
File "openerp-server.py", line 58, in <module>
import netsvc
File "/home/plinux/openerp/server/bin/netsvc.py", line 292, in <module>
import tools
File "/home/plinux/openerp/server/bin/tools/__init__.py", line 26, in <module>
from convert import *
File "/home/plinux/openerp/server/bin/tools/convert.py", line 48, in <module>
from yaml_import import convert_yaml_import
File "/home/plinux/openerp/server/bin/tools/yaml_import.py", line 11, in <module>
import yaml_tag
File "/home/plinux/openerp/server/bin/tools/yaml_tag.py", line 1, in <module>
import yaml
ImportError: No module named yaml
plinux@plinux-HP:~/openerp/server/bin$ python ./openerp-server.py
Traceback (most recent call last):
File "./openerp-server.py", line 58, in <module>
import netsvc
File "/home/plinux/openerp/server/bin/netsvc.py", line 292, in <module>
import tools
File "/home/plinux/openerp/server/bin/tools/__init__.py", line 26, in <module>
from convert import *
File "/home/plinux/openerp/server/bin/tools/convert.py", line 48, in <module>
from yaml_import import convert_yaml_import
File "/home/plinux/openerp/server/bin/tools/yaml_import.py", line 11, in <module>
import yaml_tag
File "/home/plinux/openerp/server/bin/tools/yaml_tag.py", line 1, in <module>
import yaml
ImportError: No module named yaml
plinux@plinux-HP:~/openerp/server/bin$
Ma poi che roba è sto Yaml???? Ho provato a cercarlo in Software center e ci sono 38 pacchetti richiamati dalla ricerca di yaml, mentre ho provato con apt-get install e mi da questo:
root@plinux-HP:/home/plinux# apt-get install yaml
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
E: Impossibile trovare il pacchetto yaml
root@plinux-HP:/home/plinux#
MacheXXXXXXXzzz!!!!