×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Python 3 Mac OSX

  • Posts: 107
  • Thank you received: 4

Replied by Chris Alberts on topic Python 3 Mac OSX

i have same issue but i have the following error where in the pip3 configuration can i check this on mac

pip3 install astropy
Collecting astropy
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 503 Service Unavailable',))': /artifactory/api/pypi/pypi_python_org/simple/astropy/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 503 Service Unavailable',))': /artifactory/api/pypi/pypi_python_org/simple/astropy/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 503 Service Unavailable',))': /artifactory/api/pypi/pypi_python_org/simple/astropy/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 503 Service Unavailable',))': /artifactory/api/pypi/pypi_python_org/simple/astropy/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 503 Service Unavailable',))': /artifactory/api/pypi/pypi_python_org/simple/astropy/
Could not find a version that satisfies the requirement astropy (from versions: )
No matching distribution found for astropy

Chris
4 years 7 months ago #42406

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

  • Posts: 2877
  • Thank you received: 812

Replied by Rob Lancaster on topic Python 3 Mac OSX

Sounds like a server is down perhaps? Maybe try again later?
4 years 7 months ago #42412

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

  • Posts: 2877
  • Thank you received: 812

Replied by Rob Lancaster on topic Python 3 Mac OSX

Another possibility from searching online is that you might have an older version of pip3 because they moved servers:
to try upgrading type this into the terminal:
python3 -m pip install --upgrade pip

Or maybe a proxy issue?
Last edit: 4 years 7 months ago by Rob Lancaster.
4 years 7 months ago #42413

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

  • Posts: 107
  • Thank you received: 4

Replied by Chris Alberts on topic Python 3 Mac OSX

I fixed it it was caused by my company setup of python, arfactory setup it looks our company servers
But still i have issue with solving offline not possible will it dit work i found a other thread of you with local install of atromery.net (binaries are missing) but still no success

chris
4 years 7 months ago #42446

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

  • Posts: 19
  • Thank you received: 0

Replied by Ryan McMurray on topic Python 3 Mac OSX

I am having some issue trying to get the astropy to work as well. I am NOT a computer guy. I am kind of amazed Ive been able to get this far. I have installed everything under the sun, or so I think I have. Here is the error message I get when ekos starts up. I am also getting this message after I run your setup. Everything has been installed as far as I can tell. And I entered your commands in the earlier post into terminal. not sure if thats where Im even supposed to put it. Any help would be great! Thanks!!
4 years 1 month ago #50298
Attachments:

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

  • Posts: 2877
  • Thank you received: 812

Replied by Rob Lancaster on topic Python 3 Mac OSX

So a couple of weeks ago, I came up with a better solution to this problem. You can now use sextractor instead of python in the latest version of kstars and then you don't have to go through all the python setup.



Last edit: 4 years 1 month ago by Rob Lancaster.
4 years 1 month ago #50311
Attachments:

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

  • Posts: 12
  • Thank you received: 0

Replied by luca porfiri on topic Python 3 Mac OSX

I recommend installing Python 3, from www.python.org website. Then, for me, everything becomes simple and I installed the remaining without problems. For was SOLVED
4 years 1 month ago #50692

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

  • Posts: 12
  • Thank you received: 0

Replied by luca porfiri on topic Python 3 Mac OSX

I recommend installing Python 3, from www.python.org website. Then everything becomes simple and I installed without problems. For me is SOLVED
4 years 1 month ago #50693

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


As promised on Facebook, here is a reply. Judging by the screenshots that you included, astropy failed to install. Can you open a command line terminal and type

brew install astropy

and let us know what the result of that command was?


Wouter
4 years 3 weeks ago #51177

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

  • Posts: 19
  • Thank you received: 0

Replied by Ryan McMurray on topic Python 3 Mac OSX

I think its telling me that anaconda installed astropy. I get an error code when I tell brew to do it. Here is a screen grab.
4 years 3 weeks ago #51178
Attachments:

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

Sorry, my bad. I typed too quickly and was assuming that astrometry.net needed to be installed instead of astropy. There indeed is no homebrew cask for astropy.

And thanks to your reply I see what the problem could be. KStars doesn't know about anaconda and wants to install astropy globally on your Mac instead of relying on anaconda. I am afraid that the different Python installations are competing with each other. Can you try to disable anaconda for your terminal (edit .profile and comment out all anaconda related lines by putting a # at the start of the line) and restart your terminal? Then try the pip install astropy command again and let us know how it went.
4 years 3 weeks ago #51179

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

If you haven't tried it yet. Try the sextractor settings. This is an area that was updated recently where people (including myself) had trouble with multiple versions of python installed. See my settings. This skips python, using sextractor instead, and alleviated all my issues. It's also way faster at plate solving than python was. You will need to install the latest version of KStars/EKOS to access this.

4 years 3 weeks ago #51180
Attachments:

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

Time to create page: 1.040 seconds