×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Python 3 Mac OSX

  • Posts: 992
  • Thank you received: 155
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
4 years 8 months ago #40863

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

  • Posts: 19
  • Thank you received: 2

Replied by Richard Horn on topic Python 3 Mac OSX


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.
4 years 8 months ago #40871

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

  • Posts: 2876
  • Thank you received: 809

Replied by Rob Lancaster 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.
4 years 8 months ago #40881

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

  • Posts: 992
  • Thank you received: 155

Replied by Peter Kennett on topic Python 3 Mac OSX

Where do I find this Quickstart pdf?
4 years 8 months ago #40882

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

  • Posts: 992
  • Thank you received: 155

Replied by Peter Kennett 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?
The following user(s) said Thank You: Craig
4 years 8 months ago #40883

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

  • Posts: 2876
  • Thank you received: 809

Replied by Rob Lancaster 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
?
4 years 8 months ago #40891

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

  • Posts: 992
  • Thank you received: 155

Replied by Peter Kennett on topic Python 3 Mac OSX

pip didn't work, but pip3 did!
4 years 8 months ago #40900

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

  • Posts: 992
  • Thank you received: 155

Replied by Peter Kennett 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
4 years 8 months ago #40901

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

  • Posts: 1957
  • Thank you received: 420

Replied by Wouter van Reeven on topic Python 3 Mac OSX

Could you post the error message?
4 years 8 months ago #40902

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

  • Posts: 992
  • Thank you received: 155

Replied by Peter Kennett 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
4 years 8 months ago #40951

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

  • Posts: 2876
  • Thank you received: 809

Replied by Rob Lancaster 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.
4 years 8 months ago #40952

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

  • Posts: 527
  • Thank you received: 139

Replied by Andrew Burwell 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.
4 years 8 months ago #41315

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

Time to create page: 0.577 seconds