Query Federation & Custom Schema
Learn about the latest features including in the CData Connect Cloud data connectivity platform.
Date Entered: 4/24/2020 Last Updated: 4/29/2020 Author: Garrett Bird
Among the available wheels in the Python connectors, the Mac wheels are strictly built for a 3.8 distribution. Conversely, the latest available Anaconda distribution available for download is for 3.7. As a result, in order for the Anaconda distribution to install the Mac wheel, you will first need to create an updated 3.8 environment for it to use. This entry will outline the proper steps to do so.
Setting up the desired environment is outlined by the following steps, which should be executed in sequence:
conda update conda
conda create -n py38 python=3.8 anaconda
conda activate py38
Once the virtual environment is activated in your Mac, the Python connector is ready to be installed into your Anaconda distribution. Begin by navigating to the directory that contains the Mac wheel, then execute the command below to perform the installation (the Salesforce connector is used here as an example).
pip install cdata_salesforce_connector-19.0.7416-cp38-cp38-macosx_10_9_x86_64.whl
While the installation instructions in the "readme.txt" file indicate that Mac users should use the "pip3 install" command with their distribution, the virtual Anaconda environment is a special case. As long as the virtual environment is activated, "pip install" will install into this environment. On the other hand, "pip3 install" will continue to install into the base environment for the distribution, which will be a Python 3.7 environment for Anaconda.
We appreciate your feedback. If you have any questions, comments, or suggestions about this entry, please contact our support team at email@example.com.