Skip to content

Commit 17b1116

Browse files
committed
adding quotes to pip installs
1 parent 17d6f16 commit 17b1116

File tree

5 files changed

+20
-22
lines changed

5 files changed

+20
-22
lines changed

docs/source/user_guide/apachespark/setup-installation.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Activate the conda environment to upgrade to the latest ``oracle-ads``
2424
.. code-block:: shell
2525
2626
conda activate /home/datascience/conda/pyspark30_p37_cpu_v5
27-
pip install oracle-ads[data_science, data, opctl] --upgrade
27+
pip install "oracle-ads[data_science, data, opctl]" --upgrade
2828
2929
3030
Configuring core-site.xml
@@ -200,4 +200,3 @@ Data Flow to access logs bucket, use a policy like:
200200
ALLOW SERVICE dataflow TO READ objects IN tenancy WHERE target.bucket.name='dataflow-logs'
201201
202202
For more information, see the `Data Flow documentation <https://docs.oracle.com/en-us/iaas/data-flow/using/dfs_getting_started.htm#set_up_admin>`__.
203-

docs/source/user_guide/big_data_service/boilerplate/create_conda.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ The following are the recommended steps to create a conda environment to connect
44
- ``odsc conda install -s pyspark30_p37_cpu_v3``: Install the PySpark conda environment.
55
- ``conda activate /home/datascience/conda/pyspark30_p37_cpu_v3``: Activate the PySpark conda environment so that you can modify it.
66
- ``pip uninstall oracle_ads``: Uninstall the old ADS package in this environment.
7-
- ``pip install oracle_ads[bds]``: Install the latest version of ADS that contains BDS support.
7+
- ``pip install "oracle_ads[bds]"``: Install the latest version of ADS that contains BDS support.
88
- ``conda install sasl``: Install ``sasl``.
9-

docs/source/user_guide/cli/quickstart.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -61,79 +61,79 @@ To work with gradient boosting models, install the ``boosted`` module. This modu
6161

6262
.. code-block:: bash
6363
64-
$ python3 -m pip install oracle-ads[boosted]
64+
$ python3 -m pip install "oracle-ads[boosted]"
6565
6666
For big data use cases using Oracle Big Data Service (BDS), install the ``bds`` module. It includes the following libraries: ``ibis-framework[impala]``, ``hdfs[kerberos]`` and ``sqlalchemy``.
6767

6868
.. code-block:: bash
6969
70-
$ python3 -m pip install oracle-ads[bds]
70+
$ python3 -m pip install "oracle-ads[bds]"
7171
7272
To work with a broad set of data formats (for example, Excel, Avro, etc.) install the ``data`` module. It includes the following libraries: ``fastavro``, ``openpyxl``, ``pandavro``, ``asteval``, ``datefinder``, ``htmllistparse``, and ``sqlalchemy``.
7373

7474
.. code-block:: bash
7575
76-
$ python3 -m pip install oracle-ads[data]
76+
$ python3 -m pip install "oracle-ads[data]"
7777
7878
To work with geospatial data install the ``geo`` module. It includes the ``geopandas`` and libraries from the ``viz`` module.
7979

8080
.. code-block:: bash
8181
82-
$ python3 -m pip install oracle-ads[geo]
82+
$ python3 -m pip install "oracle-ads[geo]"
8383
8484
Install the ``notebook`` module to use ADS within the Oracle Cloud Infrastructure Data Science service `Notebook Session <https://docs.oracle.com/en-us/iaas/data-science/using/manage-notebook-sessions.htm>`_. This module installs ``ipywidgets`` and ``ipython`` libraries.
8585

8686
.. code-block:: bash
8787
88-
$ python3 -m pip install oracle-ads[notebook]
88+
$ python3 -m pip install "oracle-ads[notebook]"
8989
9090
To work with ONNX-compatible run times and libraries designed to maximize performance and model portability, install the ``onnx`` module. It includes the following libraries, ``onnx``, ``onnxruntime``, ``onnxmltools``, ``skl2onnx``, ``xgboost``, ``lightgbm`` and libraries from the ``viz`` module.
9191

9292
.. code-block:: bash
9393
94-
$ python3 -m pip install oracle-ads[onnx]
94+
$ python3 -m pip install "oracle-ads[onnx]"
9595
9696
For infrastructure tasks, install the ``opctl`` module. It includes the following libraries, ``oci-cli``, ``docker``, ``conda-pack``, ``nbconvert``, ``nbformat``, and ``inflection``.
9797

