Coder Social home page Coder Social logo

gifer's People

Contributors

maclauring avatar mikkkee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gifer's Issues

Bug: pywintypes cannot find files in certain directory

There may be ImportError in pythoncom and IOError in PyInstaller if you are using Anaconda Python.

Traceback (most recent call last):
  File "<string>", line 11, in <module>
  File "C:\Anaconda\lib\site-packages\pythoncom.py", line 3, in <module>
    pywintypes.__import_pywin32_system_module__("pythoncom", globals())
  File "C:\Anaconda\lib\site-packages\win32\lib\pywintypes.py", line 98, in __import_pywin32_system_module__
    raise ImportError("No system module '%s' (%s)" % (modname, filename))
ImportError: No system module 'pythoncom' (pythoncom27.dll)
Traceback (most recent call last):
  File "C:\Anaconda\Scripts\pyinstaller-script.py", line 9, in <module>
    load_entry_point('PyInstaller==2.1', 'console_scripts', 'pyinstaller')()
  File "C:\Anaconda\lib\site-packages\PyInstaller\main.py", line 88, in run
    run_build(opts, spec_file, pyi_config)
  File "C:\Anaconda\lib\site-packages\PyInstaller\main.py", line 46, in run_build
    PyInstaller.build.main(pyi_config, spec_file, **opts.__dict__)
  File "C:\Anaconda\lib\site-packages\PyInstaller\build.py", line 1924, in main
    build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
  File "C:\Anaconda\lib\site-packages\PyInstaller\build.py", line 1873, in build
    execfile(spec)
  File "build.spec", line 34, in <module>
    icon='images\\logo_tray.ico')
  File "C:\Anaconda\lib\site-packages\PyInstaller\build.py", line 1170, in __init__
    strip_binaries=self.strip, upx_binaries=self.upx,
  File "C:\Anaconda\lib\site-packages\PyInstaller\build.py", line 1008, in __init__
    self.__postinit__()
  File "C:\Anaconda\lib\site-packages\PyInstaller\build.py", line 309, in __postinit__
    self.assemble()
  File "C:\Anaconda\lib\site-packages\PyInstaller\build.py", line 1050, in assemble
    dist_nm=inm)
  File "C:\Anaconda\lib\site-packages\PyInstaller\build.py", line 842, in checkCache
    digest = cacheDigest(fnm)
  File "C:\Anaconda\lib\site-packages\PyInstaller\build.py", line 796, in cacheDigest
    data = open(fnm, "rb").read()
IOError: [Errno 22] invalid mode ('rb') or filename: ''

Need to copy pywintypes27.dll, and pythoncom27.dll sitting in C:\<Python-Path>\Lib\site-packages\win32 to C:\<Python-Path>\Lib\site-packages\win32\lib

Ref: py2exe - No system module 'pywintypes'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.