[python] Python x64

ehmo diskusie na gmail.com
Středa Leden 14 16:17:38 CET 2009


Ahojte,
mam relativne neprijemny problem s verziou x64. Pouzivam system vista
x64. ak pouzijem python pre x86 tak ide vsetko ako ma az na jedinu
drobnost. App engine. Ten proste nejde a nenasiel som ziadny sposob,
ako ho spustit. Kazda rada smerovala k tomu, aby sa preslo na x64 pre
systemy x64. Tak som to urobil. Ako prve ma zarazilo, ze na mojom PC
kde mam intel som musel nainstalovat python pre AMD, kedze pre itanium
mi nainstallovat nedovolilo. Tento python ide v pohode, aj app engine
funguje, bohuzial, nefunguje takmer ziadny package. Kazdy zomre na
takejto chybovej hlaske


running build
running build_py
running build_ext
building 'pysqlite2._sqlite' extension
Traceback (most recent call last):
  File "C:\!dev\pysqlite-2.4.1\setup.py", line 163, in
 <module>
    main()
  File "C:\!dev\setup.py", line 160, in
 main
    setup(**get_setup_args())
  File "C:\Python25\lib\distutils\core.py", line 151, in setup
    dist.run_commands()
  File "C:\Python25\lib\distutils\dist.py", line 974, in run_commands
    self.run_command(cmd)
  File "C:\Python25\lib\distutils\dist.py", line 994, in run_command
    cmd_obj.run()
  File "C:\Python25\lib\distutils\command\build.py", line 112, in run
    self.run_command(cmd_name)
  File "C:\Python25\lib\distutils\cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "C:\Python25\lib\distutils\dist.py", line 994, in run_command
    cmd_obj.run()
  File "C:\Python25\lib\distutils\command\build_ext.py", line 290, in run
    self.build_extensions()
  File "C:\Python25\lib\distutils\command\build_ext.py", line 416, in build_exte
nsions
    self.build_extension(ext)
  File "C:\Python25\lib\distutils\command\build_ext.py", line 481, in build_exte
nsion
    depends=ext.depends)
  File "C:\Python25\lib\distutils\msvccompiler.py", line 354, in compile
    if not self.initialized: self.initialize()
  File "C:\Python25\lib\distutils\msvccompiler.py", line 264, in initialize
    self.__paths = self.get_msvc_paths("path")
  File "C:\Python25\lib\distutils\msvccompiler.py", line 616, in get_msvc_paths
    % (self.__root, self.__version))
AttributeError: MSVCCompiler instance has no attribute '_MSVCCompiler__root'

mam hodne velku dilemu, co teraz. ked budem pouzivat x64 verziu, mozem
pouzivat app engine, bohuzial vsak nespustim ziadny z mojich skriptov,
ktore dost potrebujem. Ak sa mi nepodari najst spolocne vychodisko,
potom mi uz len zostava remote computer, vritual machine nemam moc v
laske.

Snad mi niekto dokaze pomoct a znavigovat ma.

Dakujem


----------
oooo [who cares?]
http://blog.synopsi.com



Další informace o konferenci Python