diff --git a/.github/workflows/colab.yml b/.github/workflows/colab.yml index 4ece61ca6a4..dd7e1939d89 100644 --- a/.github/workflows/colab.yml +++ b/.github/workflows/colab.yml @@ -31,7 +31,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.10.12 + python-version: 3.11.8 - uses: actions/setup-dotnet@v4 with: dotnet-version: '6.0.x' diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index ed2c71eaf6f..7bdb9d22e81 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.10.12 + python-version: 3.11.8 - uses: actions/setup-node@v4 with: node-version: '12' @@ -39,9 +39,9 @@ jobs: # If one test in the matrix fails we still want to run the others. fail-fast: false matrix: - python-version: [3.10.12] + python-version: [3.11.8] include: - - python-version: 3.10.12 + - python-version: 3.11.8 pip_constraints: test_constraints_version.txt steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index bf5363cac5b..439b7f37a83 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.10.x + python-version: 3.11.x - uses: ruby/setup-ruby@v1 env: ImageOS: ubuntu20 @@ -39,7 +39,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.10.x + python-version: 3.11.x - uses: actions/setup-node@v4 with: node-version: '12' @@ -58,5 +58,5 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.10.x + python-version: 3.11.x - run: python utils/validate_meta_files.py diff --git a/.github/workflows/publish_docs.yaml b/.github/workflows/publish_docs.yaml index ac4162337a3..e1e81b7f68a 100644 --- a/.github/workflows/publish_docs.yaml +++ b/.github/workflows/publish_docs.yaml @@ -12,10 +12,10 @@ jobs: uses: actions/checkout@v4 with: token: ${{ secrets.PUBLIC_GH_TOKEN }} - - name: Setup Python 3.10 + - name: Setup Python 3.11 uses: actions/setup-python@v5 with: - python-version: 3.10 + python-version: 3.11 - name: Publish docs run: | pip install mkdocs diff --git a/.github/workflows/publish_pypi.yaml b/.github/workflows/publish_pypi.yaml index a6f5f064552..244f7c20dc3 100644 --- a/.github/workflows/publish_pypi.yaml +++ b/.github/workflows/publish_pypi.yaml @@ -18,10 +18,10 @@ jobs: steps: - uses: actions/checkout@main - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v5 with: - python-version: 3.10.x + python-version: 3.11.x - name: Install dependencies run: pip install setuptools wheel twine --user - name: verify git tag vs. version diff --git a/.github/workflows/publish_pypi_python_api.yaml b/.github/workflows/publish_pypi_python_api.yaml index 5cc26412892..8ca10fc6c3d 100644 --- a/.github/workflows/publish_pypi_python_api.yaml +++ b/.github/workflows/publish_pypi_python_api.yaml @@ -18,10 +18,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v5 with: - python-version: 3.10.x + python-version: 3.11.x - name: Install dependencies run: pip install setuptools wheel twine --user - name: verify git tag vs. version diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 3c0d0c5e4f8..e015539ff87 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -37,9 +37,9 @@ jobs: # If one test in the matrix fails we still want to run the others. fail-fast: false matrix: - python-version: [3.10.12] + python-version: [3.11.8] include: - - python-version: 3.10.12 + - python-version: 3.11.8 pip_constraints: test_constraints_version.txt steps: - uses: actions/checkout@v4 diff --git a/.yamato/com.unity.ml-agents-coverage.yml b/.yamato/com.unity.ml-agents-coverage.yml index 2cfca080dd2..18e51253c0a 100644 --- a/.yamato/com.unity.ml-agents-coverage.yml +++ b/.yamato/com.unity.ml-agents-coverage.yml @@ -15,7 +15,7 @@ test_coverage_{{ package.name }}_{{ platform.name }}_{{ editor.version }}_{{ edi - npm install upm-ci-utils@1.27.0 -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm - upm-ci project test -u {{ editor.version }} --type project-tests --project-path {{ editor.testProject }} --package-filter {{ package.name }} {{ coverageOptions }} --extra-utr-arg "reruncount=2" - | - conda activate python3.10 + conda activate python3.11 python3 ml-agents/tests/yamato/check_coverage_percent.py upm-ci~/test-results/ {{ package.minCoveragePct }} artifacts: logs: diff --git a/.yamato/com.unity.ml-agents-pack.yml b/.yamato/com.unity.ml-agents-pack.yml index 436c74d2870..9cb3c2ebd6e 100644 --- a/.yamato/com.unity.ml-agents-pack.yml +++ b/.yamato/com.unity.ml-agents-pack.yml @@ -7,7 +7,7 @@ pack: commands: - | eval "$($HOME/anaconda/bin/conda shell.bash hook)" - conda activate python3.10 + conda activate python3.11 python3 -m pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade unity-downloader-cli -u 2023.2 -c editor --wait --fast ./.Editor/Unity -projectPath Project -batchMode -executeMethod Unity.MLAgents.SampleExporter.ExportCuratedSamples -logFile - diff --git a/.yamato/com.unity.ml-agents-test.yml b/.yamato/com.unity.ml-agents-test.yml index d5de0b5b419..d4f69fed2cb 100644 --- a/.yamato/com.unity.ml-agents-test.yml +++ b/.yamato/com.unity.ml-agents-test.yml @@ -128,7 +128,7 @@ test_{{ package.name }}_{{ platform.name }}_{{ editor.version}}_{{ editor.testPr commands: - | {% if platform.name == "linux" %} - conda activate python3.10 + conda activate python3.11 {% endif %} python -m pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade unity-downloader-cli -u trunk -c editor --wait --fast diff --git a/.yamato/compressed-sensor-test.yml b/.yamato/compressed-sensor-test.yml index 75da7b35ab3..f41ffded71b 100644 --- a/.yamato/compressed-sensor-test.yml +++ b/.yamato/compressed-sensor-test.yml @@ -12,7 +12,7 @@ test_compressed_obs_{{ editor.version }}_{{ editor.extra_test }}: commands: - | eval "$($HOME/anaconda/bin/conda shell.bash hook)" - conda activate python3.10 + conda activate python3.11 python -m pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple python -u -m ml-agents.tests.yamato.setup_venv python ml-agents/tests/yamato/scripts/run_compressed_sensor.py --env=artifacts/testPlayer-TestGridCompressed diff --git a/.yamato/gym-interface-test.yml b/.yamato/gym-interface-test.yml index 6f501289965..93691884861 100644 --- a/.yamato/gym-interface-test.yml +++ b/.yamato/gym-interface-test.yml @@ -12,7 +12,7 @@ test_gym_interface_{{ editor.version }}_{{ editor.extra_test }}: commands: - | eval "$($HOME/anaconda/bin/conda shell.bash hook)" - conda activate python3.10 + conda activate python3.11 python -m pip install wheel --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple python -m pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple python -u -m ml-agents.tests.yamato.setup_venv diff --git a/.yamato/protobuf-generation-test.yml b/.yamato/protobuf-generation-test.yml index 0572b31db05..a0c552d4c38 100644 --- a/.yamato/protobuf-generation-test.yml +++ b/.yamato/protobuf-generation-test.yml @@ -11,7 +11,7 @@ test_linux_protobuf_generation: - | sudo apt-get update && sudo apt-get install -y nuget eval "$($HOME/anaconda/bin/conda shell.bash hook)" - conda activate python3.10 + conda activate python3.11 nuget install Grpc.Tools -Version $GRPC_VERSION -OutputDirectory protobuf-definitions/ python3 -m pip install --upgrade pip --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple python3 -m pip install grpcio==1.48.2 grpcio-tools==1.48.2 protobuf==3.19.6 six==1.16.0 mypy-protobuf==1.16.0 --progress-bar=off --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple diff --git a/.yamato/pytest-gpu.yml b/.yamato/pytest-gpu.yml index 291cbf82076..9cbdaa78e16 100644 --- a/.yamato/pytest-gpu.yml +++ b/.yamato/pytest-gpu.yml @@ -7,7 +7,7 @@ pytest_gpu: commands: - | eval "$($HOME/anaconda/bin/conda shell.bash hook)" - conda activate python3.10 + conda activate python3.11 python3 -m pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple python3 -u -m ml-agents.tests.yamato.setup_venv python3 -m pip install --progress-bar=off -r test_requirements.txt --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple diff --git a/.yamato/python-ll-api-test.yml b/.yamato/python-ll-api-test.yml index d6176a80103..f60ba7a6680 100644 --- a/.yamato/python-ll-api-test.yml +++ b/.yamato/python-ll-api-test.yml @@ -12,7 +12,7 @@ test_linux_ll_api_{{ editor.version }}_{{ editor.extra_test }}: commands: - | eval "$($HOME/anaconda/bin/conda shell.bash hook)" - conda activate python3.10 + conda activate python3.11 python -m pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple python -u -m ml-agents.tests.yamato.setup_venv python ml-agents/tests/yamato/scripts/run_llapi.py diff --git a/.yamato/standalone-build-test.yml b/.yamato/standalone-build-test.yml index 733c9ea5c95..63347fed0ba 100644 --- a/.yamato/standalone-build-test.yml +++ b/.yamato/standalone-build-test.yml @@ -12,7 +12,7 @@ test_linux_standalone_{{ editor.version }}_{{ editor.extra_test }}: commands: - | eval "$($HOME/anaconda/bin/conda shell.bash hook)" - conda activate python3.10 + conda activate python3.11 python3 -m pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple python3 -m pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade unity-downloader-cli -u {{ editor.version }} -c editor --wait --fast diff --git a/.yamato/standalone-build-webgl-test.yml b/.yamato/standalone-build-webgl-test.yml index 4c27e11cd60..d8bbfcc4ffd 100644 --- a/.yamato/standalone-build-webgl-test.yml +++ b/.yamato/standalone-build-webgl-test.yml @@ -10,7 +10,7 @@ test_webgl_standalone_{{ editor_version }}: commands: - | eval "$($HOME/anaconda/bin/conda shell.bash hook)" - conda activate python3.10 + conda activate python3.11 python -m pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple python -m pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade unity-downloader-cli -u {{ editor_version }} -c editor -c WebGL --wait --fast diff --git a/.yamato/training-int-tests.yml b/.yamato/training-int-tests.yml index 8a344989392..9ee2cb0169f 100644 --- a/.yamato/training-int-tests.yml +++ b/.yamato/training-int-tests.yml @@ -12,7 +12,7 @@ test_linux_training_int_{{ editor.version }}_{{ editor.extra_test }}: commands: - | eval "$($HOME/anaconda/bin/conda shell.bash hook)" - conda activate python3.10 + conda activate python3.11 python -m pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple python -u -m ml-agents.tests.yamato.training_int_tests dependencies: diff --git a/docs/Installation.md b/docs/Installation.md index 3cbd976b213..33b865bebae 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -25,7 +25,7 @@ The ML-Agents Toolkit contains several components: Consequently, to install and use the ML-Agents Toolkit you will need to: - Install Unity (2023.2 or later) -- Install Python (3.10.12 or higher) +- Install Python (3.11.8) - Clone this repository (Recommended for the latest version and bug fixes) - __Note:__ If you do not clone the repository, then you will not be able to access the example environments and training configurations or the @@ -43,9 +43,9 @@ Consequently, to install and use the ML-Agents Toolkit you will need to: strongly recommend that you install Unity through the Unity Hub as it will enable you to manage multiple Unity versions. -### Install **Python 3.10.12** +### Install **Python 3.11.8** -We recommend [installing](https://www.python.org/downloads/) Python 3.10.12. +We recommend [installing](https://www.python.org/downloads/) Python 3.11.8. If you are using Windows, please install the x86-64 version and not x86. If your Python environment doesn't include `pip3`, see these [instructions](https://packaging.python.org/guides/installing-using-linux-tools/#installing-pip-setuptools-wheel-with-linux-package-managers) @@ -53,11 +53,11 @@ on installing it. We also recommend using [conda](https://docs.conda.io/en/lates #### Conda python setup -Once conda has been installed in your system, open a terminal and execute the following commands to setup a python 3.10.12 virtual environment +Once conda has been installed in your system, open a terminal and execute the following commands to setup a python 3.11.8 virtual environment and activate it. ```shell -conda create -n mlagents python=3.10.12 && conda activate mlagents +conda create -n mlagents python=3.11.8 && conda activate mlagents ``` ### Clone the ML-Agents Toolkit Repository (Recommended) @@ -161,7 +161,7 @@ for more installation options and versions. #### (OS X) Installing GRPC libraries -On OS X, you may need to explicitly install the GRPC runtime libraries to avoid hitting errors when training like `dlopen(/Users/alex.mccarthy/miniconda3/envs/mlagents/lib/python3.10/site-packages/grpc/_cython/cygrpc.cpython-310-darwin.so, 0x0002): symbol not found in flat namespace '_CFRelease'`. +On OS X, you may need to explicitly install the GRPC runtime libraries to avoid hitting errors when training like `dlopen(/Users/alex.mccarthy/miniconda3/envs/mlagents/lib/python3.11/site-packages/grpc/_cython/cygrpc.cpython-310-darwin.so, 0x0002): symbol not found in flat namespace '_CFRelease'`. ```sh pip3 install grpcio diff --git a/docs/Migrating.md b/docs/Migrating.md index 4cf9ae7db1f..64ba857a111 100644 --- a/docs/Migrating.md +++ b/docs/Migrating.md @@ -5,8 +5,8 @@ TODO: update ml-agents-env package version before release ---> ## Migrating to the ml-agents-envs 0.30.0 package -- Python 3.10.12 is now the minimum version of python supported due to [python3.6 EOL](https://endoflife.date/python). - Please update your python installation to 3.10.12 or higher. +- Python 3.11.0 is now the minimum version of python supported due to [python3.10 active support ending](https://endoflife.date/python). + Please update your python installation to 3.11.8. - The `gym-unity` package has been refactored into the `ml-agents-envs` package. Please update your imports accordingly. - Example: - Before diff --git a/docs/Tutorial-Custom-Trainer-Plugin.md b/docs/Tutorial-Custom-Trainer-Plugin.md index 06e9d2bc0e1..4f41e945bda 100644 --- a/docs/Tutorial-Custom-Trainer-Plugin.md +++ b/docs/Tutorial-Custom-Trainer-Plugin.md @@ -5,7 +5,7 @@ ### Step 1: Write your custom trainer class Before you start writing your code, make sure to use your favorite environment management tool(e.g. `venv` or `conda`) to create and activate a Python virtual environment. The following command uses `conda`, but other tools work similarly: ```shell -conda create -n trainer-env python=3.10.12 +conda create -n trainer-env python=3.11.8 conda activate trainer-env ``` @@ -260,9 +260,9 @@ mlagents-learn ml-agents-trainer-plugin/mlagents_trainer_plugin/a2c/a2c_3DBall.y ``` ### Validate your implementations: -Create a clean Python environment with Python 3.10.12 and activate it before you start, if you haven't done so already: +Create a clean Python environment with Python 3.11.8 and activate it before you start, if you haven't done so already: ```shell -conda create -n trainer-env python=3.10.12 +conda create -n trainer-env python=3.11.8 conda activate trainer-env ``` diff --git a/docs/Using-Virtual-Environment.md b/docs/Using-Virtual-Environment.md index 6a3415ad319..900d58e3a40 100644 --- a/docs/Using-Virtual-Environment.md +++ b/docs/Using-Virtual-Environment.md @@ -18,7 +18,7 @@ from dependencies of other projects. This has a few advantages: with the different version. ## Python Version Requirement (Required) -This guide has been tested with Python 3.10.12. Newer versions might not +This guide has been tested with Python 3.11.8. Newer versions might not have support for the dependent libraries, so are not recommended. ## Use Conda (or Mamba) @@ -67,7 +67,7 @@ then python3-distutils needs to be installed. Install python3-distutils using environment using the same `activate` command listed above) Note: -- Verify that you are using Python version 3.10.12. Launch a +- Verify that you are using Python version 3.11.8. Launch a command prompt using `cmd` and execute `python --version` to verify the version. - Python3 installation may require admin privileges on Windows. - This guide is for Windows 10 using a 64-bit architecture only. diff --git a/localized_docs/KR/docs/Installation-Anaconda-Windows.md b/localized_docs/KR/docs/Installation-Anaconda-Windows.md index ffe801ad778..4b971ed615d 100644 --- a/localized_docs/KR/docs/Installation-Anaconda-Windows.md +++ b/localized_docs/KR/docs/Installation-Anaconda-Windows.md @@ -12,8 +12,8 @@ ML-Agents toolkit�� ����ϱ� ����, �Ʒ��� ��� Windows ������ Anaconda�� [�ٿ�ε�](https://www.anaconda.com/download/#windows)�ϰ� ��ġ�Ͻʽÿ�. Anaconda�� ��������ν�, �ٸ� ���� ������ Python�� �и��� ȯ�濡�� ������ �� �ֽ��ϴ�. -Python 2�� ���̻� �������� �ʱ� ������ Python 3.10�� �ʿ��մϴ�. �� ���̵忡�� �츮�� -Python 3.10.12 ������ Anaconda 5.1 ������ ����� ���Դϴ�. +Python 2�� ���̻� �������� �ʱ� ������ Python 3.11�� �ʿ��մϴ�. �� ���̵忡�� �츮�� +Python 3.11.8 ������ Anaconda 2023.09 ������ ����� ���Դϴ�. ([64-bit](https://repo.continuum.io/archive/Anaconda3-5.1.0-Windows-x86_64.exe) �Ǵ� [32-bit](https://repo.continuum.io/archive/Anaconda3-5.1.0-Windows-x86.exe) ��ũ). @@ -65,11 +65,11 @@ ML-Agents toolkit�� �Բ� ����� ���ο� [Conda ȯ��] ��ɾ Ÿ���� �Ͻʽÿ�: ```sh -conda create -n ml-agents python=3.10.12 +conda create -n ml-agents python=3.11.08 ``` �� ��Ű���� ��ġ�ϱ� ���� �޼����� ���� ��� `y`�� Ÿ�����ϰ� ���͸� �����ʽÿ� _(���ͳ��� ����Ǿ��ִ��� Ȯ���Ͻʽÿ�)_. -�� �䱸�Ǵ� ��Ű������ �ݵ�� ��ġ�ؾ� �մϴ�. ���ο� Conda ȯ�濡�� Python 3.10.12 ������ ���Ǹ� ml-agents�� ȣ��˴ϴ�. +�� �䱸�Ǵ� ��Ű������ �ݵ�� ��ġ�ؾ� �մϴ�. ���ο� Conda ȯ�濡�� Python 3.11.8 ������ ���Ǹ� ml-agents�� ȣ��˴ϴ�.

