You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pyflann doesn't seem to be installed properly on MacOS after installing megaman.
Steps to recreate:
Create a conda python 3.5 environment.
Run conda install megaman --channel=conda-forge.
Open python and run the command from megaman.geometry import Geometry.
On my computer, this fails with the following error message:
In [4]: from megaman.geometry import Geometry
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-4-3d5e7524d7bf> in <module>()
----> 1 from megaman.geometry import Geometry
/usr/local/anaconda3/envs/megaman/lib/python3.5/site-packages/megaman/geometry/__init__.py in <module>()
2
3 from .rmetric import RiemannMetric
----> 4 from .geometry import Geometry
5 from .adjacency import Adjacency, compute_adjacency_matrix, adjacency_methods
6 from .affinity import Affinity, compute_affinity_matrix, affinity_methods
/usr/local/anaconda3/envs/megaman/lib/python3.5/site-packages/megaman/geometry/geometry.py in <module>()
34 from scipy import sparse
35 from scipy.special import gammaln
---> 36 from .adjacency import compute_adjacency_matrix
37 from .affinity import compute_affinity_matrix
38 from .laplacian import compute_laplacian_matrix
/usr/local/anaconda3/envs/megaman/lib/python3.5/site-packages/megaman/geometry/adjacency.py in <module>()
5 from scipy import sparse
6
----> 7 from .cyflann.index import Index as CyIndex
8 from .utils import RegisterSubclasses
9
ImportError: dlopen(/usr/local/anaconda3/envs/megaman/lib/python3.5/site-packages/megaman/geometry/cyflann/index.cpython-35m-darwin.so, 2): Library not loaded: @rpath/libflann.1.8.dylib
Referenced from: /usr/local/anaconda3/envs/megaman/lib/python3.5/site-packages/megaman/geometry/cyflann/index.cpython-35m-darwin.so
Reason: image not found
Installing pyflann using conda install --channel=jakevdp pyflann resolves this.
Amit Moscovich
The text was updated successfully, but these errors were encountered:
Pyflann doesn't seem to be installed properly on MacOS after installing megaman.
Steps to recreate:
conda install megaman --channel=conda-forge
.from megaman.geometry import Geometry
.On my computer, this fails with the following error message:
Installing pyflann using
conda install --channel=jakevdp pyflann
resolves this.The text was updated successfully, but these errors were encountered: