Jump to content

Banner.jpg.b83b14cd4142fe10848741bb2a14c66b.jpg

Another Python installation problem


Recommended Posts

I am trying to install Montage to combine images into a mosaic.

I have downloaded the package (Montage_v6.0.tar.gz) and extracted it - it gave me another archive (Montage_06Nov 18.tar) which, upon extraction produced the array of files shown in the image in the folder: c:\admin\downloads\montage\montage.

Now, following the instructions given (Use the command: $ pip install MontagePy) I get the results show on the final image.

As you will see, I have navigated my way through the tree, trying at each stop, and always get the answer:

ERROR: Could not find a version that satisfies the requirement MontagePy (from versions: none)
ERROR: No matching distribution found for MontagePy

My searches on the internet turn up pages that I am sure would mean something to someone with an advanced degree in 'computing with python', but mean very little to someone who needs 'python for extra-dumb dummies'.

If it is relevant, I am using Python 3.10.11 (but not using that to run the pip command).

Can any of our computer experts offer suggestions as to why I am failing so miserably?

Thanks.

1powerdesk.png

2instructions.png

3install.png

Link to comment
Share on other sites

If you look up the detailed instructions online (available at: http://montage.ipac.caltech.edu/docs/montagePy-UG.html) it recommends using Anaconda and version 3.6 of Python or above. 

Have you gone to PyPI to download the package (https://pypi.org/) - from this webpage you can search for MontagePy and there is only result from the search (MontagePy 1.2.3). Have you tried downloading this one and then using pip install?

Actually, thinking about it a bit more, what I think you have downloaded is the source code, not the actual package for installation. 

Hope this helps

Edited by iantaylor2uk
typo
Link to comment
Share on other sites

Yes, I have python installed (not sure what anaconda is - its webpage talks about it being for development, which is waaaay outside my wheelhouse) and regularly use it to run pyephem. It seems (from the webpage) that it is montagepy that requires either unix or linux.

Thanks.

Link to comment
Share on other sites

As I see it, the problem here is that Montage consists of binaries (as opposed to source code) for Linux/OSX (these binaries being created from the original Montage C code). So even with a Python distribution (+/- Anaconda) on Windows there is no way to run the code without going back to the original C and going through the build process.

BTW Anaconda is a distribution containing lots of mainly scientific Python code (plus a few tools to help install new stuff). I used to use it but it is rather bloated. An alternative is miniconda, or -- my preference these days -- just download/install the required stuff as and when you need it, using pip.

Martin

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.