Azure-Samples / custom-vision-move-project

Moving projects between resources for Microsoft Cognitive Services - Custom Vision service
MIT License
9 stars 6 forks source link

Solution for this error --> ImportError: No module named azure.cognitiveservices.vision.customvision.training #2

Open andrewchungxam opened 5 years ago

andrewchungxam commented 5 years ago

If anybody ran into this issue or ran into something similar, here's what I did to overcome:

1: Install Python3 (not update) http://osxdaily.com/2018/06/13/how-install-update-python-3x-mac/ 2: Install Pip 3: pip install azure 4: pip install azure-cognitiveservices-vision-customvision

Important! Since I'm using python3 - the final commands should call python3 not python like this: python3 migrate_project.py -p "asdf-asdf-asdf-asdf-asdfasdf" -s "asdfasdasdfasdfasdfasdf" -d "asdfasdfasdfasdfasdfasdf"

kmacpher67 commented 5 years ago

sudo apt install python3-pip

pip3 && python3 on Ubuntu.

change customvision to computervision here's what worked for me: pip3 install azure-cognitiveservices-vision-computervision