Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation via conda (init cache directory) #11

Closed
AugustinMortier opened this issue Nov 26, 2018 · 0 comments
Closed

Installation via conda (init cache directory) #11

AugustinMortier opened this issue Nov 26, 2018 · 0 comments

Comments

@AugustinMortier
Copy link
Member

I have lustre mounted in root but only read access. After installation of v0.7.0 using

conda install -c nordicesmhub -c conda-forge pyaerocom

I get the following error when trying to import pyaerocom:

>>> import pyaerocom as pya
Init data paths for lustre
0.0041120052337646484 s
Failed to access CACHEDIR: PermissionError(13, 'Permission denied')Deactivating caching
Failed to access CACHEDIR: PermissionError(13, 'Permission denied')Deactivating caching
Failed to access CACHEDIR: PermissionError(13, 'Permission denied')Deactivating caching
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/augustinm/miniconda3/lib/python3.6/site-packages/pyaerocom/__init__.py", line 93, in <module>
    from . import analysis
  File "/home/augustinm/miniconda3/lib/python3.6/site-packages/pyaerocom/analysis.py", line 24, in <module>
    from pyaerocom.io import ReadUngridded, ReadGridded
  File "/home/augustinm/miniconda3/lib/python3.6/site-packages/pyaerocom/io/__init__.py", line 74, in <module>
    from .readungridded import ReadUngridded
  File "/home/augustinm/miniconda3/lib/python3.6/site-packages/pyaerocom/io/readungridded.py", line 54, in <module>
    class ReadUngridded(object):
  File "/home/augustinm/miniconda3/lib/python3.6/site-packages/pyaerocom/io/readungridded.py", line 68, in ReadUngridded
    _DONOTCACHEFILE = os.path.join(const.OBSDATACACHEDIR, 'DONOTCACHE')
  File "/home/augustinm/miniconda3/lib/python3.6/posixpath.py", line 80, in join
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
@jgliss jgliss closed this as completed in d6728a3 Nov 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant