Ho provato easy_install install openpyxl
e python setup install
. Entrambi fallirono. Ho anche provato easy_install openpyxl
e ho fallito di nuovo. Includo l'output che ottengo
Quando provo easy_install install openpyxl
, ottengo il seguente output:Installa Openpyxl su python2.5 su Windows
Searching for install
Reading https://pypi.python.org/simple/install/
Download error on https://pypi.python.org/simple/install/: timed out -- Some pac
kages may not be found!
Couldn't find index page for 'install' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: timed out -- Some packages ma
y not be found!
No local packages or download links found for install
error: Could not find suitable distribution for Requirement.parse('install')
Quando provo Quando provo easy_install openpyxl
invece, ottengo la stessa uscita, ma con la parola 'openpyxl' invece di 'installazione'.
Quando provo python setup install
, ottengo il seguente output:
Traceback (most recent call last):
File "setup.py", line 23, in <module>
import openpyxl # to fetch __version__ etc
File "D:\Python\Excel\ericgazoni-openpyxl-22d4b2135553\openpyxl\__init__.py",
line 32, in <module>
from openpyxl import workbook
File "D:\Python\Excel\ericgazoni-openpyxl-22d4b2135553\openpyxl\workbook.py",
line 37, in <module>
from openpyxl.writer.dump_worksheet import DumpWorksheet, save_dump
File "D:\Python\Excel\ericgazoni-openpyxl-22d4b2135553\openpyxl\writer\__init_
_.py", line 29, in <module>
from openpyxl.writer import excel
File "D:\Python\Excel\ericgazoni-openpyxl-22d4b2135553\openpyxl\writer\excel.p
y", line 50, in <module>
from openpyxl.writer.charts import ChartWriter
File "D:\Python\Excel\ericgazoni-openpyxl-22d4b2135553\openpyxl\writer\charts.
py", line 27, in <module>
from openpyxl.chart import Chart, ErrorBar
File "D:\Python\Excel\ericgazoni-openpyxl-22d4b2135553\openpyxl\chart.py", lin
e 132, in <module>
class Serie(object):
File "D:\Python\Excel\ericgazoni-openpyxl-22d4b2135553\openpyxl\chart.py", lin
e 150, in Serie
@color.setter
AttributeError: 'property' object has no attribute 'setter'
Qualche suggerimento?
Non ha funzionato neanche. Ho provato a copiare openpyxl-1.6.2 (e tutto il suo contenuto) in C: \ Python25 \ Lib e in C: \ Python25 \ Lib \ site-packages. –
Nota Devo usare Python 2.5. –
Darò [guida Excell attraverso le porte COM] (http://pythonexcels.com/basic-excel-driving-with-python/) una prova! –