I am new to python. Have installed python ver 3.7.3, visual studio and build tools. Have executed the command 'python -m pip install -U pip setuptools' before installing the ephem. The following message is displayed and ephem install fails:
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
Command "c:\users\aomine\appdata\local\programs\python\python37-32\python.exe -u -c "import setuptools, tokenize;file='C:\Users\Aomine\AppData\Local\Temp\pip-install-eouyp2bg\ephem\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\Aomine\AppData\Local\Temp\pip-record-_98cs8eb\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Aomine\AppData\Local\Temp\pip-install-eouyp2bg\ephem\