-
1. Re: VizAlerts Twilio insall issue
Matt ColesMay 2, 2017 7:53 AM (in response to Clair Wang)
Hey Clair, sorry you're having this issue. I haven't hit this one myself, but try the suggestions here:
Unable to find vcvarsall.bat - The 3 Main Fixes for Windows
My hunch (hope) is that #1 will fix it:
pip install –upgrade setuptools
...then restart your command line and try to accomplish whatever you were trying before.
-
2. Re: VizAlerts Twilio insall issue
Clair Wang May 3, 2017 8:17 AM (in response to Matt Coles)Hi Matt,
pip instll --upgrad setuptools did not fix issue.
According to error message, Looks like a file in openssl cannot be found. do you have suggestion the best way to install openssl for this?
Thanks,
Clair
-
-
4. Re: VizAlerts Twilio insall issue
Matt ColesMay 3, 2017 10:17 AM (in response to Clair Wang)
Yeah, I'll be honest, I've got no idea what's going on with your environment at this point. Were Python and other assorted packages previously installed on this machine? If you installed Python for the first time, what version did you use, and how did you do it?
-
5. Re: VizAlerts Twilio insall issue
Clair Wang May 3, 2017 11:16 AM (in response to Matt Coles)Yes it is the first time we install Python in this environment (a new QA environment in AWS, Windows 2012 R2). I followed the vizalerts installation guide to download the files and install them one by one: python installation is successful, and all other 4 packages are installed successfully (request, requests_ntlm, pypdf2, phonenumberslite), but get stuck at twilio...
-
6. Re: VizAlerts Twilio insall issue
Matt ColesMay 3, 2017 11:38 AM (in response to Clair Wang)
2 of 2 people found this helpfulAre you doing an offline install, as is described in the appendix for the install_guide? If not, here's a shot in the dark:
Create a folder "c:\mypythonpackages" (or call it whatever you want, and sub in the path in the lines below).
pip install --download c:\mypythonpackages twilio==5.7.0
pip install --no-index --find-links file:c:\mypythonpackages twilio==5.7.0
If your machine doesn't have internet access, run the first command on a machine that does, then copy the c:\mypythonpackages to the one that doesn't, then run the last one on that machine.
-
7. Re: VizAlerts Twilio insall issue
Clair Wang May 3, 2017 12:13 PM (in response to Matt Coles)Good news, that worked! what caused this issue please? if you can drop a few words that will save me a lot of googling. Thanks a lot!
-
8. Re: VizAlerts Twilio insall issue
Matt ColesMay 3, 2017 12:21 PM (in response to Clair Wang)
1 of 1 people found this helpfulI have even less of an idea of the problem than I did when the thread started Glad to hear that that fixed it though!
My guess is that somehow the initial pip install command for Twilio resulted in not all the files that were needed for pip to compile that package making it to your computer. Why, I don't know...maybe a network hiccup, maybe a certificate issue, maybe something weird with the Python version interacting with the new Twilio package (but not the old 5.7.0 version)? The commands I provided just download all the files needed to install the twilio package as if you needed to do it for a machine that doesn't have Internet access...then tries to install them.
-
9. Re: VizAlerts Twilio insall issue
Clair Wang May 3, 2017 12:30 PM (in response to Matt Coles)That makes sense. Our new servers in AWS have stronger restrictions than usual that might caused the issue. Thanks very much for your help!
-
10. Re: VizAlerts Twilio insall issue
Clair Wang May 16, 2017 5:51 AM (in response to Matt Coles)Just did.
Thanks,
Clair
-
image002.jpg 30.2 KB
-