​​The Cambridge Crystallographic Data Centre (CCDC).
The CCDC websites use cookies. By continuing to browse the site you are agreeing to our use of cookies. For more details about cookies and how to manage them, see our  cookie policy.

Installation of the CSD Python API miniconda may fail on Windows


Miniconda utilises very long file paths during installation and by default Windows does not have support for long paths enabled. This can cause installation of the miniconda distribution the CSD Python API uses to fail.

As of release 2023.2, enabling long paths for the CSD Python API is now a requirement. If this is not set, then if running as an administrator this will be set automatically for you. If not installing as admin, then installation may fail.

Please ensure that the registry key Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled is set to 1 prior to installing. If installation fails, you can resolve the problem post-install by setting the registry key first. Then start the maintenance tool and select "Add or remove components"and click Next. Deselect the CSD Python API component to uninstall it. Once this process is complete, start the maintenance tool again, and select the CSD Python API to reinstall it.