I was use godot for c++ and it native for c++ need to install scons. I was installed scons normally. But it caused a problem:
C:\Users\Admin\AppData\Roaming\Python\Python312\site-packages\setuptools\__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
running install
C:\Users\Admin\AppData\Roaming\Python\Python312\site-packages\setuptools\_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
C:\Users\Admin\AppData\Roaming\Python\Python312\site-packages\setuptools\_distutils\cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
self.initialize_options()
error: can't create or remove files in install directory
The following error occurred while trying to add or remove files in the
installation directory:
[Errno 13] Permission denied: 'C:\\Program Files\\Python312\\Lib\\site-packages\\test-easy-install-1112.write-test'
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
C:\Program Files\Python312\Lib\site-packages\
Perhaps your account does not have write access to this directory? If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account. If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.
For information on other options, you may wish to consult the
documentation at:
https://setuptools.pypa.io/en/latest/deprecated/easy_install.html
Please make the appropriate changes for your system and try again.
I think this is error is in the file. So i use pip :"pip install scons". It run normally and i type "scons --version".But it say...
'scons' is not recognized as an internal or external command,
operable program or batch file.
I was search the internet and do like it. But nothing happend.
This is my scons file:

And this is the error problem:

And this too:

So i delete scons by "pip uninstall scons". I download again but the is no progress. Can you help me?
Sery because i was new to stack overflow
Try:
Also a really good way to install SCons (and/or any python package IMHO) is to install them in a virtualenv.. You can find instructions in our cookbook: https://scons-cookbook.readthedocs.io/en/latest/#setting-up-a-python-virtualenv-for-scons