9898
.. code-block:: bash
9999
100-
$ python3 -m pip install oracle-ads[opctl]
100+
$ python3 -m pip install "oracle-ads[opctl]"
101101
102102
For hyperparameter optimization tasks install the ``optuna`` module. It includes the ``optuna`` and libraries from the ``viz`` module.
103103

104104
.. code-block:: bash
105105
106-
$ python3 -m pip install oracle-ads[optuna]
106+
$ python3 -m pip install "oracle-ads[optuna]"
107107
108108
For Spark tasks install the ``spark`` module.
109109

110110
.. code-block:: bash
111111
112-
$ python3 -m pip install oracle-ads[spark]
112+
$ python3 -m pip install "oracle-ads[spark]"
113113
114114
Install the ``tensorflow`` module to include ``tensorflow`` and libraries from the ``viz`` module.
115115

116116
.. code-block:: bash
117117
118-
$ python3 -m pip install oracle-ads[tensorflow]
118+
$ python3 -m pip install "oracle-ads[tensorflow]"
119119
120120
For text related tasks, install the ``text`` module. This will include the ``wordcloud``, ``spacy`` libraries.
121121

122122
.. code-block:: bash
123123
124-
$ python3 -m pip install oracle-ads[text]
124+
$ python3 -m pip install "oracle-ads[text]"
125125
126126
Install the ``torch`` module to include ``pytorch`` and libraries from the ``viz`` module.
127127

128128
.. code-block:: bash
129129
130-
$ python3 -m pip install oracle-ads[torch]
130+
$ python3 -m pip install "oracle-ads[torch]"
131131
132132
Install the ``viz`` module to include libraries for visualization tasks. Some of the key packages are ``bokeh``, ``folium``, ``seaborn`` and related packages.
133133

134134
.. code-block:: bash
135135
136-
$ python3 -m pip install oracle-ads[viz]
136+
$ python3 -m pip install "oracle-ads[viz]"
137137
138138
See ``pyproject.toml`` file ``[project.optional-dependencies]`` section for full list of modules and its list of extra libraries.
139139

@@ -143,4 +143,4 @@ Multiple extra dependencies can be installed together. For example:
143143

144144
.. code-block:: bash
145145
146-
$ python3 -m pip install oracle-ads[notebook,viz,text]
146+
$ python3 -m pip install "oracle-ads[notebook,viz,text]"

docs/source/user_guide/operators/forecasting_operator/install.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ If you are running the operator from outside of a Notebook Session, you may down
1313

1414
.. code-block:: bash
1515
16-
python3 -m pip install oracle_ads[forecast]==2.9.0
16+
python3 -m pip install "oracle_ads[forecast]==2.9"
1717
1818
1919
After that, the Operator is ready to go!
@@ -24,7 +24,7 @@ In order to run on a job, you will need to create and publish a conda pack with
2424
2525
odsc conda create -n forecast -e
2626
conda activate /home/datascience/conda/forecast_v1_0
27-
python3 -m pip install oracle-ads[forecast]==2.9.0
27+
python3 -m pip install "oracle-ads[forecast]==2.9"
2828
odsc conda publish -s /home/datascience/conda/forecast_v1_0
2929
3030
Ensure that you have properly configured your conda pack namespace and bucket in the Launcher -> Settings -> Object Storage Settings. For more details, see :doc:`ADS Conda Set Up <../../cli/opctl/configure>`

docs/source/user_guide/operators/pii_operator/install.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The PII Operator can be installed from PyPi.
77

88
.. code-block:: bash
99
10-
python3 -m pip install oracle_ads[pii]==2.9
10+
python3 -m pip install "oracle_ads[pii]==2.9"
1111
1212
1313
After that, the Operator is ready to go!
@@ -18,7 +18,7 @@ In order to run on a job, you will need to create and publish a conda pack with
1818
1919
odsc conda create -n ads_pii -e
2020
conda activate /home/datascience/conda/ads_pii_v1_0
21-
python3 -m pip install oracle-ads[pii]==2.9
21+
python3 -m "pip install oracle-ads[pii]==2.9"
2222
odsc conda publish -s /home/datascience/conda/ads_pii_v1_0
2323
2424
Ensure that you have properly configured your conda pack namespace and bucket in the Launcher -> Settings -> Object Storage Settings. For more details, see :doc:`ADS Conda Set Up <../../cli/opctl/configure>`

0 commit comments

Comments
 (0)