You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot import soft_unicode when trying to import VisualBehaviorNeuropixelsProjectCache
ImportError Traceback (most recent call last)
Input In [2], in <cell line: 1>()
----> 1 from allensdk.brain_observatory.behavior.behavior_project_cache import VisualBehaviorNeuropixelsProjectCache as cache_class
…
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (C:\Users\shawno\Anaconda3\envs\allensdk_vbn_aws\lib\site-packages\markupsafe_init_.py)
To Reproduce
I created a new conda environment:
conda create --name allensdk_aws_test python=3.8. # create a new python 3.8 environment
conda activate allensdk_aws_test # activate your new python 3.8 environment
git clone …..clone the SDK…. # clone the SDK
cd AllenSDK # cd into your SDK clone
git checkout rc/2.13.5# checkout the development branch
pip install -r requirements.txt # have pip install all the requirements
pip install -e . # have pip install the SDK itself
Tried to the following:
from allensdk.brain_observatory.behavior.behavior_project_cache import VisualBehaviorNeuropixelsProjectCache as cache_class
Expected behavior
Should import cache_class
Actual Behavior
Got error:
ImportError Traceback (most recent call last)
Input In [2], in <cell line: 1>()
----> 1 from allensdk.brain_observatory.behavior.behavior_project_cache import VisualBehaviorNeuropixelsProjectCache as cache_class
…
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (C:\Users\shawno\Anaconda3\envs\allensdk_vbn_aws\lib\site-packages\markupsafe_init_.py)
Environment (please complete the following information):
See above - did fresh install of AllenSDK and switched to rc/2.13.5 branch
The text was updated successfully, but these errors were encountered:
Describe the bug
Cannot import soft_unicode when trying to import VisualBehaviorNeuropixelsProjectCache
ImportError Traceback (most recent call last)
Input In [2], in <cell line: 1>()
----> 1 from allensdk.brain_observatory.behavior.behavior_project_cache import VisualBehaviorNeuropixelsProjectCache as cache_class
…
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (C:\Users\shawno\Anaconda3\envs\allensdk_vbn_aws\lib\site-packages\markupsafe_init_.py)
To Reproduce
I created a new conda environment:
conda create --name allensdk_aws_test python=3.8. # create a new python 3.8 environment
conda activate allensdk_aws_test # activate your new python 3.8 environment
git clone …..clone the SDK…. # clone the SDK
cd AllenSDK # cd into your SDK clone
git checkout rc/2.13.5# checkout the development branch
pip install -r requirements.txt # have pip install all the requirements
pip install -e . # have pip install the SDK itself
Added kernel to jupyter notebook
conda install -c anaconda ipykernel
python -m ipykernel install --user --name=allensdk_vbn_aws
Tried to the following:
from allensdk.brain_observatory.behavior.behavior_project_cache import VisualBehaviorNeuropixelsProjectCache as cache_class
Expected behavior
Should import cache_class
Actual Behavior
Got error:
ImportError Traceback (most recent call last)
Input In [2], in <cell line: 1>()
----> 1 from allensdk.brain_observatory.behavior.behavior_project_cache import VisualBehaviorNeuropixelsProjectCache as cache_class
…
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (C:\Users\shawno\Anaconda3\envs\allensdk_vbn_aws\lib\site-packages\markupsafe_init_.py)
Environment (please complete the following information):
See above - did fresh install of AllenSDK and switched to rc/2.13.5 branch
The text was updated successfully, but these errors were encountered: