-
Notifications
You must be signed in to change notification settings - Fork 86
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
[Bug]: 'Core' not a namespace #1563
Comments
To confirm, is this error from using the same dandiset described in the docs? |
Ah, no its not! I neglected to include that. |
Can you please install pynwb using these instructions? You need to do a special command that includes submodules. It should work once you do that |
Excellent. I think that fixed this issue, but I can't say verify this for certain because I am getting a new error now with the same code. Here's the traceback.
Is this me misusing the example code or a bug with the package? |
Did you do this?
|
I think you may need to update the version of HDMF you are using |
I think the install step was interrupted for some reason and I missed it. These fixed the problem. Thanks! |
As a point of curiosity, is installing via the github repo the only way to prevent this error? Are there resulting packaging issues when installing via pip? This is relevant for my usage of this tool in a Jupyter notebook where I'd like to try and make it's usage environment-agnostic. |
Installing via pip is fine |
Seems as though the |
Can you try again. There is a new release of HDMF which I believe includes the fix for this |
The new HDMF release does not fix this. But the latest dev branch of PyNWB does fix this. You have to install pynwb from source using the git clone command that @bendichter included above. |
What happened?
I attempted to run PyNWB.NWBHDF5IO in a Jupyter notebook while remotely accessing nwb files from DANDI.
The code that yields an error is code from the docs. This snippet below
And then I received an error; 'core not a namespace'
Steps to Reproduce
pip install dandi
andpip install fsspec requests aiohttp
Traceback
The traceback is as follows
Operating System
Windows
Python Executable
Python
Python Version
3.9
Package Versions
aiohttp==3.8.3
aiosignal==1.2.0
anyio==3.6.1
appdirs==1.4.4
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
arrow==1.2.3
asciitree==0.3.3
asttokens==2.0.8
async-timeout==4.0.2
attrs==22.1.0
backcall==0.2.0
beautifulsoup4==4.11.1
bidsschematools==0.5.1
bleach==5.0.1
ccfwidget==0.5.3
certifi==2022.9.14
cffi==1.15.1
charset-normalizer==2.1.1
ci-info==0.3.0
click==8.1.3
click-didyoumean==0.3.0
cloudpickle==2.2.0
colorama==0.4.5
colorcet==3.0.0
contourpy==1.0.5
cycler==0.11.0
dandi==0.46.3
dandischema==0.7.1
dask==2022.9.1
debugpy==1.6.3
decorator==5.1.1
defusedxml==0.7.1
dnspython==2.2.1
email-validator==1.3.0
entrypoints==0.4
etelemetry==0.3.0
executing==1.0.0
fasteners==0.18
fastjsonschema==2.16.2
fonttools==4.37.3
fqdn==1.5.1
frozenlist==1.3.1
fscacher==0.2.0
fsspec==2022.8.2
h5py==3.7.0
hdmf==3.4.2
humanize==4.4.0
idna==3.4
imageio==2.22.0
importlib-metadata==4.12.0
interleave==0.2.1
ipydatawidgets==4.3.2
ipykernel==6.15.3
ipympl==0.9.2
ipysheet==0.5.0
ipython==8.5.0
ipython-genutils==0.2.0
ipytree==0.2.2
ipyvolume==0.5.2
ipywebrtc==0.6.0
ipywidgets==7.7.2
isoduration==20.11.0
itk-core==5.2.1.post1
itk-filtering==5.2.1.post1
itk-meshtopolydata==0.8.1
itk-numerics==5.2.1.post1
itkwidgets==0.32.3
jaraco.classes==3.2.2
jedi==0.18.1
Jinja2==3.1.2
JIT==0.0.1
joblib==1.2.0
jsonpointer==2.3
jsonschema==4.16.0
jupyter-core==4.11.1
jupyter-server==1.18.1
jupyter_client==7.3.5
jupyterlab-pygments==0.2.2
jupyterlab-widgets==1.1.1
keyring==23.9.3
keyrings.alt==4.2.0
kiwisolver==1.4.4
llvmlite==0.39.1
locket==1.0.0
lxml==4.9.1
MarkupSafe==2.1.1
matplotlib==3.6.0
matplotlib-inline==0.1.6
mistune==2.0.4
more-itertools==8.14.0
multidict==6.0.2
natsort==8.2.0
nbclient==0.6.8
nbconvert==7.0.0
nbformat==5.6.0
ndx-grayscalevolume==0.0.2
ndx-icephys-meta==0.1.0
ndx-spectrum==0.2.2
nest-asyncio==1.5.5
networkx==2.8.6
notebook==6.4.12
numba==0.56.2
numcodecs==0.10.2
numpy==1.21.5
nwbinspector==0.4.13
nwbwidgets==0.8.0
opencv-python==4.6.0.66
packaging==21.3
pandas==1.3.5
pandocfilters==1.5.0
param==1.12.2
parso==0.8.3
partd==1.3.0
pickleshare==0.7.5
Pillow==9.2.0
plotly==5.10.0
prometheus-client==0.14.1
prompt-toolkit==3.0.31
psutil==5.9.2
pure-eval==0.2.2
pycparser==2.21
pycryptodomex==3.15.0
pyct==0.4.8
pydantic==1.10.2
Pygments==2.13.0
-e git+https://github.com/NeurodataWithoutBorders/pynwb.git@6e1f131c32ead004271d143d00c6fee05dbd9ef6#egg=pynwb
pyout==0.7.2
pyparsing==3.0.9
pyrsistent==0.18.1
python-dateutil==2.8.2
pythreejs==2.4.1
pytz==2022.2.1
PyWavelets==1.4.1
pywin32==304
pywin32-ctypes==0.2.0
pywinpty==2.0.8
PyYAML==6.0
pyzmq==24.0.1
requests==2.28.1
rfc3339-validator==0.1.4
rfc3987==1.3.8
ruamel.yaml==0.17.21
ruamel.yaml.clib==0.2.6
scikit-image==0.19.3
scikit-learn==1.1.2
scipy==1.9.1
semantic-version==2.10.0
Send2Trash==1.8.0
six==1.16.0
sniffio==1.3.0
soupsieve==2.3.2.post1
stack-data==0.5.0
tenacity==8.1.0
terminado==0.15.0
threadpoolctl==3.1.0
tifffile==2022.8.12
tinycss2==1.1.1
toolz==0.12.0
tornado==6.2
tqdm==4.64.1
traitlets==5.4.0
traittypes==0.2.1
trimesh==3.15.2
typing_extensions==4.3.0
uri-template==1.2.0
urllib3==1.26.12
util-colleenjg==0.0.1
wcwidth==0.2.5
webcolors==1.12
webencodings==0.5.1
websocket-client==1.4.1
widgetsnbextension==3.6.1
xarray==2022.6.0
yarl==1.8.1
zarr==2.13.0
zipp==3.8.1
zstandard==0.18.0
Code of Conduct
The text was updated successfully, but these errors were encountered: