Unable to import OpenVisus in python 3.7
Closed this issue · 4 comments
natevm commented
When I try to import OpenVisus, init.py calls "from .OpenVisus import *", which returns the error message: " ModuleNotFoundError: No module named 'OpenVisus.OpenVisus'.
By changing "from .OpenVisus import *" to "from . import *", the error goes away.
pascucci commented
Is there a “.” In the name?
After the second option do you get all the ViSUS functions?
V
…On Tue, Dec 11, 2018 at 19:08 Nathan V. Morrical ***@***.***> wrote:
When I try to import OpenVisus, *init*.py calls "from .OpenVisus import
*", which returns the error message: " ModuleNotFoundError: No module named
'OpenVisus.OpenVisus'.
By changing "from .OpenVisus import *" to "from . import *", the error
goes away.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#24>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABNcAEB7lOFp03vniFWYAbXdUtZFJX1gks5u4GUegaJpZM4ZOmEd>
.
natevm commented
The second option seems to give me all the ViSUS functions. I think I can make a pull request with a quick fix for this and for the other issue I just opened.
pascucci commented
Thanks that would be great. I delegate to Giorgio the final call. I did not
run on this issue. Is that a platform problem ? Honestly I tested things
only on windows.
V
…On Tue, Dec 11, 2018 at 19:13 Nathan V. Morrical ***@***.***> wrote:
The second option seems to give me all the ViSUS functions. I think I can
make a pull request with a quick fix for this and for the other issue I
just opened.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#24 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABNcAEEn3GRdCLPMjQaT50oKfdSk7nQcks5u4GZDgaJpZM4ZOmEd>
.
scrgiorgio commented
Merged pull request: #26