Closed ouening closed 4 years ago
Do you have the latest master installed? The first issue should be fixed with https://github.com/NGSolve/ngsgui/commit/20d81cc90f15ec3da03dcef4ad9b14f60fd67620 The second seems to be an issue with your python setup and similar to here: https://stackoverflow.com/questions/42512817/fatal-python-error-on-windows-10-modulenotfounderror-no-module-named-encodings
pls reopen if issue is not resolved.
Best Christopher
Thank you I have solved the second problem through adding system variable PYTHONHOME
. But for the first problem, I was using the latest code and reinstalled again, got error:
Traceback (most recent call last):
File "E:\Applications\WPy64-3741\python-3.7.4.amd64\lib\runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "E:\Applications\WPy64-3741\python-3.7.4.amd64\lib\runpy.py", line 142, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "E:\Applications\WPy64-3741\python-3.7.4.amd64\lib\runpy.py", line 109, in _get_module_details
__import__(pkg_name)
File "E:\Applications\WPy64-3741\python-3.7.4.amd64\lib\site-packages\ngsgui-0.1.11-py3.7.egg\ngsgui\__init__.py", line 18, in <module>
from .scenes import *
File "E:\Applications\WPy64-3741\python-3.7.4.amd64\lib\site-packages\ngsgui-0.1.11-py3.7.egg\ngsgui\scenes.py", line 2, in <module>
import numpy, os, ngsolve
ModuleNotFoundError: No module named 'ngsolve'
It's really strange
where did you install ngsolve to? Your pythonhome does need to include that path as well.
ngsolve: NGSolve-6.2.2004-win64 python: 3.7.4 (in system) I installed
ngsgui
from source:python setup.py install
Afetr that , I runpython -m ngsgui
then error happened:Also I found another problem aboud
ngsolve
,I executed the commandngsolve
after I have installed ngsolve and restart computer, an error occured:Is that because I have another python in my computer? Hope for solution for it, thank you!