-
Notifications
You must be signed in to change notification settings - Fork 356
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
Exception: Cannot load CDF C library; checked . Try 'os.environ["CDF_LIB"] = library_directory' before import. #206
Comments
That looks like the path to the python wrapper of CDF. Try installing the library from https://cdf.gsfc.nasa.gov/ |
This is where cdf is installed . pip install cdflib |
Actually I'm not sure why you're seeing that error.
Line 9 of Please only open issues to ask questions about the code in this repo, not about changes that you have made locally, or code that you obtained elsewhere. |
I have checked it has. The problem is CDF library. It is not able to read the CDF library. as per repo i installed cdf using Please suggest. |
Like I said, you are working with some old version of this code, or you are using code from somewhere else: 3d-pose-baseline/src/data_utils.py Lines 7 to 14 in 666080d
No |
No I am using code of this repo only as i am training on my custom dataset so the dataset is in xml which is then converted using pandas. |
Hi,
I am trying to train the model on my custom dataset but while running ths script i get the below error:
I have already installed cdflib as per given in the repo but still error persists.
Traceback (most recent call last):
File "src/predict_3dpose.py", line 13, in
import data_utils
File "/home//src/data_utils.py", line 9, in
import xml_to_dataframe
File "/home/src/xml_to_dataframe.py", line 9, in
from spacepy import pycdf
File "/home//anaconda3/envs/3d-pose/lib/python3.6/site-packages/spacepy/pycdf/init.py", line 1303, in
'before import.').format(', '.join(_libpath)))
Exception: Cannot load CDF C library; checked . Try 'os.environ["CDF_LIB"] = library_directory' before import.
I even trying seeting the library path 👍
The text was updated successfully, but these errors were encountered: