Entering edit mode
24 months ago
Razi
•
0
Hi,
I try to run a script which starts like this:
import os, sys, subprocess, argparse, random, transposer, numpy, csv, scipy, gzip
I installed "transposer" on my local/mac by:
python3 -m pip install transposer
BUT, I got this error:
Traceback (most recent call last): import os, sys, subprocess, argparse, random, transposer, numpy, csv, scipy, gzip File "/opt/homebrew/lib/python3.10/site-packages/transposer/init.py", line 1, in from transposer import transpose
ImportError: cannot import name 'transpose' from partially initialized module 'transposer' (most likely due to a circular import) (/opt/homebrew/lib/python3.10/site-packages/transposer/init.py)
Would you please help with this? Thanks!
Thanks! It works now!
Regarding the transposer error, I could run it, BUT again it had this error:
Would you please help on this??
Sorry, I can't because I don't have or know the script or any reproducible data to make that case. I think the problem is in general that this seems to be a buggy setup, can you be sure that the results produced by the pipeline are valid? If it is just some standard VCF operation, you can possibly replace it with something more stable? Are you sure this script ever ran successfully before even or that it is a python3 script? And did you delete __pycache files?
Thanks! the problem is solved: I was using transposer.py by default (it doesn't have an atrribute transpase), so we should rename transposer.py
or I did this: mv transposer.py ../
in this case, it can't import from this script.