Closed ahmadomira closed 3 years ago
How did you install fastmat?
On Wed, 2 Dec 2020 at 08:11, ahmadomira notifications@github.com wrote:
Trying to run any of the demos directly from default fastmat directory (fastmat/demo) does't work and results following error:
File "~/git/fastmat/fastmat/init.py", line 62, in
from .Matrix import Matrix, Hermitian, Conjugate, Transpose, flags ModuleNotFoundError: No module named 'fastmat.Matrix' But copying the demos to an independent directory and running compOmpIsta, lowRankApprox or sparseReco gives:
File "~/fastmat_demo/compOmpIsta.py", line 111, in
fastmat.algorithms.OMP, mat, b, K) AttributeError: module 'fastmat' has no attribute 'algorithms' OS: MacOS Big Sur version 11.0.1 Python: v3.8.6 C-compiler: Clang 6.0 (clang-600.0.57)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/EMS-TU-Ilmenau/fastmat/issues/90, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAINSRQ6KMKQPTQUHRHFQN3SSXSCZANCNFSM4UKCL7JA .
How did you install fastmat? …
pip install fastmat
so you cloned the demos from git and then installed fastmat from pypi and then ran the demos from the git-repository?
On Wed, 2 Dec 2020 at 08:28, ahmadomira notifications@github.com wrote:
How did you install fastmat? … <#m1281454710826613400>
pip install fastmat
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/EMS-TU-Ilmenau/fastmat/issues/90#issuecomment-737048325, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAINSRWGXQYL7MVUNPMY34DSSXUBJANCNFSM4UKCL7JA .
so you cloned the demos from git and then installed fastmat from pypi and then ran the demos from the git-repository? …
The other way around, meaning: pip installed fastmat -> cloned the fastmat repo -> ran the demo directly from the git-repository (-> and later on form a separate directory, as described)
Please check if this is related to #88 and if the suggestions of https://github.com/EMS-TU-Ilmenau/fastmat/issues/88#issuecomment-778697597 might apply here, too
The problem could not be reproduced successfully with the given information. Seems like a problem with importing the package in your local configuration.
Closing the issue for now.
Feel free to reopen if there is new information
Trying to run any of the demos directly from default fastmat directory (fastmat/demo) does't work and results following error:
But copying the demos to an independent directory and running
compOmpIsta
,lowRankApprox
orsparseReco
gives:OS: MacOS Big Sur version 11.0.1 Python: v3.8.6 C-compiler: Clang 6.0 (clang-600.0.57)