s-du / IRMapper

Pyside6 application for creating thermal point clouds using photogrammetry. Compatible with DJI M3T (Mavic 3 thermal) and Mavic 2 Enterprise Advanced. Using Agisoft Metashape Python API
18 stars 1 forks source link

Metashape version is not matching with the version of requirements.txt #10

Open debpal opened 1 year ago

debpal commented 1 year ago

When I trying to install through pip, the Metashape module cannot be installed. The current Metashape version is 0.0.4 and the requirement file contains 2.0.1. I have attached the screenshot. Capture What should I do?

s-du commented 1 year ago

Hi, I realize I should remove Metashape from the requirements. Normally it is installed automatically when the main.py is launched for the first time. A specific module installation file is included in the ‘resources’ files and is fetched at runtime. Does the app starts?

debpal commented 1 year ago

Hi, I realize I should remove Metashape from the requirements. Normally it is installed automatically when the main.py is launched for the first time. A specific module installation file is included in the ‘resources’ files and is fetched at runtime. Does the app starts?

No, the app does not start. In the previous attachment, you can see that PySide6 is successfully installed. Now is is showing error 'No module named PySide6'. The proof is attached. Capture1

s-du commented 1 year ago

It seems that you have installed everything in a virtual env (first screenshot) but you try to launch the app on the main env. You would need to activate the virtual env first. There is also a windows installer in the ‘releases’ section if you want to test the app more easily! Kind regards

debpal commented 1 year ago

It seems that you have installed everything in a virtual env (first screenshot) but you try to launch the app on the main env. You would need to activate the virtual env first. There is also a windows installer in the ‘releases’ section if you want to test the app more easily! Kind regards Thanks for pointing out the matter. I have activated the irmapper env, but gettting the same error. The screenshot is attached. Capture2