Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run FlexTool on Microsoft server 12/2012 #113

Open
e-zaline opened this issue Oct 10, 2023 · 4 comments
Open

Cannot run FlexTool on Microsoft server 12/2012 #113

e-zaline opened this issue Oct 10, 2023 · 4 comments

Comments

@e-zaline
Copy link
Collaborator

I have tried to install FlexTool in a Microsoft server 12/2012. The installation showed no error, but when running
python -m spinetoolbox, I get the following error:

(flextool) C:\Users\XXXX>python -m spinetoolbox
Traceback (most recent call last):
File "C:\Users\XXXX.conda\envs\flextool\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\XXXX.conda\envs\flextool\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\XXXX\Spine-Toolbox\spinetoolbox_main
.py", line 17, in
from spinetoolbox.main import main
File "C:\Users\XXXX\Spine-Toolbox\spinetoolbox\main.py", line 28, in
from PySide6.QtGui import QFontDatabase
ImportError: DLL load failed while importing QtGui: The specified procedure could not be found.

Do you have any idea what could be the problem?

@jkiviluo
Copy link
Member

@soininen would you know a solution to this. I would guess that it's not really about Microsoft server as such, but that the installation has failed to get everything installed. There could e.g. be a policy against allowing unknown DLL files in the system.

@soininen
Copy link
Collaborator

Maybe adding the folder which contains the DLLs to the PATH environment variable would help? On my system, the folder would be C:\Users\XXX\AppData\Local\miniconda3\envs\flextool\Lib\site-packages\PySide6.

@e-zaline
Copy link
Collaborator Author

Thanks. Unfortunately it does not help.

@soininen
Copy link
Collaborator

soininen commented Oct 13, 2023

Does it work if you try to install Toolbox using Python's virtual environment? You will need to have Python installed (not the Anaconda one) and follow the instructions in Installation from sources using Git.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants