Sto cercando di installare python-shapely con pip in Ubuntu 10.04. Ho "Comando sconosciuto o non supportato 'install'", mentre ho provato,pip non funziona
[email protected]:~$ pip install Shapely
Ho provato a installare pip ed ha ottenuto il seguente errore:
[email protected]:~$ sudo apt-get install python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
python-pip
0 upgraded, 1 newly installed, 0 to remove and 396 not upgraded.
Need to get 0B/49.8kB of archives.
After this operation, 270kB of additional disk space will be used.
(Reading database ... 252574 files and directories currently installed.)
Unpacking python-pip (from .../python-pip_0.3.1-1ubuntu2.1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/python-pip_0.3.1-1ubuntu2.1_all.deb (--unpack):
trying to overwrite '/usr/bin/pip', which is also in package pip 0:0.13-1
Errors were encountered while processing:
/var/cache/apt/archives/python-pip_0.3.1-1ubuntu2.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Apprezzerei ogni commento/soluzione.
Grazie!
Sì, l'ho fatto e dice "Installato /usr/local/lib/python2.6/dist-packages/pip-1.0.2-py2.6.egg "ma mentre provavo" pip install Shapely ", sto ancora ottenendo" Installazione sconosciuta o non supportata 'installazione' ". – troublemaker
Ciao. Il colpevole è probabilmente Strawberry Perl. Ti suggerisco di controllare se è installato. potrebbe spostarlo più in basso lungo il percorso, cioè "dietro" (leggendo da sinistra a destra) la tua voce Python. – CaitlinG