Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running experi from the command line in a conda environment #62

Open
TomNicholas opened this issue Nov 12, 2018 · 1 comment
Open

Running experi from the command line in a conda environment #62

TomNicholas opened this issue Nov 12, 2018 · 1 comment

Comments

@TomNicholas
Copy link
Contributor

I am working in a python3.6 conda environment, and I try to install experi by navigating to the root directory of experi and running python3 setup.py develop (which is normally the best way on conda I think). This causes experi to show up when I enter conda list, but calling $ experi on the command line returns the error

/cineca/prod/opt/compilers/python/3.6.4/none/bin/python3.6: error while loading shared libraries: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory

This is weird because that's not the version of python that should be being used, because $ which python returns the python3.6 version in my conda environment:

/marconi_work/FUA32_SOL_BOUT/tnichola/anaconda3/envs/py36/bin/python

and $ python3 takes me into the conda python3 as it should.

Is it possible that experi is looking for python in the wrong place? Or is my environment just messed up?

@malramsay64
Copy link
Owner

It may just be that your path hasn't updated. I just ran through the installation on a couple of conda environments and on one occasion I was getting the wrong path for experi. which experi should be an executable in the same path as which python. Running hash -r in bash (rehash in zsh) which updates the remembered list of paths fixed the issue for me.

Hopefully that fixes the issue for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants