-
|
I am trying to install version 4.5.1 of the code from source. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Hi @WetYXXX can you share the commands you used and the output of the commands? It would be helpful to see the details. |
Beta Was this translation helpful? Give feedback.


Sorry, I think I’ve found the cause of the issue.
When cloning the repository using
git clone -b main https://github.com/NREL/floris.git, the downloaded folder is named floris by default.Usually, other repositories are named something like
floris-mainorfloris-versionNoinstead.In this case, the folder name floris conflicts with the internal package name floris.
Therefore, if you run basic commands such as ‘from floris import FlorisModel’ without first changing the folder, an import error will occur. Therefore, I thought that following the instructions on the homepage would result in an error.
In summary, running the following commands consecutively will result in an error. However, it…