grst / nxfvars

Access nextflow variables from python scripts or notebooks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImportError of nxfvars

QianhuiXu opened this issue · comments

Hello,

nxfvars is a wonderful tool!
I ran into an issue with importing nxfvars.

Python 3.7.12 | packaged by conda-forge | (default, Oct 26 2021, 06:08:21)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

from nxfvars import nxfvars
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name 'nxfvars' from 'nxfvars' (/home/shpc_100668/anaconda3/envs/scanpy/lib/python3.7/site-packages/nxfvars/init.py)

I'm really at a loss as to how to proceed, and any guidance would be much appreciated!
Thank you for your kind help!

Hi @QianhuiXu,

this sounds weird, I have no idea how this would happen.

Is this the entire output of the error message?
Can you try to reinstall nxfvars with

pip install --force-reinstall nxfvars