Created
December 24, 2015 06:23
-
-
Save willingc/9dd6efb251399e84468f to your computer and use it in GitHub Desktop.
Check packages installed for running pymc and jupyter notebook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# checkmypackages.sh | |
# | |
# Make sure that to run this script that you have given the script | |
# permissions suitable for executing | |
echo "Running checkmypackages.sh" | |
echo "This script checkmypython.sh gives info about packages that have been" | |
echo "pip installed on your system." | |
echo "Packages installed by pip" | |
python --version | |
pip list | grep jupyter | |
pip list | grep notebook | |
pip list | grep numpy | |
pip list | grep scipy | |
pip list | grep pymc | |
echo "Packages install using pip3" | |
python3 --version | |
pip3 list | grep jupyter | |
pip3 list | grep notebook | |
pip3 list | grep numpy | |
pip3 list | grep scipy | |
pip3 list | grep pymc | |
echo "check import of pymc" | |
python -c "import pymc; print(pymc.__version__)" | |
python3 -c "import pymc; print(pymc.__version__)" | |
echo "End of script" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment