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

Import issues #9

Open
tjryankeogh opened this issue Jan 23, 2019 · 1 comment
Open

Import issues #9

tjryankeogh opened this issue Jan 23, 2019 · 1 comment

Comments

@tjryankeogh
Copy link

~/Documents/Git/narwhal-master/narwhal/gsw.py in ()
12 return splitext(s)[1] == ".so" and s.startswith("cgsw")
13
---> 14 name = list(filter(find_gsw, listdir(install_dir)))[0]
15 cgsw = ctypes.cdll.LoadLibrary(join(install_dir, name))
16

IndexError: list index out of range

@njwilson23
Copy link
Owner

I wasn't able to reproduce.

Are there any .so files in your install directory? (Just to be sure, note that if you did pip install . from the git checkout, your install directory probably isn't in the same place as ~/Documents/Git/narwhal-master/narwhal/gsw.py. If you want it to be, pip install -e . should do that.)

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

2 participants