Deceptive instructions for installing Astropy in CASA
See original GitHub issueThese docs are a bit outdated and have a few problems: http://docs.astropy.org/en/stable/install.html#installing-astropy-into-casa
- The suggestion of using
easy_install
should be dropped entirely. - Don’t suggest using
pip.main
from a Python prompt. Thepip
module was never intended to be used as a library and the fact that people do so has been a headache for the pip developers.pip.main
has since been deprecated and removed (actually moved topip._internal
) to discourage its use. - I have played with Astropy in CASA before but not in a long time, so I don’t know why it’s easier to ask users to do things this way. But if it must be (as opposed to just providing the right
python -m pip ...
command), something like this would be better:
import subprocess, sys
subprocess.check_call([sys.executable, '-m', 'pip', 'install', ...])
Issue Analytics
- State:
- Created 5 years ago
- Comments:30 (30 by maintainers)
Top Results From Across the Web
Installation — Astropy v5.2
Users of the Anaconda Python distribution should follow the instructions for Using Conda. To install astropy with pip, run: pip install astropy.
Read more >Installation of astropy in casa - python - Stack Overflow
I am trying to install astropy into CASA 4.3.1 on my Mac. I'm following the instructions found here. But after running pip.main(['install', ...
Read more >Untitled
Yoga jones quotes, Nvidia 301.42 won't install! ... Junker wr 275-8, Detrazioni casa 2013, Neo malthusian vs anti malthusian, Chalisgaon railway station, ...
Read more >Manual for XCLASS-Interface
XCLASS interface directory or if you install a new CASA version. ... following python packages: numpy, scipy, pyfits (astropy), ...
Read more >OtherPackages - CASA Guides
To add astropy to CASA we recommend following the instructions ... 3.1 How to Identify Your CASA Python; 3.2 Installing Packages to the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
but if they don’t willing to support it, then what can we do anyway 🤷♀️
There was a stop-gap warning inserted in #8043 for 3.1, so removing milestone.