Closed david-hoffman closed 6 years ago
Thanks for reporting!
I'm still using pip for package management (where I never saw that problem), so I'll have to look into that.
@tlambert03: any idea what could be the issue?
hi David, causing trouble again I see? :)
I've sometimes seen this issue (in general in conda, not specific to spimagine) if ipython is not in the environment (spimenv
in this case). It may be using your root env ipython, and not finding the packages in ~/anaconda3/envs/spimenv
...
in your spimenv
command prompt, try:
$ which ipython
and if the output is /Users/david/anaconda3/bin/ipython
that's probably the issue... another way to confirm, try this at the command prompt:
$ python -c 'import spimagine; print(spimagine.__file__)'
if that works but ipython doesn't, then it's definitely ipython using a different PYTHONPATH
in any case, try conda install ipython
in your spimenv
environment, then source activate spimenv
again, then try running ipython and importing.
Yup @tlambert03 that fixed it!
I've followed the instructions to install
spimagine
via conda on OSX. The install finished without error and I can launch the spimagine standalone program. But I can't import it into python:Any thoughts on what might be going wrong? Does a folder need to be added to the
PYTHONPATH
variable?