Open VeritatemAmo opened 1 year ago
I found a solution to the problem: run pip install -I ete3
instead of installing from conda. This seems to install the dependents as well (maybe, since it's working now).
Also on an M1 chip, unfortunately this did not work for me. I get this dreaded error
Traceback (most recent call last):
File "/Users/nick/miniconda3/bin/ete3", line 5, in <module>
from ete3.tools.ete import main
File "/Users/nick/miniconda3/lib/python3.10/site-packages/ete3/tools/ete.py", line 55, in <module>
from . import (ete_split, ete_expand, ete_annotate, ete_ncbiquery, ete_view,
File "/Users/nick/miniconda3/lib/python3.10/site-packages/ete3/tools/ete_view.py", line 48, in <module>
from .. import (Tree, PhyloTree, TextFace, RectFace, faces, TreeStyle, CircleFace, AttrFace,
ImportError: cannot import name 'TextFace' from 'ete3' (/Users/nick/miniconda3/lib/python3.10/site-packages/ete3/__init__.py)
And I did try this https://github.com/etetoolkit/ete/issues/354
Also on an M1 chip, unfortunately this did not work for me. I get this dreaded error
Traceback (most recent call last): File "/Users/nick/miniconda3/bin/ete3", line 5, in <module> from ete3.tools.ete import main File "/Users/nick/miniconda3/lib/python3.10/site-packages/ete3/tools/ete.py", line 55, in <module> from . import (ete_split, ete_expand, ete_annotate, ete_ncbiquery, ete_view, File "/Users/nick/miniconda3/lib/python3.10/site-packages/ete3/tools/ete_view.py", line 48, in <module> from .. import (Tree, PhyloTree, TextFace, RectFace, faces, TreeStyle, CircleFace, AttrFace, ImportError: cannot import name 'TextFace' from 'ete3' (/Users/nick/miniconda3/lib/python3.10/site-packages/ete3/__init__.py)
And I did try this #354
This might help: https://github.com/etetoolkit/ete/issues/195
I went down that road as well but pyqt4 doesn't compile because of its SIPS dependency, which is no longer available. Pyqt6 is on conda and did install successfully but did not fix the issue
On Tue, Feb 14, 2023, 8:58 PM Linhe Xu @.***> wrote:
Also on an M1 chip, unfortunately this did not work for me. I get this dreaded error
Traceback (most recent call last): File "/Users/nick/miniconda3/bin/ete3", line 5, in
from ete3.tools.ete import main File "/Users/nick/miniconda3/lib/python3.10/site-packages/ete3/tools/ete.py", line 55, in from . import (ete_split, ete_expand, ete_annotate, ete_ncbiquery, ete_view, File "/Users/nick/miniconda3/lib/python3.10/site-packages/ete3/tools/ete_view.py", line 48, in from .. import (Tree, PhyloTree, TextFace, RectFace, faces, TreeStyle, CircleFace, AttrFace, ImportError: cannot import name 'TextFace' from 'ete3' (/Users/nick/miniconda3/lib/python3.10/site-packages/ete3/init.py) And I did try this #354 https://github.com/etetoolkit/ete/issues/354
This might help: #195 https://github.com/etetoolkit/ete/issues/195
— Reply to this email directly, view it on GitHub https://github.com/etetoolkit/ete/issues/656#issuecomment-1430756249, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMUDUXJX7TXKVZK4VF7W5LWXRPAPANCNFSM6AAAAAASYMQFXA . You are receiving this because you commented.Message ID: @.***>
I went down that road as well but pyqt4 doesn't compile because of its SIPS dependency, which is no longer available. Pyqt6 is on conda and did install successfully but did not fix the issue … On Tue, Feb 14, 2023, 8:58 PM Linhe Xu @.> wrote: Also on an M1 chip, unfortunately this did not work for me. I get this dreaded error Traceback (most recent call last): File "/Users/nick/miniconda3/bin/ete3", line 5, in
from ete3.tools.ete import main File "/Users/nick/miniconda3/lib/python3.10/site-packages/ete3/tools/ete.py", line 55, in @.>from . import (ete_split, ete_expand, ete_annotate, ete_ncbiquery, ete_view, File "/Users/nick/miniconda3/lib/python3.10/site-packages/ete3/tools/ete_view.py", line 48, in from .. import (Tree, PhyloTree, TextFace, RectFace, faces, TreeStyle, CircleFace, AttrFace, ImportError: cannot import name 'TextFace' from 'ete3' (/Users/nick/miniconda3/lib/python3.10/site-packages/ete3/init.py) And I did try this #354 <#354> This might help: #195 <#195> — Reply to this email directly, view it on GitHub <#656 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMUDUXJX7TXKVZK4VF7W5LWXRPAPANCNFSM6AAAAAASYMQFXA . You are receiving this because you commented.Message ID:
Let me reopen this issue then.
I have recently gotten a M1 MacBook Pro as a work computer and tried to install ete3 on it. However, running the commend in terminal:
conda install -c etetoolkit ete3_external_apps
orconda install -c etetoolkit ete_toolchain
gives me the error message:I didn't have a problem installing ete3 with my old MacBook Pro with intel i5 chips. I wonder if it is because ete_toolchain only exist in osx-64 conda channel but not osx-arm64 channel? BTW, I also don't see a ete_toolchain on pypi.org.