Hey Clair, sorry you're having this issue. I haven't hit this one myself, but try the suggestions here:
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.
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?
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?
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...
2 of 2 people found this helpful
Are 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.
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!
1 of 1 people found this helpful
I 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.
That makes sense. Our new servers in AWS have stronger restrictions than usual that might caused the issue. Thanks very much for your help!