Hello to the community,
I have a problem installing plone 5.2.4 on Windows in a directory chosen other than the default directory (user / username etc.).
Every time I choose a different directory, the installation fails.
Someone managed to install plone 5.2.4 under Windows in a directory he chose himself: for example D: \ Plone524?
I even strictly followed the procedure advised by @steve for this to no avail.
Here is an example of an installation failure in a dedicated directory other than the default directory.
Microsoft Windows [version 10.0.19041.928]
(c) Microsoft Corporation. Tous droits réservés.
C:\WINDOWS\system32>cd \
C:\>cd Plone-5.2.4-UnifiedInstaller-1.0
C:\Plone-5.2.4-UnifiedInstaller-1.0>windows_install.bat user=admin standalone --password=XXXXXXXXXX --target=D:\Plone524 --instance=D:\Plone524\zinstance
C:\Plone-5.2.4-UnifiedInstaller-1.0>python helper_scripts\windows_install.py user=admin standalone --password=XXXXXXXXXX --target=D:\Plone524 --instance=D:\Plone524\zinstance
usage: windows_install.py [-h] [--password PASSWORD] [--target TARGET] [--instance INSTANCE] [--clients CLIENTS]
{zeo,standalone}
windows_install.py: error: argument itype: invalid choice: 'user=admin' (choose from 'zeo', 'standalone')
C:\Plone-5.2.4-UnifiedInstaller-1.0>windows_install.bat standalone --user --password=XXXXXXXXXX --target=D:\Plone524 --instance=D:\Plone524\zinstance
C:\Plone-5.2.4-UnifiedInstaller-1.0>python helper_scripts\windows_install.py standalone --user --password=XXXXXXXXXX --target=D:\Plone524 --instance=D:\Plone524\zinstance
usage: windows_install.py [-h] [--password PASSWORD] [--target TARGET] [--instance INSTANCE] [--clients CLIENTS]
{zeo,standalone}
windows_install.py: error: unrecognized arguments: --user
C:\Plone-5.2.4-UnifiedInstaller-1.0>windows_install.bat standalone --password=XXXXXXXXXX--target=D:\Plone524 --instance=D:\Plone524\zinstance
C:\Plone-5.2.4-UnifiedInstaller-1.0>python helper_scripts\windows_install.py standalone --password=XXXXXXXXXX --target=D:\Plone524 --instance=D:\Plone524\zinstance
Creating target directory D:\Plone524
Preparing python virtualenv
Updating pip
Collecting pip
Using cached pip-21.1-py3-none-any.whl (1.5 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.2.3
Uninstalling pip-20.2.3:
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Accès refusé: 'd:\\plone524\\py-3.8.9.final.0\\scripts\\pip.exe'
Consider using the `--user` option or check the permissions.
Collecting pip
Using cached pip-21.1-py3-none-any.whl (1.5 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.2.3
Uninstalling pip-20.2.3:
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Accès refusé: 'd:\\plone524\\py-3.8.9.final.0\\scripts\\pip.exe'
Consider using the `--user` option or check the permissions.
Installing requirements in virtualenv
Traceback (most recent call last):
File "D:\Python38\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "D:\Python38\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "D:\Plone524\py-3.8.9.final.0\Scripts\pip.exe\__main__.py", line 4, in <module>
ModuleNotFoundError: No module named 'pip'
Traceback (most recent call last):
File "D:\Python38\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "D:\Python38\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "D:\Plone524\py-3.8.9.final.0\Scripts\pip.exe\__main__.py", line 4, in <module>
ModuleNotFoundError: No module named 'pip'
Traceback (most recent call last):
File "helper_scripts\windows_install.py", line 141, in <module>
doCommand(
File "helper_scripts\windows_install.py", line 36, in doCommand
raise AssertionError(
AssertionError: "D:\Plone524\py-3.8.9.final.0\Scripts\pip.exe install -r C:\Plone-5.2.4-UnifiedInstaller-1.0\base_skeleton\requirements.txt --no-warn-script-location" Failed with error code: 1
C:\Plone-5.2.4-UnifiedInstaller-1.0>
Anyone have any idea what caused this failed install to a chosen directory?
Thank you in advance for your contribution.
P.S: "Accès refusé" means "Access denied"