ModuleNotFoundError: No module named 'scrappy'
HLHsieh opened this issue · comments
HLHsieh commented
Hi there,
I followed the instructions and tried to test python3 train_biRNN.py
, but I received the following error message:
Traceback (most recent call last):
File "train_biRNN.py", line 7, in <module>
from dataProcess.data_loading import *
File "/hsinlun/bin/methBERT/methBERT/dataProcess/data_loading.py", line 3, in <module>
from .ref_util import get_fast5s, sim_seq_singal, pdist
File "hsinlun/bin/methBERT/methBERT/dataProcess/ref_util.py", line 10, in <module>
import scrappy
ModuleNotFoundError: No module named 'scrappy'
I would appreciate any suggestions you may have for resolving this issue.
Thank you for your time and assistance.
Best regards,
Hsin
Yao-zhong Zhang commented
HI, Hsin
According to the message, your current environment requires scrappy package install
https://github.com/nanoporetech/scrappie
Or you can use our provided docker environment as in https://methbert.readthedocs.io/en/latest/installation.html
… On Apr 29, 2023, at 13:48, HLHsieh ***@***.***> wrote:
Hi there,
I followed the instructions and tried to test python3 train_biRNN.py, but I received the following error message:
Traceback (most recent call last):
File "train_biRNN.py", line 7, in <module>
from dataProcess.data_loading import *
File "/hsinlun/bin/methBERT/methBERT/dataProcess/data_loading.py", line 3, in <module>
from .ref_util import get_fast5s, sim_seq_singal, pdist
File "hsinlun/bin/methBERT/methBERT/dataProcess/ref_util.py", line 10, in <module>
import scrappy
ModuleNotFoundError: No module named 'scrappy'
I would appreciate any suggestions you may have for resolving this issue.
Thank you for your time and assistance.
Best regards,
Hsin
—
Reply to this email directly, view it on GitHub <#3>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAMX3IUHINDD5WTPVP7AS23XDSMQPANCNFSM6AAAAAAXP7CWLY>.
You are receiving this because you are subscribed to this thread.
Yunqi Fu commented
Hi, i have install scrappy package. But it doesn't work. Should I add it to pip PATH?
Yao-zhong Zhang commented
HI, Larry
Can you show the detailed error information?
… On Apr 29, 2024, at 18:32, Larry Foo ***@***.***> wrote:
Hi, i have install scrappy package. But it doesn't work. Should I add it to pip PATH?
—
Reply to this email directly, view it on GitHub <#3 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAMX3IXRNHW3FKVXU6J2TX3Y7YHSTAVCNFSM6AAAAAAXP7CWL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBSGI3TGMZRHA>.
You are receiving this because you modified the open/close state.
Yunqi Fu commented
Hi, yaozhong
I finally solve the problem. At first, I installed the scrappy, but it doesn't work. Then I find the python version of scrappy that can solve the problem.
Thank you for your time and assistance.
Best regards,
Larry Foo