You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I passed the following commands with in the tutorial:
fbs startproject
fbs run
fbs freeze
but the command
fbs installer
gave me errors as follows.
FileNotFoundError: fbs could not find executable 'makensis'. Please install NSIS and add its installation directory to your PATH environment variable.
I have installed NSIS and added it to my Env PATH. But it looks like the conda env cannot find the path specified on Windows.
I looked into one solution addressed by conda: windows-environment-has-not-been-activated.
But I can not understand how the proposed solution works.
=================this is not a solution=======================
Thus, I tried to copy the entire NSIS exe files to python env as the following figure shows.
But it leads to another error:
subprocess.CalledProcessError: Command '['makensis', 'Installer.nsi']' returned non-zero exit status 2.
I hope I have proved enough information to repeat this issue. Look forward to seeing any feedback.
By the way, I used the 'conda init PowerShell command when install mininconda. so my default shell is on conda base.
The text was updated successfully, but these errors were encountered:
After a few more tests + restart the PC, I found a solution with the following commands.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
Loading personal and system profiles took 1411ms.
(base) ➜ QT conda activate qt
(qt) ➜ QT fbs installer
Created target\HelloWorldSetup.exe.
(qt) ➜ QT cmd
Microsoft Windows [Version 10.0.19042.804]
(c) 2020 Microsoft Corporation. All rights reserved.
D:\Code\QT>fbs installer
Created target\HelloWorldSetup.exe.
I think powershell somehow blocked the path command on my pc. When I switched to cmd and run the command, all the NSIS tools are loaded properly.
conda env can not find the 'makensis' to build the installer files.
Windows Specs:
I used the
conda
to create an environment for Qt development and you can see all the packages installed in this env.I passed the following commands with in the tutorial:
but the command
gave me errors as follows.
I have installed NSIS and added it to my Env PATH. But it looks like the
conda env
cannot find the path specified on Windows.I looked into one solution addressed by conda:
windows-environment-has-not-been-activated.
But I can not understand how the proposed solution works.
=================this is not a solution=======================
Thus, I tried to copy the entire NSIS exe files to python env as the following figure shows.
![Screenshot 2021-02-21 112247](https://user-images.githubusercontent.com/3784477/108611889-3835b800-7437-11eb-9cb8-7026503d8987.png)
But it leads to another error:
I hope I have proved enough information to repeat this issue. Look forward to seeing any feedback.
By the way, I used the 'conda init PowerShell command when install
mininconda
. so my default shell is on condabase
.The text was updated successfully, but these errors were encountered: