×

INDI Library v1.8.0 is Released (27 Jul 2019)

INDI Library v1.8.0 is mostly a maintenance release to fix a few bugs in several drivers.

Python 3 Mac OSX

  • Posts: 237
  • Karma: 8
  • Thank you received: 41

Python 3 Mac OSX was created by PK

I upgraded Kstars and now I get this error on my Macbook (OSX 10.13.6) :

Astrometry.net uses python3 and the astropy package for plate solving images offline. These were not detected on your system. Please go into the Align Options and either click the setup button to install them or uncheck the default button and enter the path to python3 on your system and manually install astropy.

Has this been addressed yet?

Peter

iOptron CEM25P
William Optics Star71
ASI 1600Mm Pro
Moonlight motorfocus
LodeStar X2 and ZWO OAG
DewBuster
NANO PC-T4
1 month 2 weeks ago #40863

Please Log in or Create an account to join the conversation.

  • Posts: 18
  • Thank you received: 2

Replied by richorn on topic Python 3 Mac OSX

PK wrote: I upgraded Kstars and now I get this error on my Macbook (OSX 10.13.6) :

<strong><em>Astrometry.net uses python3 and the astropy package for plate solving images offline. These were not detected on your system. Please go into the Align Options and either click the setup button to install them or uncheck the default button and enter the path to python3 on your system and manually install astropy.</em></strong>

Has this been addressed yet?

Peter


I had a similar issue in the midst of my initial setup on the StellarMate. what I did to fix it was: In the solver/alignment tab within a running Ekos window, Click on Options. That opens the Astrometry window. On the first tab is a "SETUP" button next to the python check box. Click on setup. It will either walk through the installs or tell you they are already installed. I think I had to run it a couple times before my errors went away.

Hope this helps. I am a major newbie.
1 month 2 weeks ago #40871

Please Log in or Create an account to join the conversation.

  • Posts: 1829
  • Karma: 19
  • Thank you received: 553

Replied by rlancaste on topic Python 3 Mac OSX

Correct, this is not an error. It is a change I had to make due to some issues I had with python. I used to bundle a stripped down version of python inside the app bundle, but that no longer seems to be a good option since it isn’t reliable if you build it on a new system. So basically now you have to install python on your system. I wrote an installer as Peter described that will do all this for you. It is all explained in the quick start pdf.
1 month 2 weeks ago #40881

Please Log in or Create an account to join the conversation.

  • Posts: 237
  • Karma: 8
  • Thank you received: 41

Replied by PK on topic Python 3 Mac OSX

Where do I find this Quickstart pdf?

iOptron CEM25P
William Optics Star71
ASI 1600Mm Pro
Moonlight motorfocus
LodeStar X2 and ZWO OAG
DewBuster
NANO PC-T4
1 month 2 weeks ago #40882

Please Log in or Create an account to join the conversation.

  • Posts: 237
  • Karma: 8
  • Thank you received: 41

Replied by PK on topic Python 3 Mac OSX

Ok, Python installed:

Homebrew installed
Python3 installed
Astropy will install when you click Ok

But Astropy fails to install when I press OK, so how do I install it manually?

iOptron CEM25P
William Optics Star71
ASI 1600Mm Pro
Moonlight motorfocus
LodeStar X2 and ZWO OAG
DewBuster
NANO PC-T4
The following user(s) said Thank You: pug916
1 month 2 weeks ago #40883

Please Log in or Create an account to join the conversation.

  • Posts: 1829
  • Karma: 19
  • Thank you received: 553

Replied by rlancaste on topic Python 3 Mac OSX

At the command line, it should be either

pip install astropy

Or

pip3 install astropy

What happens when you either type

which pip

or

which pip3
?
1 month 2 weeks ago #40891

Please Log in or Create an account to join the conversation.

  • Posts: 237
  • Karma: 8
  • Thank you received: 41

Replied by PK on topic Python 3 Mac OSX

pip didn't work, but pip3 did!

iOptron CEM25P
William Optics Star71
ASI 1600Mm Pro
Moonlight motorfocus
LodeStar X2 and ZWO OAG
DewBuster
NANO PC-T4
1 month 2 weeks ago #40900

Please Log in or Create an account to join the conversation.

  • Posts: 237
  • Karma: 8
  • Thank you received: 41

Replied by PK on topic Python 3 Mac OSX

Ok, everything downloaded fine, and in OSX, the Align Module's Astrimetry.net's SETUP button shows that everything is installed.
If I use the online saver, all works.
But off-line it fails. It never failed before I upgraded.
:(

Peter

iOptron CEM25P
William Optics Star71
ASI 1600Mm Pro
Moonlight motorfocus
LodeStar X2 and ZWO OAG
DewBuster
NANO PC-T4
1 month 2 weeks ago #40901

Please Log in or Create an account to join the conversation.

  • Posts: 934
  • Karma: 6
  • Thank you received: 239

Replied by wvreeven on topic Python 3 Mac OSX

Could you post the error message?
ASI1600MM-Pro Cooled and filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro

ASI1600MM-Pro Cooled and filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R
1 month 2 weeks ago #40902

Please Log in or Create an account to join the conversation.

  • Posts: 237
  • Karma: 8
  • Thank you received: 41

Replied by PK on topic Python 3 Mac OSX

Well to be fair, I need to test it in the field with my real gear and not in my living room using simulated gear.
The problem is getting a clear sky here on the equator in east Africa, and arranging armed rangers to come out with me to my dark sky site in the bush. I do not want to get eaten. I will try this weekend.

Peter

iOptron CEM25P
William Optics Star71
ASI 1600Mm Pro
Moonlight motorfocus
LodeStar X2 and ZWO OAG
DewBuster
NANO PC-T4
1 month 1 week ago #40951

Please Log in or Create an account to join the conversation.

  • Posts: 1829
  • Karma: 19
  • Thank you received: 553

Replied by rlancaste on topic Python 3 Mac OSX

So I would definitely recommend making sure everything works with simulators before going out in the field.

I can’t do much at the moment because I am on vacation right now and don’t have very good internet, which is why it has taken me awhile to respond. But I will be able to do more after the 14th of July.

I would like to know why the automated installer failed to install astropy, because it should have worked unless you have something odd about your python installation.

I would recommend checking to see that it works now using the ccd and telescope simulators in offline mode. If it doesn’t, check to see that the index files are installed gsc is installed, and where python3 is installed. If there is a problem, Ekos should print the error messages to the log now because I changed it. You should not have to paste the commands to terminal anymore.
1 month 1 week ago #40952

Please Log in or Create an account to join the conversation.

  • Posts: 186
  • Karma: 2
  • Thank you received: 54

Replied by Lead_weight on topic Python 3 Mac OSX

I just updated to 3.1 tonight, and ran into the same issue. When attempting to install the software through the button, it failed on the first step. "Python failed to install". I hadn't read this thread yet, so I didn't attempt to do it again before reverting back to 3.0.
-Andrew
––––––––––
Mac Observatory - All about using the Mac for Astrophotography: www.macobservatory.com
Astrobin: www.astrobin.com/users/Lead_Weight/
4 weeks 2 days ago #41315

Please Log in or Create an account to join the conversation.

Time to create page: 0.403 seconds