Python - TypeError: 'NoneType' object has no attribute '__getitem__'

 
Vista:
sin imagen de perfil

TypeError: 'NoneType' object has no attribute '__getitem__'

Publicado por Andres Felipe (2 intervenciones) el 09/05/2017 22:57:10
Cordial Saludo Grupo

Tengo el siguiente error al intentar instalar AutoItLibrary de robotframework con python

Microsoft Windows [Versión 10.0.14393]
(c) 2016 Microsoft Corporation. Todos los derechos reservados.

C:\Windows\system32>cd C:\Windows\Temp\para_instalacion_\AutoItLibrary

C:\Windows\Temp\para_instalacion_\AutoItLibrary>python setup.py install
Don't think we need to unregister the old one...
%SYSTEMROOT%\system32\regsvr32.exe /S C:\Python27\Lib\site-packages\AutoItLibrary\lib\AutoItX3.dll
python C:\Python27\Lib\site-packages\win32com\client\makepy.py C:\Python27\Lib\site-packages\AutoItLibrary\lib\AutoItX3.dll
Generating to C:\Python27\lib\site-packages\win32com\gen_py\F8937E53-D444-4E71-9275-35B64210CC3Bx0x1x0.py
Building definitions from type library...
Generating...
Importing module
Traceback (most recent call last):
File "setup.py", line 88, in <module>
destPath = os.path.normpath(os.path.join(os.getenv("HOMEDRIVE"), r"\RobotFramework\Extensions\AutoItLibrary"))
File "C:\Python27\lib\ntpath.py", line 82, in join
if path[1:2] != ":" or b[1:2] == ":":
TypeError: 'NoneType' object has no attribute '__getitem__'

C:\Windows\Temp\para_instalacion_\AutoItLibrary>



Tengo instalado windows 10
los paquetes que instale fueron
0_autoit-v3-setup
1_jythoninstaller
1_python-2.7.6
2_robotframework-2.8.4.win32
3_PIL-1.1.7.win32-py2.7
4_py2exe-0.6.9.win32-py2.7
5_pywin32-218.win32-py2.7
6_wxPython2.8-win32-unicode-2.8.12.1-py27
7_RIDE-robotframework1.2.3.win32

8_AutoItLibrary

TODO INSTALA DE MANERA PERFECTA

Pero al intentar instalar la libreria 8_AutoItLibrary sale este error que les muestro ya tengo las variables en path pero el ride no reconoce la libreria


variables del entorno
Path:
C:\ProgramData\Oracle\Java\javapath;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\OracleInstantClient;C:\oracle\product\10.1.0\Client_1\bin;C:\oracle\product\10.1.0\Client_1\jre\1.4.2\bin\client;C:\oracle\product\10.1.0\Client_1\jre\1.4.2\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\PuTTY\;C:\Program Files (x86)\Brackets\command;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\Windows Live\Shared;C:\Python27;C:\Python27\Tools\Scripts;C:\Python27\Scripts;C:\Windows\Temp\para_instalacion_\AutoItLibrary;C:\;C:\Windows\Temp\
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
sin imagen de perfil

TypeError: 'NoneType' object has no attribute '__getitem__'

Publicado por Andres Felipe (2 intervenciones) el 11/05/2017 15:39:48
Mi solucion fue instarlo en windows 8.1 todo corre perfecto
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar