-
Notifications
You must be signed in to change notification settings - Fork 94
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
Cache entry deserialization failed, entry ignored #540
Comments
No. This is an innocuous error in pip that is annoying many people in many contexts. The first Google hit when searching for "Cache entry deserialization failed, entry ignored" leads to this comment in pip:
|
@Deena-B: Changing the question and topic of an existing issue is confusing. My reply above made sense in response to the original question, but makes absolutely no sense now. Editing an issue for clarity is fine, but please don't reuse existing issues for new questions. I'll email you the original subject and text. Please restore those here, then create a new issue with the new question. Thanks. |
@reece Thanks for calling me on this. I restored the original subject and text and posted my new issue, which resolves this issue here: #543 (Sorry, I didn't see that you had already replied to this issue) The fix for this issue (#540) was to install pip inside my virtual env with I also installed postgresql with Then |
I'm noting my steps here with the hope of integrating this workflow into the docs.
I am using anaconda (version 1.7.2) on a macOS High Sierra (version 10.13.6)
In a terminal that opens up to the conda "base" environment:
Create a virtual environment called "biocommons"
conda create -n biocommons
Activate your biocommons virtual environment
conda activate biocommons
Install pip
conda install pip
Install postgresql
conda install -c anaconda postgresql
Install hgvs
pip install hgvs
Red text that appears during installation:
Test your installation
hgvs-shell
In [1]:
v = hp.parse_hgvs_variant("NM_033089.6:c.571C>G")
In [2]:
am37.c_to_g(v)
Out[2]: SequenceVariant(ac=NC_000020.10, type=g, posedit=278801C>G)
In [3]:
am38.c_to_g(v)
Out[3]: SequenceVariant(ac=NC_000020.11, type=g, posedit=298157C>G)
Exit the hgvs-shell
ctrl+d
Deactivate the biocommons virtual env
conda deactivate
Create a biocommons kernel for jupyter notebooks
python -m ipykernel install --user --name biocommons --display-name "biocommons stable"
--name biocommons
tells it to install the biocommons virtual env--display-name "..."
is what the kernal is referenced as in a jupyter notebookOpen a jupyter notebook
jupyter notebook
In your notebook:
Change the Kernal to "biocommons stable"
import hgvs
Error: ModuleNotFoundError: No module named 'hgvs'
hgvs-shell
NameError: name 'hgvs' is not defined
The text was updated successfully, but these errors were encountered: