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
GBRSA import error: Module 'pandas' has no attribute 'Panel' #515
Comments
Hello, @salilabwfu! Yes, please try a version older than 0.25. |
Thanks for your quick response! I tried running |
That install command should have been enough, if you ran it in the same environment where you installed BrainIAK. Could you please paste here the whole error output? |
Sorry for my slow response. Here is what I have run: When I then start python and attempt to load GBRSA, I get this error message
Traceback (most recent call last): Thank you again! |
I tried reproducing the error on Ubuntu 20.04, but I could not. (I don't have access to MacOS right now.) Installing in a new Conda environment like you did and importing GBRSA works. It works both immediately after installing BrainIAK and after downgrading Pandas. Can you please try again in a new environment and paste here all the output from your terminal, including the installation commands output? |
Thanks for your help. I am running MacOS 10.15.5. Here are the commands with the corresponding outputs. Please let me know if I can provide any additional information.
Collecting package metadata (current_repodata.json): done Package Plan environment location: /Users/anthonysali/miniconda3/envs/NewEnv Proceed ([y]/n)? y Preparing transaction: done To activate this environment, use
To deactivate an active environment, use
Collecting package metadata (current_repodata.json): done Package Plan environment location: /Users/anthonysali/miniconda3/envs/NewEnv added / updated specs: The following packages will be downloaded:
The following NEW packages will be INSTALLED: bottleneck pkgs/main/osx-64::bottleneck-1.3.4-py37h67323c0_0 Proceed ([y]/n)? y Downloading and Extracting Packages
Collecting package metadata (current_repodata.json): done Package Plan environment location: /Users/anthonysali/miniconda3/envs/NewEnv added / updated specs: The following packages will be UPDATED: ca-certificates pkgs/main::ca-certificates-2022.4.26-~ --> conda-forge::ca-certificates-2022.6.15-h033912b_0 The following packages will be SUPERSEDED by a higher-priority channel: certifi pkgs/main::certifi-2022.6.15-py37hecd~ --> conda-forge::certifi-2022.6.15-py37hf985489_0 Proceed ([y]/n)? y Preparing transaction: done
Python 3.7.13 (default, Mar 28 2022, 07:24:34)
Traceback (most recent call last): |
It looks like the Pandas 0.24 installation was successful. The error should not appear. Can you try the following command?
And to double check, does Conda show the version 0.24 for Pandas?
|
Thanks again! I'm still stumped:
packages in environment at /Users/anthonysali/miniconda3/envs/NewEnv: Name Version Build Channel I appreciate all of the help! |
On my machine, Pandas 0.24 does not produce that error. Can you try the import command in a new environment with just Pandas 0.24? |
hello, I had the similar error |
okay, I found the solution, create the new conda env with pandas 0.24 specified, then install brainiak
everything works fine |
Thanks for sharing your workaround, @yibeichan! |
I am attempting to follow the tutorial for GBRSA here: https://github.com/brainiak/brainiak/blob/master/examples/reprsimil/bayesian_rsa_example.ipynb but I receive an error that the module 'pandas' has no attribute 'Panel.'
I've followed the installation instructions using Conda. Does GBRSA require an older version of pandas? Thanks in advance!
The text was updated successfully, but these errors were encountered: