Dear Renaud,
My name is Victor and I've been trying to run the first examples of FeResPost for several days without success. I attach some pictures for you to see the errors I get.
I've followed this thread's advises, as well as the ones given in the manual and I could not get the first example running in PyCharm in neither of the two computers I tried it.
I would love if you could upload a video showing how to make the first example run, because I've spent so much time trying all the posibilities of directories, interpreters,... and still haven't figured it out. I did succeed in making the EX06 excel file running with the video you uploaded a few years ago, but I don't know if the registration of the COM component has anything to do with the EX01 I'm trying to run in Python.
Below I ask you some of the questions I've come across during these days:
- Why are there both COM and Python examples inside SRC, TESTSAT and Binaries folders? Do I need to run COM or Python folders inside PyCharm? I don't understand what's the difference between them if both are opened in PyCharm.
- Does the directory of the TESTSAT files need to be without spaces?
- Which directories do I have to modify in order to run the first example? Just the two include statements in unit_xyz_V1.bdf and the env.bat paths? Or also unit_xyz_V1.bdf.WINDOWS and lst? In the photo s3 of Maxim, the directories are the ones that ubicate his files, which I don't know if the lst file has to be changed manually, or it's the result of running a script.
- I don't understand why the two include directories that has to be modified in unit_xyz_V1.bdf are divided in three lines (photo 4). And related with my previous question of the spaces in the directories, I think that those include statements in the .bdf file, doesn't take into account the spaces, which can lead to errors of not finding the files (photo 3). If tried having a directory without spaces and the errors persist.
- Can I execute FeResPost in the prompt? As you can see in photo 14, I can import FeResPost. I think I also can import FeResPost in PyCharm (first photos), because I get the square made of ****, but then I get various errors for some reason. So I think that the error in my examples is related with the directories or with the interpreter.
- Do I have to change the directories for every example?
- Why isn't it a .pyd file for Python 3.8?
- Do I have to install Python 3.7 appart from Anaconda? As you can see in photos 6-8, I have both python and FeResPost in the corresponding locations, which I have specified in photo 5, so I think it's not necessary. In the other computer I've tried, I've Python 3.7 both in "C:\ProgramData\Anaconda3" and in "C:\Users\victor.santibanez\AppData\Local" and none works.
- I've tried both the versions of binaries 32 and 64 bits and I get the same errors. As you can see in photo 14, the Python version I'm using is 32 bits, but then I can't find the FeResPost library in photo 9 or 10.
- I've also thought that in other to avoid changing the directories, I could make a partition of the hard disk called "D:\SHARED\FERESPOST\" to replicate the directories you have. Would it be easier that way? However, I think that it's not necessary to go that far, and that it can work without making that.
I'd love to hear some advises from you about how to run FeResPost because I've the time and the will to learn it.
Thank you very much.
Best regards,
Victor