Enable Python 3.9
This commit is contained in:
Родитель
9898ec6f5b
Коммит
7cf2992e2d
|
@ -31,7 +31,7 @@ For a more detailed overview of the repository, please see the documents on the
|
|||
Please see the [setup guide](SETUP.md) for more details on setting up your machine locally, on a [data science virtual machine (DSVM)](https://azure.microsoft.com/en-gb/services/virtual-machines/data-science-virtual-machines/) or on [Azure Databricks](SETUP.md#setup-guide-for-azure-databricks).
|
||||
|
||||
The installation of the recommenders package has been tested with
|
||||
- Python versions 3.6 - 3.8 and [venv](https://docs.python.org/3/library/venv.html), [virtualenv](https://virtualenv.pypa.io/en/latest/index.html#) or [conda](https://docs.conda.io/projects/conda/en/latest/glossary.html?highlight=environment#conda-environment)
|
||||
- Python versions 3.6 - 3.9 and [venv](https://docs.python.org/3/library/venv.html), [virtualenv](https://virtualenv.pypa.io/en/latest/index.html#) or [conda](https://docs.conda.io/projects/conda/en/latest/glossary.html?highlight=environment#conda-environment)
|
||||
|
||||
and currently does not support version 3.8 and above. It is recommended to install the package and its dependencies inside a clean environment (such as [conda](https://docs.conda.io/projects/conda/en/latest/glossary.html?highlight=environment#conda-environment), [venv](https://docs.python.org/3/library/venv.html) or [virtualenv](https://virtualenv.pypa.io/en/latest/index.html#)).
|
||||
|
||||
|
|
2
SETUP.md
2
SETUP.md
|
@ -235,7 +235,7 @@ sudo rm -rf Azure_mmlspark-0.12.jar com.microsoft.cntk_cntk-2.4.jar com.microsof
|
|||
### Requirements
|
||||
|
||||
* Databricks Runtime version >= 7, <= 9 (Apache Spark >= 3.0, <= 3.1, Scala 2.12)
|
||||
* Python 3.6 - 3.8
|
||||
* Python 3.6 - 3.9
|
||||
|
||||
Earlier versions of Databricks or Spark may work but this is not guaranteed.
|
||||
An example of how to create an Azure Databricks workspace and an Apache Spark cluster within the workspace can be found from [here](https://docs.microsoft.com/en-us/azure/azure-databricks/quickstart-create-databricks-workspace-portal). To utilize deep learning models and GPUs, you may setup GPU-enabled cluster. For more details about this topic, please see [Azure Databricks deep learning guide](https://docs.azuredatabricks.net/applications/deep-learning/index.html).
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
model_checkpoint_path: "rbm_model.ckpt"
|
||||
all_model_checkpoint_paths: "rbm_model.ckpt"
|
3
setup.py
3
setup.py
|
@ -130,6 +130,7 @@ setup(
|
|||
"Programming Language :: Python :: 3.6",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Operating System :: Microsoft :: Windows",
|
||||
"Operating System :: POSIX :: Linux",
|
||||
"Operating System :: MacOS",
|
||||
|
@ -139,7 +140,7 @@ setup(
|
|||
"machine learning python spark gpu",
|
||||
install_requires=install_requires,
|
||||
package_dir={"recommenders": "recommenders"},
|
||||
python_requires=">=3.6, <3.9", # latest Databricks versions come with Python 3.8 installed
|
||||
python_requires=">=3.6, <3.10",
|
||||
packages=find_packages(where=".", exclude=["contrib", "docs", "examples", "scenarios", "tests", "tools"]),
|
||||
setup_requires=["numpy>=1.15"]
|
||||
)
|
||||
|
|
Загрузка…
Ссылка в новой задаче