nye17 / javelin

JAVELIN is now working under Python 3!
GNU General Public License v2.0
21 stars 12 forks source link

Javelin is not installing #7

Closed NicoGalvarino closed 10 months ago

NicoGalvarino commented 1 year ago

After following the instructions to install javelin, it is not installing and doesn't appear in the list of installed packages of the environment. The installation supposedly ran ok, with no error messages (I'm attaching the message after the install command). Do you have any ideas about how to fix this? Thanks for the help! message_install_command.txt

nye17 commented 1 year ago

As you said, the installation successfully finished with no error msgs. I'm not sure which "list" it has to appear in, as your output says it's installed into /opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/javelin-0.35-py3.8.egg-info.

nye17 commented 1 year ago

can you do an "import javelin" at least to see if there's any error msgs?

NicoGalvarino commented 1 year ago

I was referring to the list of packages in conda. “conda list” prints all the packages in my environment. Javelin appears in the conda list of my collaborators who have installed javelin before.

When I do import javelin in the iPython terminal, there’s no further error messages.

However, when running the demo.py file this message appears: ModuleNotFoundError: No module named ‘javelin.predict'

The same happens when I run the suggested commands from the “Running Javelin is Easy” section of the GitHub: ModuleNotFoundError: No module named 'javelin.zylc'

On Jul 22, 2022, at 17:55, Ying @.***> wrote:

can you do an "import javelin" at least to see if there's any error msgs?

— Reply to this email directly, view it on GitHub https://github.com/nye17/javelin/issues/7#issuecomment-1192715419, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ3AP5WVZH2DHKUVBNMO3YTVVK75TANCNFSM54L7PUNA. You are receiving this because you authored the thread.

nye17 commented 1 year ago

I don't use conda myself so I'm not sure whether codes installed via non-conda means would appear in the conda list output. Assuming it should, then it's probably because the directory you've installed JAVELIN into is not in the python path, which explains your latter problem of not finding proper modules from JAVELIN. This doesn't appear to be a JAVELIN problem but a local python environment setup problem I'm afraid. Is it possible for you to consult some local python guru first? and if not, can you list your commands going from installation to testing and the output of each command? Thanks.