简体   繁体   中英

Struggling to install pyephem with pip3 on a Amazon EC2 instance

I can't seem to get pyephem Python framework installed using pip3 on my EC2 instance. This is the message I get:

https://pastebin.com/erL7VhYV

I tried to install various dependencies I could find by running

yum search astro

But it didn't help. What am I missing here?

Thanks

You missed Python.h — the main include file from Python sources. Install python3-dev package or how it's called in RPM distributions (I'm from DEB world).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM