[python] Jak na instalaci jakehokoliv modulu do ActivePython 2.4

mimi.vx mimi.vx na gmail.com
Pátek Březen 31 13:28:18 CEST 2017


instalujes 32bit balicek na 64bit aplikaci

nainstaluji 32 python ..... a nebo musis pouzit easy_install a 64bit
prekladac ...

PetrZ wrote:
> Pokud se pokusim doinstalovat napr. numpy-1.1.1-win32-superpack-
> python2.4.exe, nebo hashlib-20060408a.win32-py2.4-builtin.exe zahlasi
> mi to tuhle chybu:
>
> "Python version 2.4 required, which was no found in registry."
>
> Pouzivam ActivePython-2.4.3.12-win64-x64-nopywin32.msi na Win xp64.
>
> A netusim co musim pridat do registru aby instalace z exe balicku
> probehla bez problemu. Diky predem
> S "normalni" distribuci z python.org vse funguje.
>
> + python setup.py install (konkretne na hashlib) mi hlasi:
>
> Traceback (most recent call last):
>   File "setup.py", line 181, in ?
>     main()
>   File "setup.py", line 175, in main
>     ext_modules = prepare_hashlib_Extensions(),
>   File "setup.py", line 33, in prepare_hashlib_Extensions
>     compiler = new_compiler()
>   File "C:\Python24\lib\distutils\ccompiler.py", line 1177, in
> new_compiler
>     return klass (None, dry_run, force)
>   File "C:\Python24\lib\distutils\msvccompiler.py", line 211, in
> __init__
>     self.__macros = MacroExpander(self.__version)
>   File "C:\Python24\lib\distutils\msvccompiler.py", line 112, in
> __init__
>     self.load_macros(version)
>   File "C:\Python24\lib\distutils\msvccompiler.py", line 133, in
> load_macros
>     raise DistutilsPlatformError, \
> distutils.errors.DistutilsPlatformError: The .NET Framework SDK needs
> to be inst
> alled before building extensions for Python.
>
> Pricemz .NET Framework SDK 2.0 mam nainstalovano


Další informace o konferenci Python