ibm_db package, which contains the driver required to connect to Db2:
-
Run the following command to generate a boilerplate or skeleton recipe, which you can then edit:
-
Locate the
meta.yamlfile within theibm_dbdirectory that’s created. -
To build the package for a specific Python version, edit the
meta.yamlfile and specify the version. For example, to build the package for Python 3.6, it would look like this:requirements:- host:
- pip
- python=3.6
- run:
- python=3.6
- host:
-
Run the following command to build the package:
- When complete, the output of the process will display the path to the package. Now you can upload it to your preferred channel, to make it available for platform users. For more information, see uploading a package to a channel.
Any packages you install from the command line are available during the current session only. If you want them to persist, add them to the project’s
anaconda-project.yml file. For more information, see Project configurations.
