[python] Python x64

ehmo diskusie na gmail.com
Středa Leden 14 18:21:54 CET 2009


Ai,
keby sa to zohnat dalo, tak by som nekompiloval. vsetky instalatory
su ale win32 a tie ma nepustia k instalacii do x64. cize vsetko treba
robit rucne. ano, asi to cele prestahujem na linux, je to utrpenie
robit nieco na windowse

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

Petr wrote,
> Ahoj,

> ve Windows sice Python neprovozuji, natoz pod 64bit. Zkusim ale poradit co vim.

> Intel se pri tvorbe 64bit rozsireni rekneme inspiroval u AMD, takze se
> tomu proste rika mimojine i amd64. To je v poradku. Itanium je neco
> jineho, to na stole a snad ani v serveru tipuju mit jen tak nebudete.

> Muzete zkusit nastavit promenne prostredi (env variables)
> DISTUTILS_USE_SDK a MSSdk na 1.

> Mimochodem, proc vubec neco kompilujete? Pro Windows se vsechno da
> sehnat uz v binarni podobe (Python vcetne standardnich modulu i
> sqlite).

> PM


> 2009/1/14 ehmo <diskusie na gmail.com>:
>> 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
>>
>> _______________________________________________
>> Python mailing list
>> Python na py.cz
>> http://www.py.cz/mailman/listinfo/python
>>
> _______________________________________________
> Python mailing list
> Python na py.cz
> http://www.py.cz/mailman/listinfo/python



Další informace o konferenci Python