Connect to theĬloud Object Storage (COS) to download the custom function logs. Install and configure Cyberduck to view logs. Log files for custom functions in Cloud Object Storage. Download, Install and Configure CyberDuck for View Logs in Monitorĭepending on the version of Monitor it may use either the Database or Object Storage service store logs. This opens a Jupyter notebook in the new browser window that opened. Launch Jupyter Notebook to edit Linear Regression Models. Using a similar example steps below.Įxport PYTHONPATH=/Users/student01/MAS_AutoAIĮxport DYLD_LIBRARY_PATH=/Users/student01/ve/iot-python3/lib/python3.7/site-packages/clidriver/lib:$DYLD_LIBRARY_PATH Install Jupyter using instructions Use the Pip Install option. Visualizations and algorithms for working with AI Models and functions. Jupyter is an open-source web application that allows you to create and share documents that contain live code, equations, Verify that you can get a local Python Script to run without errors. Save the file in the project git cloned project Click on Copy and paste iconĪnd copy the credentials into a file named beta-1_credentials.json file. Go to Monitor, click on Services, click View Details of Watson IOT Analytics. For MacĮxport PYTHONPATH=/Users/carlosferreira/Documents/AutoAILabs/iot-python3/maximo_autoai Set PYTHONPATH to your project directory where you installed your virtual environment. For MacĮxport DYLD_LIBRARY_PATH="/lib/python3.7/site-packages/clidriver/lib:$DYLD_LIBRARY_PATHĮxport DYLD_LIBRARY_PATH=/Users/carlosferreira/ve/iot-python3/lib/python3.7/site-packages/clidriver/lib:$DYLD_LIBRARY_PATH Within your project directory in the activated virtual environment, install Monitor Python Custom Functions SDK andĪpply export variables in terminal for DYLD_LIBRARY_PATH for DB2 jars on Mac OS X only. Git clone repo provided by your instructor The easiest is to install the Xcode Command Line Tools. The result in Terminal should be something like: For Mac Open a new terminal window and change directory to your Virtual Environment directory.Īctivate your virtual environment. Install virtual environment to keep dependencies separate from other projectsĬreate a virtual environment use Python 3.7.9 for Maximo Application Suite v8.3 Sudo easy_install pip # for Mac try also removing sudo from the commandįor Python 3.8.10 try using instructions: Using Python v3.7.9 for Maximo Application Suite v8.4.ĭownload Python for Windows at Install and Create a Virtual Environment
0 Comments
Leave a Reply. |