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

000055 notebooks gotchas #9

Open
1 task
yarikoptic opened this issue Oct 27, 2021 · 3 comments
Open
1 task

000055 notebooks gotchas #9

yarikoptic opened this issue Oct 27, 2021 · 3 comments

Comments

@yarikoptic
Copy link
Member

Considering to use 000055 for the workshop demos, trying to run the provided from this repo notebooks. This issue will collect gotchas I encounter, and will be populate with items, checking them out if/when resolved. Notebooks are under 000055/BruntonLab/peterson21/

  • Fig_coarse_labels.ipynb first cell %pip install -r requirements.txt leads to ERROR: Failed building wheel for scipy and thus failure
@jwodder
Copy link
Member

jwodder commented Oct 27, 2021

@yarikoptic Do you happen to be using Python 3.10? Scipy doesn't have wheels for 3.10 out yet, and trying to install it on any platform for which there isn't a wheel (list of wheels here) probably isn't such a hot idea.

@yarikoptic
Copy link
Member Author

good "try" - I forgot to check, but that happened on the hub.dandiarchive.org and I hope we do not rush jumping to 3.10 there - still 3.9 there.

@yarikoptic
Copy link
Member Author

FWIW here is the beginning of the long error report from that pip install:

...
Requirement already satisfied: numcodecs>=0.6.4 in /opt/conda/lib/python3.9/site-packages (from zarr->lazy_ops==0.2.0->-r requirements.txt (line 1)) (0.9.1)
Requirement already satisfied: asciitree in /opt/conda/lib/python3.9/site-packages (from zarr->lazy_ops==0.2.0->-r requirements.txt (line 1)) (0.3.3)
Building wheels for collected packages: matplotlib, scipy, nwbwidgets
  Building wheel for matplotlib (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /opt/conda/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gu1rnebu/matplotlib_387c961b349d4cc5b5dc729f0639d05e/setup.py'"'"'; __file__='"'"'/tmp/pip-install-gu1rnebu/matplotlib_387c961b349d4cc5b5dc729f0639d05e/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ew1bc1lw
       cwd: /tmp/pip-install-gu1rnebu/matplotlib_387c961b349d4cc5b5dc729f0639d05e/
  Complete output (849 lines):
...

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