Thanks to visit codestin.com
Credit goes to github.com

Skip to content

PyWin32 Post install Error: Missing pywin32_system32 folder in Lib/site-packages #58

Closed
@mbiskach

Description

@mbiskach

Using the latest commit (5b70c41), I am trying to build a custom winpython installation using Python 3.4.2 32-bit (Windows 7). I received an error that the pywin32_system32 folder does not exist in Lib/site-packages.

At what point should the pywin32_system32 folder be created in Lib/site-packages? I feel like simply checking if the folder exists and creating it if missing is not the correct solution...
The pywin32 wheel was downloaded from Christoph Gohlke's site.

Full output:

Ignoring indexes: https://pypi.python.org/simple
Collecting setuptools
Collecting pip
Installing collected packages: pip, setuptools


Successfully installed pip-6.0.8 setuptools-12.0.5


+-------------------------+
| Making WinPython 32bits |
+-------------------------+

Creating WinPython 3.4 base directory... OK
Extracting Python installer... fname=C:\Users\mbiskach\Documents\code\winpython_new\basedir34\build\wheels_tmp.win32\python-3.4.3.msi
TARGETDIR=C:\Users\mbiskach\Documents\code\winpython_new\basedir34\build\winpython-3.4.3\python-3.4.3
patched C:\Users\mbiskach\Documents\code\winpython_new\basedir34\build\winpython-3.4.3\python-3.4.3\Scripts\easy_install-3.4.exe
patched C:\Users\mbiskach\Documents\code\winpython_new\basedir34\build\winpython-3.4.3\python-3.4.3\Scripts\pip3.4.exe
patched C:\Users\mbiskach\Documents\code\winpython_new\basedir34\build\winpython-3.4.3\python-3.4.3\Scripts\pip3.exe
OK
Checking packages
Adding Microsoft Visual C++ DLLs
Installing required packages
    Installing Wheel setuptools 12.4... wheel install_options ['--upgrade', '--no-deps']
OK
    Installing Wheel pip 6.0.8... wheel install_options ['--upgrade', '--no-deps']
OK
patched C:\Users\mbiskach\Documents\code\winpython_new\basedir34\build\winpython-3.4.3\python-3.4.3\Scripts\easy_install-3.4.exe
patched C:\Users\mbiskach\Documents\code\winpython_new\basedir34\build\winpython-3.4.3\python-3.4.3\Scripts\easy_install.exe
    Installing Wheel pywin32 219... wheel install_options ['--no-index', '--find-links=C:\\Users\\mbiskach\\Documents\\code\\winpython_new\\basedir34\\build\\wheels_tmp.win32']
OK
Traceback (most recent call last):
  File "make.py", line 1157, in <module>
    verbose=False, archis=(32, ))
  File "make.py", line 1149, in make_all
    flavor=flavor)
  File "make.py", line 1122, in make_winpython
    dist.make(remove_existing=remove_existing)
  File "make.py", line 995, in make
    self._install_required_packages()
  File "make.py", line 475, in _install_required_packages
    '%s-([0-9\.]*[a-z\+]*[0-9]?)(.*)(\.exe|\.whl)' % happy_few)
  File "make.py", line 306, in install_package
    install_options=self.install_options)
  File "C:\Users\mbiskach\Documents\code\winpython_new\winpython_git\winpython\wppm.py", line 379, in install
    for name in os.listdir(origin):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\mbiskach\\Documents\\code\\winpython_new\\basedir34\\build\\winpython-3.4.3\\python-3.4.3\\Lib\\site-packages\\pywin32_system32'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions