|
5 | 5 |
|
6 | 6 | # MAGIC %md ### First Steps ###
|
7 | 7 | # MAGIC
|
8 |
| -# MAGIC You will need to import the data generator library to workspace in order to use it. You can find the latest releases in the [``dbldatagen``](https://github.com/databrickslabs/dbldatagen) github repository |
9 |
| -# MAGIC on the [releases pane](https://github.com/databrickslabs/dbldatagen/releases) |
10 |
| -# MAGIC |
11 |
| -# MAGIC Download the wheel for the latest release from there. |
12 |
| -# MAGIC |
13 |
| -# MAGIC Steps: |
14 |
| -# MAGIC 1. In your Databricks environment, using the left hand pane to select your workspace, create a library entry |
15 |
| -# MAGIC for the test data generator library |
16 |
| -# MAGIC 1. if there's an older library already installed: |
17 |
| -# MAGIC 1. uninstall it from existing clusters that it is installed on |
18 |
| -# MAGIC 9. restart the cluster(s) to have the uninstall take effect |
19 |
| -# MAGIC 9. move the library to trash |
20 |
| -# MAGIC 9. use the create option for the workspace folder |
21 |
| -# MAGIC 9. select library |
22 |
| -# MAGIC 9. select Python Wheel library type (by setting the library type option to `python whl`) |
23 |
| -# MAGIC 9. Once the library reference is created, you can install it on your clusters. You may need to restart them |
24 |
| -# MAGIC to take effect |
25 |
| -# MAGIC |
26 |
| -# MAGIC 9. You can now refer to the library in your notebooks. Note the library is a Python 3 wheel library and |
27 |
| -# MAGIC must be run on a compatible cluster |
| 8 | +# MAGIC You will need to import the data generator library in order to use it. |
| 9 | +# MAGIC |
| 10 | +# MAGIC Within a notebook, you can install the package from PyPi using `pip install` to install the |
| 11 | +# MAGIC package with the folling command: |
| 12 | +# MAGIC |
| 13 | +# MAGIC ``` |
| 14 | +# MAGIC %pip install dbldatagen |
| 15 | +# MAGIC ``` |
| 16 | +# MAGIC |
| 17 | +# MAGIC The [Installation Notes](https://databrickslabs.github.io/dbldatagen/public_docs/installation_notes.html) |
| 18 | +# MAGIC provides details on other mechanisms for installation. |
| 19 | + |
| 20 | +# COMMAND ---------- |
| 21 | + |
| 22 | +# MAGIC %pip install dbldatagen |
28 | 23 |
|
29 | 24 | # COMMAND ----------
|
30 | 25 |
|
|
0 commit comments