Merhaba arkadaşlar, TUBITAK projem için FBProphet modülünü kullanmam gerekiyor, bu modül kurumlumunda yanında Ephem modülünü de getiriyor fakat Ephem modülü kurulamadığı için hata veriyor. Ama garip bir nokta daha var, conda ile kurulum yaptığımda kuruluyor; daha da garibi VSCode ve Spyder bu modülü görmüyor sadece Jupyter Notebook görüyor. Yaklaşık 900 satır kod var ve bunlarla Jupyter Notebook’da çalışmak insanı hayattan soğutuyor. Yani kısaca Ephemi nasıl kurabilirim?
Collecting ephem
Using cached ephem-3.7.7.1.tar.gz (745 kB)
Using legacy 'setup.py install' for ephem, since package 'wheel' is not installed.
Installing collected packages: ephem
Running setup.py install for ephem ... | WARNING: Subprocess output does not appear to be encoded as cp1254
error
ERROR: Command errored out with exit status 1:
command: 'c:\users\ayber\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ayber\\AppData\\Local\\Temp\\pip-install-mqv_5g1r\\ephem_c00bdf42a22040bca234e996fe97206c\\setup.py'"'"'; __file__='"'"'C:\\Users\\ayber\\AppData\\Local\\Temp\\pip-install-mqv_5g1r\\ephem_c00bdf42a22040bca234e996fe97206c\\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\ayber\AppData\Local\Temp\pip-record-h674qalr\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\ayber\appdata\local\programs\python\python39\Include\ephem'
cwd: C:\Users\ayber\AppData\Local\Temp\pip-install-mqv_5g1r\ephem_c00bdf42a22040bca234e996fe97206c\
Complete output (78 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\ephem
copying ephem\cities.py -> build\lib.win-amd64-3.9\ephem
copying ephem\stars.py -> build\lib.win-amd64-3.9\ephem
copying ephem\__init__.py -> build\lib.win-amd64-3.9\ephem
creating build\lib.win-amd64-3.9\ephem\tests
copying ephem\tests\test_angles.py -> build\lib.win-amd64-3.9\ephem\tests
copying ephem\tests\test_bodies.py -> build\lib.win-amd64-3.9\ephem\tests
copying ephem\tests\test_cities.py -> build\lib.win-amd64-3.9\ephem\tests
copying ephem\tests\test_constants.py -> build\lib.win-amd64-3.9\ephem\tests
copying ephem\tests\test_dates.py -> build\lib.win-amd64-3.9\ephem\tests
copying ephem\tests\test_github_issues.py -> build\lib.win-amd64-3.9\ephem\tests
copying ephem\tests\test_jpl.py -> build\lib.win-amd64-3.9\ephem\tests
copying ephem\tests\test_launchpad_236872.py -> build\lib.win-amd64-3.9\ephem\tests
copying ephem\tests\test_launchpad_244811.py -> build\lib.win-amd64-3.9\ephem\tests
copying ephem\tests\test_locales.py -> build\lib.win-amd64-3.9\ephem\tests
copying ephem\tests\test_observers.py -> build\lib.win-amd64-3.9\ephem\tests
copying ephem\tests\test_rst.py -> build\lib.win-amd64-3.9\ephem\tests
copying ephem\tests\test_satellite.py -> build\lib.win-amd64-3.9\ephem\tests
copying ephem\tests\test_stars.py -> build\lib.win-amd64-3.9\ephem\tests
copying ephem\tests\test_usno.py -> build\lib.win-amd64-3.9\ephem\tests
copying ephem\tests\test_usno_equinoxes.py -> build\lib.win-amd64-3.9\ephem\tests
copying ephem\tests\__init__.py -> build\lib.win-amd64-3.9\ephem\tests
creating build\lib.win-amd64-3.9\ephem\doc
copying ephem\doc\angle.rst -> build\lib.win-amd64-3.9\ephem\doc
copying ephem\doc\catalogs.rst -> build\lib.win-amd64-3.9\ephem\doc
copying ephem\doc\CHANGELOG.rst -> build\lib.win-amd64-3.9\ephem\doc
copying ephem\doc\coordinates.rst -> build\lib.win-amd64-3.9\ephem\doc
copying ephem\doc\date.rst -> build\lib.win-amd64-3.9\ephem\doc
copying ephem\doc\examples.rst -> build\lib.win-amd64-3.9\ephem\doc
copying ephem\doc\index.rst -> build\lib.win-amd64-3.9\ephem\doc
copying ephem\doc\newton.rst -> build\lib.win-amd64-3.9\ephem\doc
copying ephem\doc\quick.rst -> build\lib.win-amd64-3.9\ephem\doc
copying ephem\doc\radec.rst -> build\lib.win-amd64-3.9\ephem\doc
copying ephem\doc\reference.rst -> build\lib.win-amd64-3.9\ephem\doc
copying ephem\doc\rise-set.rst -> build\lib.win-amd64-3.9\ephem\doc
copying ephem\doc\tutorial.rst -> build\lib.win-amd64-3.9\ephem\doc
creating build\lib.win-amd64-3.9\ephem\tests\jpl
copying ephem\tests\jpl\europa.txt -> build\lib.win-amd64-3.9\ephem\tests\jpl
copying ephem\tests\jpl\hyperion.txt -> build\lib.win-amd64-3.9\ephem\tests\jpl
copying ephem\tests\jpl\jupiter.txt -> build\lib.win-amd64-3.9\ephem\tests\jpl
copying ephem\tests\jpl\mars.txt -> build\lib.win-amd64-3.9\ephem\tests\jpl
copying ephem\tests\jpl\neptune.txt -> build\lib.win-amd64-3.9\ephem\tests\jpl
copying ephem\tests\jpl\oberon.txt -> build\lib.win-amd64-3.9\ephem\tests\jpl
copying ephem\tests\jpl\phobos.txt -> build\lib.win-amd64-3.9\ephem\tests\jpl
copying ephem\tests\jpl\saturn.txt -> build\lib.win-amd64-3.9\ephem\tests\jpl
copying ephem\tests\jpl\uranus.txt -> build\lib.win-amd64-3.9\ephem\tests\jpl
creating build\lib.win-amd64-3.9\ephem\tests\usno
copying ephem\tests\usno\appgeo_deneb.txt -> build\lib.win-amd64-3.9\ephem\tests\usno
copying ephem\tests\usno\appgeo_jupiter.txt -> build\lib.win-amd64-3.9\ephem\tests\usno
copying ephem\tests\usno\appgeo_moon.txt -> build\lib.win-amd64-3.9\ephem\tests\usno
copying ephem\tests\usno\appgeo_sun.txt -> build\lib.win-amd64-3.9\ephem\tests\usno
copying ephem\tests\usno\apptopo_deneb.txt -> build\lib.win-amd64-3.9\ephem\tests\usno
copying ephem\tests\usno\apptopo_moon.txt -> build\lib.win-amd64-3.9\ephem\tests\usno
copying ephem\tests\usno\apptopo_sun.txt -> build\lib.win-amd64-3.9\ephem\tests\usno
copying ephem\tests\usno\astrom_antares.txt -> build\lib.win-amd64-3.9\ephem\tests\usno
copying ephem\tests\usno\astrom_mercury.txt -> build\lib.win-amd64-3.9\ephem\tests\usno
copying ephem\tests\usno\astrom_neptune.txt -> build\lib.win-amd64-3.9\ephem\tests\usno
copying ephem\tests\usno\moon_phases.txt -> build\lib.win-amd64-3.9\ephem\tests\usno
copying ephem\tests\usno\risettran_moon.txt -> build\lib.win-amd64-3.9\ephem\tests\usno
copying ephem\tests\usno\risettran_rigel.txt -> build\lib.win-amd64-3.9\ephem\tests\usno
copying ephem\tests\usno\riset_moon.txt -> build\lib.win-amd64-3.9\ephem\tests\usno
copying ephem\tests\usno\riset_sun.txt -> build\lib.win-amd64-3.9\ephem\tests\usno
running build_ext
building 'ephem._libastro' extension
creating build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release
creating build\temp.win-amd64-3.9\Release\extensions
creating build\temp.win-amd64-3.9\Release\extensions\data
creating build\temp.win-amd64-3.9\Release\libastro-3.7.7
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilibastro-3.7.7 -I. -Ic:\users\ayber\appdata\local\programs\python\python39\include -Ic:\users\ayber\appdata\local\programs\python\python39\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include /Tcextensions/_libastro.c /Fobuild\temp.win-amd64-3.9\Release\extensions/_libastro.obj
_libastro.c
c:\users\ayber\appdata\local\programs\python\python39\include\pyconfig.h(59): fatal error C1083: i‡erme dosyas\x8d a‡\x8dlam\x8dyor: 'io.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29333\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\ayber\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ayber\\AppData\\Local\\Temp\\pip-install-mqv_5g1r\\ephem_c00bdf42a22040bca234e996fe97206c\\setup.py'"'"'; __file__='"'"'C:\\Users\\ayber\\AppData\\Local\\Temp\\pip-install-mqv_5g1r\\ephem_c00bdf42a22040bca234e996fe97206c\\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\ayber\AppData\Local\Temp\pip-record-h674qalr\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\ayber\appdata\local\programs\python\python39\Include\ephem' Check the logs for full command output.