module funcwin.patchs_windows

Short summary

module tkinterquickhelper.funcwin.patchs_windows

Patches installation

Functions

function

truncated documentation

fix_python35_dll

This function tries to adress a known issue when creating a virtual environment on Windows with Python 3.5

Documentation

Patches installation

New in version 1.3.

source on GitHub

tkinterquickhelper.funcwin.patchs_windows.fix_python35_dll(path1, path2, force=False)[source]

This function tries to adress a known issue when creating a virtual environment on Windows with Python 3.5

Parameters
  • path1 – Python installation

  • path2 – virtual environment

  • force – force the replication even if Python version 3.5 is not true

Returns

list of copied assemblies

This comes from the following message:

ERROR: It thinks sys.prefix is 'c:\jenkins\pymy\py35_actuariat_python'
        (should be 'c:\jenkins\pymy\py35_actuariat_python\_virtualenv\actuariat_python_virpy35_505506092c_505506092c')
ERROR: virtualenv is not compatible with this system or executable
Note: some Windows users have reported this error when they installed Python for "Only this user"
      or have multiple versions of Python installed.
      Copying the appropriate PythonXX.dll to the virtualenv Scripts/ directory may fix this problem.

source on GitHub