Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
debpal opened this issue Jul 17, 2023 · 4 comments
Open

Comments

@debpal
Copy link

debpal commented Jul 17, 2023

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
Copy link
Owner

s-du commented Jul 17, 2023

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
Copy link
Author

debpal commented Jul 18, 2023

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
Copy link
Owner

s-du commented Jul 18, 2023

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
Copy link
Author

debpal commented Jul 18, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants