You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/06/22 15:02:53 UTC
[GitHub] kgbook edited a comment on issue #1161: ImpportError: No module
named skimage when running Neural-style example
kgbook edited a comment on issue #1161: ImpportError: No module named skimage when running Neural-style example
URL: https://github.com/apache/incubator-mxnet/issues/1161#issuecomment-399471121
@ipa-srd-rd
My situation:
OS: Mac OSX
Issue:
- OSX default python 2.7.10, `/usr/bin`.
- python 3.6.15, `/usr/local/Cellar/python/3.6.5/bin`
- scikit-image installed in python 3.6.15 environment.
I manage the two version with pyenv and pyenv-virtualenv, but I did a mistake:
Suppose the program `test.py`, I assign the interpreter with `!#/usr/bin/python`, then use `pyenv` switch to `py3` environment, execute the command `./test.py`. Note that I run python 2.7.10 interpreter in python 3.6.15 environment, ImportError Inevitably!
The solution:
delete the first line `!#/usr/bin/python` , run `python test.py` in `py3` (python 3.6.15 envrionment).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services