Anaconda Install diff --git a/localized_docs/KR/docs/Installation.md b/localized_docs/KR/docs/Installation.md index dc525b1f1f9..2ae6ac7ffd6 100644 --- a/localized_docs/KR/docs/Installation.md +++ b/localized_docs/KR/docs/Installation.md @@ -40,13 +40,13 @@ git clone https://github.com/Unity-Technologies/ml-agents.git ### 파이썬과 mlagents 패키지 설치 -ML-Agents toolkit을 사용하기 위해 [setup.py file](../ml-agents/setup.py)에 나열된 종속성과 함께 파이썬 3.10.12이 필요합니다. +ML-Agents toolkit을 사용하기 위해 [setup.py file](../ml-agents/setup.py)에 나열된 종속성과 함께 파이썬 3.11.8이 필요합니다. 주요 종속성의 일부는 다음을 포함합니다: - [TensorFlow](Background-TensorFlow.md) (Requires a CPU w/ AVX support) - [Jupyter](Background-Jupyter.md) -Python 3.10.12이 만약 설치되어 있지 않다면, [다운로드](https://www.python.org/downloads/)하고 설치하십시오. +Python 3.11.8이 만약 설치되어 있지 않다면, [다운로드](https://www.python.org/downloads/)하고 설치하십시오. 만약 당신의 파이썬 환경이 `pip3`을 포함하지 않는다면, 다음 [지시사항](https://packaging.python.org/guides/installing-using-linux-tools/#installing-pip-setuptools-wheel-with-linux-package-managers) diff --git "a/localized_docs/RU/docs/\320\243\321\201\321\202\320\260\320\275\320\276\320\262\320\272\320\260.md" "b/localized_docs/RU/docs/\320\243\321\201\321\202\320\260\320\275\320\276\320\262\320\272\320\260.md" index eaeaa1a7ed8..ef776f824bf 100644 --- "a/localized_docs/RU/docs/\320\243\321\201\321\202\320\260\320\275\320\276\320\262\320\272\320\260.md" +++ "b/localized_docs/RU/docs/\320\243\321\201\321\202\320\260\320\275\320\276\320\262\320\272\320\260.md" @@ -19,7 +19,7 @@ ML-Agents Toolkit состоит из нескольких компоненто Итого, чтобы установить и использовать ML-Agents, вам нужно: - Установить Unity (2022.3 или более позднюю версию) -- Установить Python (3.10.12 или более позднюю версию) +- Установить Python (3.11.8 или более позднюю версию) - Клонировать этот репозиторий (Опционально) - __Примечание:__ если вы не склонируете репозиторий, тогда у вас не будет доступа к примерам и конфигурациям обучения. Также, раздел "Начало работы" подразумевает, что вы сделали клон репозитория. @@ -31,9 +31,9 @@ ML-Agents Toolkit состоит из нескольких компоненто [Загрузите](https://unity3d.com/get-unity/download) и установите движок Unity. Мы очень рекомендуем установить Unity через Unity Hub, так как последний позволяет управлять разными версиями движка. -### Установка **Python 3.10.12** или более поздней версии +### Установка **Python 3.11.8** -Мы рекомендуем [установить](https://www.python.org/downloads/) Python 3.10.12 +Мы рекомендуем [установить](https://www.python.org/downloads/) Python 3.11.8 Если вы используете Windows, пожалуйста, установите x86-64 версию, а не x86. Если у вас нет системы управления пакетами `pip3` для Python, пожалуйста, воспользуйтесь [этими инструкциями](https://packaging.python.org/guides/installing-using-linux-tools/#installing-pip-setuptools-wheel-with-linux-package-managers) diff --git a/localized_docs/TR/docs/Installation.md b/localized_docs/TR/docs/Installation.md index 1fb8f5660ab..8e29a626893 100644 --- a/localized_docs/TR/docs/Installation.md +++ b/localized_docs/TR/docs/Installation.md @@ -15,7 +15,7 @@ ML-Agents Araç Seti birkaç bileşen içermektedir: ML-Agents Toolkit 'i kurmanız için gerekenler: - Unity yükleyin (2022.3 veya daha sonraki bir sürüm) -- Python yükleyin (3.10.12 veya daha yüksek bir sürüm) +- Python yükleyin (3.11.8 sürüm) - Bu depoyu klonlayın (İsteğe bağlı) - __Not:__ Depoyu klonlamazsanız, örnek ortamlara ve eğitim yapılandırmalarına erişemezsiniz. Ek olarak, [Başlangıç Rehberi](Getting-Started.md) depoyu klonladığınızı varsayar. - `com.unity.ml-agents` ML-Agents Unity paketini yükleyin. @@ -25,9 +25,9 @@ ML-Agents Toolkit 'i kurmanız için gerekenler: [İndir](https://unity3d.com/get-unity/download) ve Unity'i yükle. Şiddetli bir şekilde Unity Hub üzerinden kurmanızı ve bu şekilde birden fazla Unity sürümünü yönetmenizi öneriyoruz. -### **Python 3.10.12** veya Daha Yüksek Bir Sürüm Yükleyin +### **Python 3.11.8** Sürüm -Python 3.10.12 veya daha yüksek bir sürümü [yüklemenizi](https://www.python.org/downloads/) öneriyoruz. Eğer, Windows kullanıyorsanız, lütfen x86-64 versiyonunu kurun ve asla sadece x86 isimli versiyonu kurmayın. Python ortamınız `pip3` içermiyorsa, [talimatları](https://packaging.python.org/guides/installing-using-linux-tools/#installing-pip-setuptools-wheel-with-linux-package-managers) takip ederek yükleyebilirsiniz. +Python 3.11.8 veya daha yüksek bir sürümü [yüklemenizi](https://www.python.org/downloads/) öneriyoruz. Eğer, Windows kullanıyorsanız, lütfen x86-64 versiyonunu kurun ve asla sadece x86 isimli versiyonu kurmayın. Python ortamınız `pip3` içermiyorsa, [talimatları](https://packaging.python.org/guides/installing-using-linux-tools/#installing-pip-setuptools-wheel-with-linux-package-managers) takip ederek yükleyebilirsiniz. Windows'ta Anaconda kurulumu için destek sağlamıyor olsak da, önceki [Windows için Anaconda Yüklemesi (Kullanımdan Kaldırılan) Rehberine](Installation-Anaconda-Windows.md) bakabilirsiniz. diff --git a/ml-agents-envs/setup.py b/ml-agents-envs/setup.py index fcbee961515..35db88df02a 100644 --- a/ml-agents-envs/setup.py +++ b/ml-agents-envs/setup.py @@ -46,7 +46,7 @@ def run(self): "Intended Audience :: Developers", "Topic :: Scientific/Engineering :: Artificial Intelligence", "License :: OSI Approved :: Apache Software License", - "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", ], packages=find_packages( exclude=["*.tests", "*.tests.*", "tests.*", "tests", "colabs", "*.ipynb"] @@ -63,7 +63,7 @@ def run(self): "numpy>=1.23.5,<1.24.0", "filelock>=3.4.0", ], - python_requires=">=3.10.1,<=3.10.12", + python_requires=">=3.11.0,<=3.11.8", # TODO: Remove this once mypy stops having spurious setuptools issues. cmdclass={"verify": VerifyVersionCommand}, # type: ignore ) diff --git a/ml-agents/setup.py b/ml-agents/setup.py index 1bf1fb4bf90..4a16595b70d 100644 --- a/ml-agents/setup.py +++ b/ml-agents/setup.py @@ -48,7 +48,7 @@ def run(self): "Intended Audience :: Developers", "Topic :: Scientific/Engineering :: Artificial Intelligence", "License :: OSI Approved :: Apache Software License", - "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", ], # find_namespace_packages will recurse through the directories and find all the packages packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), @@ -74,7 +74,7 @@ def run(self): 'pypiwin32==223;platform_system=="Windows"', "onnx==1.15.0", ], - python_requires=">=3.10.1,<=3.10.12", + python_requires=">=3.11.0,<=3.11.8", entry_points={ "console_scripts": [ "mlagents-learn=mlagents.trainers.learn:main",