On Friday, February 5, 2016 at 2:09:11 PM UTC-7, Bernardo Sulzbach wrote: > On 02/05/2016 07:01 PM, Chris Angelico wrote: > > On Sat, Feb 6, 2016 at 6:58 AM, <shaunak.bang...@gmail.com> wrote: > >> I am running this python script on R-studio. I have Python 3.5 installed > >> on my system. > >> > > > > Let's just try a quick smoke test. Run this script: > > > > import sys > > print(sys.version) > > input("Press Enter to exit...") > > > > That'll tell you a few things about how your system is set up. Most > > notably, if it doesn't say you're using Python 3.5, there's a problem. > > > > ChrisA > > > > Is there? If he just got the minor version wrong it wouldn't be a > problem. Unless RStudio requires 3.**5** for some reason.
Hi Chris, Output: 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:16:59) [MSC v.1900 32 bit (Intel)] Hi Martin, I do have the initiation command defined. Just that I am not allowed to make the username, pwd public. I am absolutely sure I am running the same code. Now opened the same file with Python 3.5 shell and I get following error: from _ssl import RAND_status, RAND_egd, RAND_add ImportError: cannot import name 'RAND_egd' I am new to coding and this code has been borrowed from an online source but I can see same code working on mac+Rstudio+python combo. Salute your patience. Sincerely, -- https://mail.python.org/mailman/listinfo/python-list