[pyar] Fabric y Python3

Manuel Kaufmann humitos en gmail.com
Mar Dic 23 12:10:57 ART 2014


Hola a todos,

Estoy tratando de usar Fabric con Python3 y entiendo que no es compatible[1]

Estoy recibiendo este error:

(osm-garmin-map)[12:05] humitos: utils> fab -h
Traceback (most recent call last):
   File "/home/humitos/.virtualenvs/osm-garmin-map/bin/fab", line 9, in 
<module>
     load_entry_point('Fabric==1.10.1', 'console_scripts', 'fab')()
   File 
"/home/humitos/.virtualenvs/osm-garmin-map/lib/python3.4/site-packages/pkg_resources.py", 
line 356, in load_entry_point
     return get_distribution(dist).load_entry_point(group, name)
   File 
"/home/humitos/.virtualenvs/osm-garmin-map/lib/python3.4/site-packages/pkg_resources.py", 
line 2431, in load_entry_point
     return ep.load()
   File 
"/home/humitos/.virtualenvs/osm-garmin-map/lib/python3.4/site-packages/pkg_resources.py", 
line 2147, in load
     ['__name__'])
   File 
"/home/humitos/.virtualenvs/osm-garmin-map/lib/python3.4/site-packages/fabric/main.py", 
line 12, in <module>
     from operator import isMappingType
ImportError: cannot import name 'isMappingType'
(osm-garmin-map)[12:08] humitos: utils>

¿Hay alguna utilidad similar a Fabric que funcione con Python3? Sino, 
voy a tener que usar Python2 y así seguimos dando vuelta sobre lo mismo :(

[1] https://github.com/fabric/fabric/issues/1050

-- 

Kaufmann Manuel
-- http://elblogdehumitos.com.ar/


More information about the pyar mailing list