Open liudongliangHI opened 1 year ago
I installed tmap==1.2
and faerun==0.4.0
without any problems.
But I got next error
4 dims = 512
----> 5 lf = tm.LSHForest(dims, 128, store=True)
6
AttributeError: module 'tmap' has no attribute 'LSHForest'
What is wrong? How can I fix it?
Hi @liudongliangHI, thanks for the info. I bumped faerun-python
to version 0.4.2. This bug is now fixed. I introduced the bug because I'm testing a pip installable version of tmap
(https://pypi.org/project/tmap-viz/).
Hey @meddwl, it's a bit tricky to say--it looks like the package didn't install correctly, could you share more details on how you install it? Did you use:
conda -n tmap-env -c tmap tmap
Alternatively, you could try it with the new "beta" pip package:
pip install tmap-viz
I installed
tmap==1.2
andfaerun==0.4.0
without any problems. But I got next error4 dims = 512 ----> 5 lf = tm.LSHForest(dims, 128, store=True) 6 AttributeError: module 'tmap' has no attribute 'LSHForest'
What is wrong? How can I fix it?
I have also found this problem before, and it seems that it can be solved by updating to the latest version.
pip install tmap-viz
When I try to import Faerun, I find a bug.
This seems to be caused by a wrong import of your latest version,
from tmap.core import TMAPEmbedding
, I don't understand why this was inported, tmap seems to have no core or TMAPEmbedding.I solved by downgrading to 0.4.0.
pip install faerun==0.4.0
However, I think you should fix this bug. Thanks.