Skip to content
Advertisement

Tag: ibm-cloud

ModuleNotFoundError for ibm-watson-machine-learning package

I entered following command in my jupyter notebook: !pip install -U ibm-watson-machine-learning and with I can see the package install with !pip list. But when I try to import like so: import ibm_watson_machine_learning, I get following error: ModuleNotFoundError: No module named ‘ibm_watson_machine_learning’. Answer SOLVED: For me, I simply needed to update all my packages in conda with conda upgrade –all.

IBM Cloud Functions – “Invalid virtualenv. Zip file does not include activate_this.py”

I want to deploy a python script with a virtual environment (I need a library which is not in the runtime provided by IBM Cloud Functions) to IBM Cloud Functions. I want to do this with simple zipping so I followed the documentation: Packaging Python code with a local virtual environment in a compressed file in the link below: https://cloud.ibm.com/docs/openwhisk?topic=openwhisk-prep

Advertisement