[TIMOB-4354] Tooling: verify.py Detect Missing Python Modules. Give install instructions
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-06-15T09:43:20.000+0000 |
Affected Version/s | Release 1.8.0 |
Fix Version/s | Sprint 2011-24, Release 1.8.0 |
Components | Tooling |
Labels | n/a |
Reporter | Don Thorp |
Assignee | Bill Dawson |
Created | 2011-06-09T09:11:50.000+0000 |
Updated | 2017-03-03T17:42:22.000+0000 |
Description
When I tried to run validate the first time I was missing the yaml module. Detect 3rd party modules missing and help users install like we do in our other scripts.
sudo easy_install pyyaml
For test when the fix is available: * Check to see if you already have pyyaml installed by going into python and entering
import yaml
. * If you get an error, then proceed to next step. If not, that means you already have pyyaml, and you'll want to uninstall/rename it to test this. [Enjoy that](http://stackoverflow.com/questions/1231688/how-do-i-remove-packages-installed-with-pythons-easy-install). :) * Go to theapidoc/
folder in yourtitanium_mobile
source folder and enterpython validate.py
. * You should get a useful error message telling you you don't have pyyaml and how to install it.Reviewed.
Closing ticket due to time passed and irrelevance of ticket.