Closed gewitterblitz closed 4 years ago
You need to run python setup.py install from the top level project directory to install the pyxlma package. Or pip install -e . to allow you to edit pyxlma and not have to reinstall every time.
On Jul 14, 2019, at 09:50, Milind Sharma notifications@github.com wrote:
I setup a conda environment for glue followed by glue installation (it works just fine). Then cloned the xlma-python repo on desktop. Within the glue environment, executed the python setup.py install.
But when I try launching glue from xlma-python/examples/glueviz/ I get the following error.
ModuleNotFoundError: ("Error loading config file /Users/ms/Desktop/xlma-python/examples/glueviz/config.py:\nNo module named 'pyxlma.lmalib'", <traceback object at 0x11a4d4b08>)
Where am I going wrong with this?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
For some weird reason, python setup.py install (from the top level project directory) did not work for me.
Deleted the 'anaconda3/envs/glue/lib/python3.7/site-packages/pyxlma-0.0.0-py3.7.egg' file and then proceeded with pip install -e .
I can visualize my LMA.gz file in the glue qt app now.
Thanks!
Glad it's working, now!
I setup a conda environment for glue followed by glue installation (it works just fine). Then cloned the xlma-python repo on desktop. Within the glue environment, executed the python setup.py install.
But when I try launching glue from xlma-python/examples/glueviz/ I get the following error.
ModuleNotFoundError: ("Error loading config file /Users/ms/Desktop/xlma-python/examples/glueviz/config.py:\nNo module named 'pyxlma.lmalib'", <traceback object at 0x11a4d4b08>)
Where am I going wrong with this?