grst / nxfvars

Access nextflow variables from python scripts or notebooks
MIT License
21 stars 0 forks source link

ImportError of nxfvars #9

Open QianhuiXu opened 2 years ago

QianhuiXu commented 2 years ago

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!

grst commented 2 years ago

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