Astronomy

Trouble installing drizzlepac

Trouble installing drizzlepac


We are searching data for your request:

Forums and discussions:
Manuals and reference books:
Data from registers:
Wait the end of the search in all databases.
Upon completion, a link will appear to access the found materials.

I'm trying to install drizzlepac to follow this tutorial on aligning hst images: https://spacetelescope.github.io/notebooks/notebooks/DrizzlePac/align_to_catalogs/align_to_catalogs.html

However, I get the following errors:

ERROR: Command errored out with exit status 1: command: 'e:ProgramDataAnaconda3python.exe"e:ProgramDataAnaconda3libsite-packagespip\_vendorpep517\_in_process.py' get_requires_for_build_wheel 'C:UsersFAILTZ~1.DESAppDataLocalTemp	mpl00kr2fm' cwd: C:UsersFAILTZ~1.DESAppDataLocalTemppip-install-1l1f4o5xdrizzlepac Complete output (26 lines): Traceback (most recent call last): File "e:ProgramDataAnaconda3libsite-packagespip\_vendorpep517\_in_process.py", line 280, in  main() File "e:ProgramDataAnaconda3libsite-packagespip\_vendorpep517\_in_process.py", line 263, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "e:ProgramDataAnaconda3libsite-packagespip\_vendorpep517\_in_process.py", line 114, in get_requires_for_build_wheel return hook(config_settings) File "C:UsersFAILTZ~1.DESAppDataLocalTemppip-build-env-ey64g5zmoverlayLibsite-packagessetuptoolsuild_meta.py", line 147, in get_requires_for_build_wheel config_settings, requirements=['wheel']) File "C:UsersFAILTZ~1.DESAppDataLocalTemppip-build-env-ey64g5zmoverlayLibsite-packagessetuptoolsuild_meta.py", line 127, in _get_build_requires self.run_setup() File "C:UsersFAILTZ~1.DESAppDataLocalTemppip-build-env-ey64g5zmoverlayLibsite-packagessetuptoolsuild_meta.py", line 249, in run_setup self).run_setup(setup_script=setup_script) File "C:UsersFAILTZ~1.DESAppDataLocalTemppip-build-env-ey64g5zmoverlayLibsite-packagessetuptoolsuild_meta.py", line 142, in run_setup exec(compile(code, __file__, 'exec'), locals()) File "setup.py", line 23, in  check_call(['git', 'clone', 'https://github.com/spacetelescope/relic.git']) File "e:ProgramDataAnaconda3libsubprocess.py", line 358, in check_call retcode = call(*popenargs, **kwargs) File "e:ProgramDataAnaconda3libsubprocess.py", line 339, in call with Popen(*popenargs, **kwargs) as p: File "e:ProgramDataAnaconda3libsubprocess.py", line 800, in __init__ restore_signals, start_new_session) File "e:ProgramDataAnaconda3libsubprocess.py", line 1207, in _execute_child startupinfo) FileNotFoundError: [WinError 2] The system cannot find the file specified ---------------------------------------- ERROR: Command errored out with exit status 1: 'e:ProgramDataAnaconda3python.exe"e:ProgramDataAnaconda3libsite-packagespip\_vendorpep517\_in_process.py' get_requires_for_build_wheel 'C:UsersFAILTZ~1.DESAppDataLocalTemp	mpl00kr2fm' Check the logs for full command output.

This was using pip within an anaconda prompt. If I try to use conda, it can't find the package.

I'm extremely new to python, so I'm sure I'm doing something relatively basic wrong! But I've been bashing my head against this for a while.


As I understand it, you should not be usingpipwith Anaconda or you will get into a mess. Unfortunately, that's not the main issue here.

The workbook you linked has a banner at the top that mentions an initialization workbook, which is on this page. On that page it states that "Users unfamiliar with Anaconda/Astroconda should see the documentation."

I am unfamiliar with Astroconda, so I went to the documentation page which lists the following requirements:

System Requirements

  • 64-bit Intel/AMD processor (x86_64)
  • 64-bit Linux (glibc ≥ 2.12) or Mac OS X (≥ 10.7)
  • BASH or ZSH as your default shell environment (T/CSH is NOT supported)

I see from your command line that you are using this on Windows. That is not listed as a supported operating system: the software is Linux/Mac only.