Opened 7 months ago
Closed 7 months ago
#2904 closed help (fixed)
Python on ARCHER: Iris not working
Reported by: | kieranmrhunt | Owned by: | um_support |
---|---|---|---|
Component: | ARCHER | Keywords: | python iris anaconda |
Cc: | Platform: | ARCHER | |
UM Version: |
Description
Hi,
I intend to use Iris to trim and convert some pp files before transferring them to an external server.
After using module load anaconda/python2-iris and then trying to import iris in a python script, I get the following traceback
File "/home/y07/y07/cse/anaconda/python2-iris/lib/python2.7/site-packages/scipy/linalg/misc.py", line 5, in <module> from .blas import get_blas_funcs File "/home/y07/y07/cse/anaconda/python2-iris/lib/python2.7/site-packages/scipy/linalg/blas.py", line 155, in <module> from scipy.linalg import _fblas ImportError: libgfortran.so.1: cannot open shared object file: No such file or directory
Am I missing another import or module? The documentation doesn't seem to be hugely helpful on this.
Thanks,
Kieran
Change History (4)
comment:1 Changed 7 months ago by dcase
comment:2 Changed 7 months ago by dcase
Kieran,
I was just wondering whether you'd found a work-around for your problem?
Dave
comment:3 Changed 7 months ago by kieranmrhunt
Hi Dave,
Thanks for your reply - I opted for a miniconda env in the end; all works fine now.
Feel free to close this!
Kieran
comment:4 Changed 7 months ago by dcase
- Resolution set to fixed
- Status changed from new to closed
Nice
Note: See
TracTickets for help on using
tickets.
Kieran,
Possibly this hasn't been installed properly, or has since been corrupted? If no-one suggests something smarter you could raise a ticket with the archer helpdesk (support@…) to get this re-installed, or IMO better, get your own anaconda (https://www.archer.ac.uk/documentation/user-guide/python.php#cenv).
If you want simple Iris functionality within python2.7 this afternoon, you could source the miniconda on my home dir source /home/n02/n02/dcase/miniconda2/bin/activate , which should allow you to run python -c 'import iris'
If there are permissions issues, let me know,
Dave