Python Forum
package installing problem - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: General (https://python-forum.io/forum-1.html)
+--- Forum: News and Discussions (https://python-forum.io/forum-31.html)
+--- Thread: package installing problem (/thread-28290.html)



package installing problem - CatherineKan - Jul-12-2020

I want install a package called FFEA, this is their website: https://ffea.readthedocs.io/en/stable/install.html#prerequisitesU
I downloaded the program through the link they mentioned in the first paragraph, so I can just "read the Prerequisites section on using FFEA, and then jump to install". But I cannot understand what exactly I should do based on their description, can someone help take a look?
Thank you in advance!!


RE: package installing problem - Gribouillis - Jul-12-2020

What is your OS?


RE: package installing problem - CatherineKan - Jul-13-2020

(Jul-12-2020, 08:06 PM)Gribouillis Wrote: What is your OS?
No, I am using Windows 10~


RE: package installing problem - Gribouillis - Jul-13-2020

KaterineCan Wrote:No, I am using Windows 10~
Then I'm not the right man for the job. You need a C or C++ compiler on Windows to build the module. I haven't compiled anything on Windows for many years, let us wait for a reply by a Windows expert.


RE: package installing problem - CatherineKan - Jul-14-2020

(Jul-13-2020, 07:42 PM)Gribouillis Wrote:
KaterineCan Wrote:No, I am using Windows 10~
Then I'm not the right man for the job. You need a C or C++ compiler on Windows to build the module. I haven't compiled anything on Windows for many years, let us wait for a reply by a Windows expert.

No problem, but I still want to ask do you have any idea where should these instructions be executed?[Image: 8mWTGKH]


RE: package installing problem - Gribouillis - Jul-14-2020

These are standard traditional configure/build/install steps to install C based programs. Under linux, I would simply download the tree in a directory, say ffea_src, check that the dependancies are installed, then open a terminal and run one after the other the commands
Output:
mkdir ffea_build cd ffea_build cmake ../ffea_src make make test sudo make install
In Windows, I guess you can do something similar in a Cmd window after installing the appropriate building tools, but it's all I can tell.

After these steps, it remains only to add ffea's bin directory to the PATH environment variable and modify sys.path in python which I would do by updating a sitecustomize.py file instead of the suggested setting of the PYTHONPATH variable.