Найти - Пользователи
Полная версия: Помогите с установкой
Начало » Python для новичков » Помогите с установкой
1
vihr
Помогите с установкой пжл, не работал с python еще

У меня винда семерка, 64

1. Ставлю python-2.7.9.msi
2. дальше ставлю pyHook-1.5.1.win32-py2.7.exe
3. дальше pywin32-220.win32-py2.7.exe и VCForPython27.msi
4. Заходу в папку через powerShell cd C:\Users\***\Desktop\Sk и прописываю pip install pyinstaller

И у меня ошибки, что не так?

 Downloading/unpacking pyinstaller
  Running setup.py (path:c:\users\python\appdata\local\temp\pip_build_python\pyinstaller\setup.py) egg_info for package pyinst
aller
    no previously-included directories found matching 'bootloader\build'
    no previously-included directories found matching 'bootloader\.waf*'
    no previously-included directories found matching 'bootloader\waf3-*'
    warning: no previously-included files found matching 'bootloader\.lock-waf*'
    no previously-included directories found matching 'doc\source'
    no previously-included directories found matching 'old'
    no previously-included directories found matching 'scripts'
    no previously-included directories found matching 'tests\scripts'
    warning: no previously-included files found matching '.*'
    warning: no previously-included files found matching '*.yml'
Requirement already satisfied (use --upgrade to upgrade): setuptools in c:\python27\lib\site-packages (from pyinstaller)
Downloading/unpacking pefile (from pyinstaller)
  Running setup.py (path:c:\users\python\appdata\local\temp\pip_build_python\pefile\setup.py) egg_info for package pefile
    warning: no previously-included files found matching 'run_tests.py'
    warning: no previously-included files found matching 'requirements.txt'
    warning: no previously-included files found matching 'README.md'
    no previously-included directories found matching 'tests'
Downloading/unpacking future (from pefile->pyinstaller)
  Running setup.py (path:c:\users\python\appdata\local\temp\pip_build_python\future\setup.py) egg_info for package future
    warning: no files found matching '*.au' under directory 'tests'
    warning: no files found matching '*.gif' under directory 'tests'
    warning: no files found matching '*.txt' under directory 'tests'
Installing collected packages: pyinstaller, pefile, future
  Running setup.py install for pyinstaller
    no previously-included directories found matching 'bootloader\build'
    no previously-included directories found matching 'bootloader\.waf*'
    no previously-included directories found matching 'bootloader\waf3-*'
    warning: no previously-included files found matching 'bootloader\.lock-waf*'
    no previously-included directories found matching 'doc\source'
    no previously-included directories found matching 'old'
    no previously-included directories found matching 'scripts'
    no previously-included directories found matching 'tests\scripts'
    warning: no previously-included files found matching '.*'
    warning: no previously-included files found matching '*.yml'
    Installing pyinstaller-script.py script to C:\Python27\Scripts
    Installing pyinstaller.exe script to C:\Python27\Scripts
    Installing pyinstaller.exe.manifest script to C:\Python27\Scripts
    Installing pyi-grab_version-script.py script to C:\Python27\Scripts
    Installing pyi-grab_version.exe script to C:\Python27\Scripts
    Installing pyi-grab_version.exe.manifest script to C:\Python27\Scripts
    Installing pyi-archive_viewer-script.py script to C:\Python27\Scripts
    Installing pyi-archive_viewer.exe script to C:\Python27\Scripts
    Installing pyi-archive_viewer.exe.manifest script to C:\Python27\Scripts
    Installing pyi-bindepend-script.py script to C:\Python27\Scripts
    Installing pyi-bindepend.exe script to C:\Python27\Scripts
    Installing pyi-bindepend.exe.manifest script to C:\Python27\Scripts
    Installing pyi-set_version-script.py script to C:\Python27\Scripts
    Installing pyi-set_version.exe script to C:\Python27\Scripts
    Installing pyi-set_version.exe.manifest script to C:\Python27\Scripts
    Installing pyi-makespec-script.py script to C:\Python27\Scripts
    Installing pyi-makespec.exe script to C:\Python27\Scripts
    Installing pyi-makespec.exe.manifest script to C:\Python27\Scripts
  Running setup.py install for pefile
    warning: no previously-included files found matching 'run_tests.py'
    warning: no previously-included files found matching 'requirements.txt'
    warning: no previously-included files found matching 'README.md'
    no previously-included directories found matching 'tests'
  Running setup.py install for future
    warning: no files found matching '*.au' under directory 'tests'
    warning: no files found matching '*.gif' under directory 'tests'
    warning: no files found matching '*.txt' under directory 'tests'
    Installing pasteurize-script.py script to C:\Python27\Scripts
    Installing pasteurize.exe script to C:\Python27\Scripts
    Installing pasteurize.exe.manifest script to C:\Python27\Scripts
    Installing futurize-script.py script to C:\Python27\Scripts
    Installing futurize.exe script to C:\Python27\Scripts
    Installing futurize.exe.manifest script to C:\Python27\Scripts
Successfully installed pyinstaller pefile future
Cleaning up...
FishHook
vihr
Successfully installed pyinstaller pefile future
Скажите, а вы в полной мере понимаете эту фразу? Пробовали перевести со словарем?
vihr
Я видел это сообщение. Меня смущает warning в листинге. Дальше у меня другие ошибки, возможно связанны?… Не понимаю почему они идут, помогите пжл

дальше я делаю

pip install -r .\requirements.txt
в котором:

pycrypto==2.6.1
Pillow==3.4.2
pyHook==1.5.1
pyasn1==0.1.9

И дальше идут ошибки:

 Requirement already satisfied (use --upgrade to upgrade): pycrypto==2.6.1 in c:\python27\lib\site-packages (from -r .\re
quirements.txt (line 1))
Downloading/unpacking Pillow==3.4.2 (from -r .\requirements.txt (line 2))
  Running setup.py (path:c:\users\python\appdata\local\temp\pip_build_python\Pillow\setup.py) egg_info for package Pillow
    Single threaded build for windows
    warning: no files found matching '*.sh'
    no previously-included directories found matching 'docs\_static'
    warning: no previously-included files found matching '.coveragerc'
    warning: no previously-included files found matching '.editorconfig'
    warning: no previously-included files found matching '.landscape.yaml'
    warning: no previously-included files found matching 'appveyor.yml'
    warning: no previously-included files found matching 'build_children.sh'
    warning: no previously-included files found matching 'tox.ini'
    warning: no previously-included files matching '.git*' found anywhere in distribution
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
Requirement already satisfied (use --upgrade to upgrade): pyHook==1.5.1 in c:\python27\lib\site-packages (from -r .\requ
irements.txt (line 3))
Downloading/unpacking pyasn1==0.1.9 (from -r .\requirements.txt (line 4))
  Downloading pyasn1-0.1.9-py2.py3-none-any.whl
Installing collected packages: Pillow, pyasn1
  Running setup.py install for Pillow
    Single threaded build for windows
    warning: no files found matching '*.sh'
    no previously-included directories found matching 'docs\_static'
    warning: no previously-included files found matching '.coveragerc'
    warning: no previously-included files found matching '.editorconfig'
    warning: no previously-included files found matching '.landscape.yaml'
    warning: no previously-included files found matching 'appveyor.yml'
    warning: no previously-included files found matching 'build_children.sh'
    warning: no previously-included files found matching 'tox.ini'
    warning: no previously-included files matching '.git*' found anywhere in distribution
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "c:\users\python\appdata\local\temp\pip_build_python\Pillow\setup.py", line 753, in <module>
        zip_safe=not debug_build(), )
      File "C:\Python27\lib\distutils\core.py", line 151, in setup
        dist.run_commands()
      File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
        cmd_obj.run()
      File "C:\Python27\lib\site-packages\setuptools\command\install.py", line 61, in run
        return orig.install.run(self)
      File "C:\Python27\lib\distutils\command\install.py", line 563, in run
        self.run_command('build')
      File "C:\Python27\lib\distutils\cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
        cmd_obj.run()
      File "C:\Python27\lib\distutils\command\build.py", line 127, in run
        self.run_command(cmd_name)
      File "C:\Python27\lib\distutils\cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
        cmd_obj.run()
      File "C:\Python27\lib\distutils\command\build_ext.py", line 337, in run
        self.build_extensions()
      File "c:\users\python\appdata\local\temp\pip_build_python\Pillow\setup.py", line 521, in build_extensions
        ' using --disable-%s, aborting' % (f, f))
    ValueError: zlib is required unless explicitly disabled using --disable-zlib, aborting
    Complete output from command C:\Python27\python.exe -c "import setuptools, tokenize;__file__='c:\\users\\python\\appdat
a\\local\\temp\\pip_build_python\\Pillow\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('
\r\n', '\n'), __file__, 'exec'))" install --record c:\users\python\appdata\local\temp\pip-iykktq-record\install-record.txt
--single-version-externally-managed --compile:
    Single threaded build for windows
running install
running build
running build_py
creating build
creating build\lib.win32-2.7
creating build\lib.win32-2.7\PIL
copying PIL\BdfFontFile.py -> build\lib.win32-2.7\PIL
copying PIL\BmpImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\BufrStubImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\ContainerIO.py -> build\lib.win32-2.7\PIL
copying PIL\CurImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\DcxImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\DdsImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\EpsImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\ExifTags.py -> build\lib.win32-2.7\PIL
copying PIL\features.py -> build\lib.win32-2.7\PIL
copying PIL\FitsStubImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\FliImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\FontFile.py -> build\lib.win32-2.7\PIL
copying PIL\FpxImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\FtexImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\GbrImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\GdImageFile.py -> build\lib.win32-2.7\PIL
copying PIL\GifImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\GimpGradientFile.py -> build\lib.win32-2.7\PIL
copying PIL\GimpPaletteFile.py -> build\lib.win32-2.7\PIL
copying PIL\GribStubImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\Hdf5StubImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\IcnsImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\IcoImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\Image.py -> build\lib.win32-2.7\PIL
copying PIL\ImageChops.py -> build\lib.win32-2.7\PIL
copying PIL\ImageCms.py -> build\lib.win32-2.7\PIL
copying PIL\ImageColor.py -> build\lib.win32-2.7\PIL
copying PIL\ImageDraw.py -> build\lib.win32-2.7\PIL
copying PIL\ImageDraw2.py -> build\lib.win32-2.7\PIL
copying PIL\ImageEnhance.py -> build\lib.win32-2.7\PIL
copying PIL\ImageFile.py -> build\lib.win32-2.7\PIL
copying PIL\ImageFilter.py -> build\lib.win32-2.7\PIL
copying PIL\ImageFont.py -> build\lib.win32-2.7\PIL
copying PIL\ImageGrab.py -> build\lib.win32-2.7\PIL
copying PIL\ImageMath.py -> build\lib.win32-2.7\PIL
copying PIL\ImageMode.py -> build\lib.win32-2.7\PIL
copying PIL\ImageMorph.py -> build\lib.win32-2.7\PIL
copying PIL\ImageOps.py -> build\lib.win32-2.7\PIL
copying PIL\ImagePalette.py -> build\lib.win32-2.7\PIL
copying PIL\ImagePath.py -> build\lib.win32-2.7\PIL
copying PIL\ImageQt.py -> build\lib.win32-2.7\PIL
copying PIL\ImageSequence.py -> build\lib.win32-2.7\PIL
copying PIL\ImageShow.py -> build\lib.win32-2.7\PIL
copying PIL\ImageStat.py -> build\lib.win32-2.7\PIL
copying PIL\ImageTk.py -> build\lib.win32-2.7\PIL
copying PIL\ImageTransform.py -> build\lib.win32-2.7\PIL
copying PIL\ImageWin.py -> build\lib.win32-2.7\PIL
copying PIL\ImImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\ImtImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\IptcImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\Jpeg2KImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\JpegImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\JpegPresets.py -> build\lib.win32-2.7\PIL
copying PIL\McIdasImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\MicImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\MpegImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\MpoImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\MspImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\OleFileIO.py -> build\lib.win32-2.7\PIL
copying PIL\PaletteFile.py -> build\lib.win32-2.7\PIL
copying PIL\PalmImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\PcdImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\PcfFontFile.py -> build\lib.win32-2.7\PIL
copying PIL\PcxImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\PdfImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\PixarImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\PngImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\PpmImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\PsdImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\PSDraw.py -> build\lib.win32-2.7\PIL
copying PIL\PyAccess.py -> build\lib.win32-2.7\PIL
copying PIL\SgiImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\SpiderImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\SunImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\TarIO.py -> build\lib.win32-2.7\PIL
copying PIL\TgaImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\TiffImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\TiffTags.py -> build\lib.win32-2.7\PIL
copying PIL\WalImageFile.py -> build\lib.win32-2.7\PIL
copying PIL\WebPImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\WmfImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\XbmImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\XpmImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\XVThumbImagePlugin.py -> build\lib.win32-2.7\PIL
copying PIL\_binary.py -> build\lib.win32-2.7\PIL
copying PIL\_tkinter_finder.py -> build\lib.win32-2.7\PIL
copying PIL\_util.py -> build\lib.win32-2.7\PIL
copying PIL\__init__.py -> build\lib.win32-2.7\PIL
running egg_info
writing Pillow.egg-info\PKG-INFO
writing top-level names to Pillow.egg-info\top_level.txt
writing dependency_links to Pillow.egg-info\dependency_links.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'Pillow.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.sh'
no previously-included directories found matching 'docs\_static'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.landscape.yaml'
warning: no previously-included files found matching 'appveyor.yml'
warning: no previously-included files found matching 'build_children.sh'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
writing manifest file 'Pillow.egg-info\SOURCES.txt'
copying PIL\OleFileIO-README.md -> build\lib.win32-2.7\PIL
running build_ext
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "c:\users\python\appdata\local\temp\pip_build_python\Pillow\setup.py", line 753, in <module>
    zip_safe=not debug_build(), )
  File "C:\Python27\lib\distutils\core.py", line 151, in setup
    dist.run_commands()
  File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
    cmd_obj.run()
  File "C:\Python27\lib\site-packages\setuptools\command\install.py", line 61, in run
    return orig.install.run(self)
  File "C:\Python27\lib\distutils\command\install.py", line 563, in run
    self.run_command('build')
  File "C:\Python27\lib\distutils\cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
    cmd_obj.run()
  File "C:\Python27\lib\distutils\command\build.py", line 127, in run
    self.run_command(cmd_name)
  File "C:\Python27\lib\distutils\cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
    cmd_obj.run()
  File "C:\Python27\lib\distutils\command\build_ext.py", line 337, in run
    self.build_extensions()
  File "c:\users\python\appdata\local\temp\pip_build_python\Pillow\setup.py", line 521, in build_extensions
    ' using --disable-%s, aborting' % (f, f))
ValueError: zlib is required unless explicitly disabled using --disable-zlib, aborting
----------------------------------------
Cleaning up...
Command C:\Python27\python.exe -c "import setuptools, tokenize;__file__='c:\\users\\python\\appdata\\local\\temp\\pip_build
_python\\Pillow\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, '
exec'))" install --record c:\users\python\appdata\local\temp\pip-iykktq-record\install-record.txt --single-version-external
ly-managed --compile failed with error code 1 in c:\users\python\appdata\local\temp\pip_build_python\Pillow
Storing debug log for failure in C:\Users\python\pip\pip.log

vihr
Это может быть из за того что ставлю python-2.7.9.msi не 64?

Если ставить 64 версию, тогда не могу поставить pyHook-1.5.1.win32-py2.7.exe
vihr
Подскажите пжл, каких то модулей не хватает?

 79759 WARNING: Attempted to add Python module twice with different upper/lowercases: Crypto.Cipher._AE
79761 WARNING: Attempted to add Python module twice with different upper/lowercases: Crypto.Util._coun
79762 WARNING: Attempted to add Python module twice with different upper/lowercases: Crypto.Hash._SHA2
79762 WARNING: Attempted to add Python module twice with different upper/lowercases: Crypto.Random.OSR
79763 WARNING: Attempted to add Python module twice with different upper/lowercases: Crypto.Cipher._DE
79764 WARNING: Attempted to add Python module twice with different upper/lowercases: PIL._webp
79765 WARNING: Attempted to add Python module twice with different upper/lowercases: PIL._imagingtk
79768 WARNING: Attempted to add Python module twice with different upper/lowercases: PIL._imaging
79769 WARNING: Attempted to add Python module twice with different upper/lowercases: pyHook._cpyHook
FishHook
vihr
Подскажите пжл, каких то модулей не хватает?
Да прочитай ты уже, что там написано!!!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB