Closed cheelee closed 8 years ago
AttributeError: 'module' object has no attribute 'IndexSlice'
is the error you get if your pandas is out of date.
Great point about the INSTALL.md
not handling this or the jsonschema
install. I will now try to work out a clean Miniconda3 set of install steps (probably mirroring what the .travis.yml
is doing).
OK I have updated (and tested from scratch!) the new install instructions. Thanks for pushing me on this, I appreciate it.
Commits 9b5bad85702f4385f16c62b94d524256911c69b4 and 91db15263bfed2e18c5b7ebb4347b426d578ada6.
Broken Steps:
File "wcon/wcon_parser.py", line 21, in
import jsonschema
ImportError: No module named jsonschema
File "wcon/wcon_parser.py", line 25, in
idx = pd.IndexSlice
AttributeError: 'module' object has no attribute 'IndexSlice'
Weirdness Issues:
Alternative Success:
I have had success (i.e. was able to run python tests.py and get 23 successes) using a git clone with Miniconda3, and with the following environment dependency file for python3 (environment.yml). Have not tested against python 2 for Ubuntu yet, but I had done something similar on Mac OS X and it worked for python 2 (and fails for python 3 because something about psutil appeared to be broken on Mac OS X):