Hi @theodore, I suspect that the Metashape built-in python doesn't recognise the system openssl implementation. The same thing seems happening on Ubuntu 20.04 according to the forum posts.
I already post the errors on their official forum https://www.agisoft.com/forum/index.php?topic=10943.0 to see if there's a solution for this. You can also add some of your details there.
Search Criteria
Package Details: agisoft-metashape-pro 2.1.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/agisoft-metashape-pro.git (read-only, click to copy) |
---|---|
Package Base: | agisoft-metashape-pro |
Description: | Photogrammetric processing of digital images and 3D spatial data generation software. Professional edition |
Upstream URL: | https://www.agisoft.com/ |
Licenses: | custom, custom:Agisoft EULA |
Provides: | agisoft-metashape-pro, agisoft-network-monitor, agisoft-viewer |
Submitter: | dobedobedo |
Maintainer: | dobedobedo |
Last Packager: | dobedobedo |
Votes: | 3 |
Popularity: | 0.000003 |
First Submitted: | 2020-03-10 05:20 (UTC) |
Last Updated: | 2024-04-15 06:31 (UTC) |
Dependencies (10)
- gcc (gccrs-gitAUR, gcc11AUR, gcc-gitAUR, gcc-snapshotAUR)
- imagemagick (imagemagick-gitAUR, imagemagick-fullAUR, imagemagick-full-gitAUR) (make)
- cuda (cuda11.1AUR) (optional) – nvidia CUDA runtime for GPU acceleration
- glu (glu-gitAUR) (optional) – mesa OpenGL lib
- intel-compute-runtime (intel-compute-runtime-gitAUR, intel-compute-runtime-binAUR) (optional) – Intel Neo OpenCL runtime for GPU acceleration
- libffi6AUR (optional) – QT5 API support in console
- nvidia-utils (nvidia-410xx-utilsAUR, nvidia-340xx-utilsAUR, nvidia-440xx-utilsAUR, nvidia-430xx-utilsAUR, nvidia-510xx-utilsAUR, nvidia-vulkan-utilsAUR, nvidia-utils-teslaAUR, nvidia-470xx-utilsAUR, nvidia-390xx-utilsAUR, nvidia-535xx-utilsAUR, nvidia-525xx-utilsAUR, nvidia-utils-betaAUR) (optional) – nvidia proprietary OpenGL lib
- opencl-amdAUR (amdapp-sdkAUR) (optional) – AMDGPU PRO OpenCL runtime for GPU acceleration
- opencl-clover-mesa (mesa-nightly-nvk-rusticl-intelrt-gitAUR, amdonly-gaming-opencl-clover-mesa-gitAUR, mesa-gitAUR) (optional) – mesa clover OpenCL runtime for GPU acceleration
- opencl-rusticl-mesa (mesa-nightly-nvk-rusticl-intelrt-gitAUR, amdonly-gaming-opencl-rusticl-mesa-gitAUR, opencl-rusticl-mesa-minimal-gitAUR, mesa-gitAUR) (optional) – mesa rusticl OpenCL runtime for GPU acceleration
Required by (0)
Sources (7)
- agisoft-3dv-mime-icon-encoded.txt
- agisoft-metashape-pro-icon-encoded.txt
- agisoft-network-monitor-icon-encoded.txt
- agisoft-psx-mime-icon-encoded.txt
- agisoft-psz-mime-icon-encoded.txt
- agisoft-viewer-icon-encoded.txt
- https://s3-eu-west-1.amazonaws.com/download.agisoft.com/metashape-pro_2_1_1_amd64.tar.gz
Latest Comments
« First ‹ Previous 1 2 3
dobedobedo commented on 2020-07-30 03:50 (UTC) (edited on 2020-07-30 04:12 (UTC) by dobedobedo)
theodore commented on 2020-07-29 09:32 (UTC) (edited on 2020-07-29 09:41 (UTC) by theodore)
@dobedobedo yes I've used the python in the metashape-pro path not with the --user
flag though. In any case I've tried your suggested commands and I am still getting the error regarding the ImportError: cannot import name 'HTTPSHandler'
Actually this is the complete error message:
$ LD_LIBRARY_PATH=/opt/agisoft/metashape-pro/python/lib /opt/agisoft/metashape-pro/python/bin/python3.5 -m pip install --user pillow
Traceback (most recent call last):
File "/opt/agisoft/metashape-pro/python/lib/python3.5/runpy.py", line 174, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/opt/agisoft/metashape-pro/python/lib/python3.5/runpy.py", line 133, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/opt/agisoft/metashape-pro/python/lib/python3.5/runpy.py", line 109, in _get_module_details
__import__(pkg_name)
File "/opt/agisoft/metashape-pro/python/lib/python3.5/site-packages/pip/__init__.py", line 16, in <module>
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File "/opt/agisoft/metashape-pro/python/lib/python3.5/site-packages/pip/vcs/subversion.py", line 9, in <module>
from pip.index import Link
File "/opt/agisoft/metashape-pro/python/lib/python3.5/site-packages/pip/index.py", line 30, in <module>
from pip.wheel import Wheel, wheel_ext
File "/opt/agisoft/metashape-pro/python/lib/python3.5/site-packages/pip/wheel.py", line 39, in <module>
from pip._vendor.distlib.scripts import ScriptMaker
File "/opt/agisoft/metashape-pro/python/lib/python3.5/site-packages/pip/_vendor/distlib/scripts.py", line 14, in <module>
from .compat import sysconfig, detect_encoding, ZipFile
File "/opt/agisoft/metashape-pro/python/lib/python3.5/site-packages/pip/_vendor/distlib/compat.py", line 66, in <module>
from urllib.request import (urlopen, urlretrieve, Request, url2pathname,
ImportError: cannot import name 'HTTPSHandler'
dobedobedo commented on 2020-07-29 05:21 (UTC) (edited on 2020-07-29 06:15 (UTC) by dobedobedo)
Hi @theodore, did you execute the python which belongs to metashape-pro? The path of metashape-pro python is /opt/agisoft/metashape-pro/python/bin/python3.5
.
Besides, you need to use --user
when executing pip
since we would like to avoid messing up the python modules with root permission.
The correct way to install external modules would like run commands like:
/opt/agisoft/metashape-pro/python/bin/python3.5 -m pip install --user python_module_names
If you encounter the error message
error while loading shared libraries: libpython3.5m.so.1.0: cannot open shared object file: No such file or directory
then add the path prefix in the command:
LD_LIBRARY_PATH=/opt/agisoft/metashape-pro/python/lib /opt/agisoft/metashape-pro/python/bin/python3.5 -m pip install --user python_module_names
theodore commented on 2020-07-28 12:42 (UTC)
Hi, I am trying to install an external module according to this https://agisoft.freshdesk.com/support/solutions/articles/31000136860-how-to-install-external-python-module-to-metashape-professional-package but I am getting the ImportError: cannot import name 'HTTPSHandler' error. Then I've tried to install the openssl098 package (https://aur.archlinux.org/packages/openssl098/), but I am still getting the same error message. Any idea how to solve the issue?
dobedobedo commented on 2019-10-01 15:23 (UTC) (edited on 2020-07-29 05:21 (UTC) by dobedobedo)
Run the following command to activate the product
sudo agisoft-metashape-pro --activate 11111-22222-33333-44444-55555
NOTE: the number after "--activate" is your node-locked license
Pinned Comments
dobedobedo commented on 2021-08-18 20:55 (UTC) (edited on 2021-08-20 12:40 (UTC) by dobedobedo)
I encountered an issue the licence becomes invalid and cannot be deactivated. Here's the reply from agisoft support:
So make sure to deactivate the licence before any major system upgrade and then reactivate it.
To deactivate the licence, use
dobedobedo commented on 2020-09-08 02:42 (UTC)
Check the forum thread here:
https://www.agisoft.com/forum/index.php?topic=10943.0
There is a workaround for installing external python modules.
dobedobedo commented on 2019-10-01 15:23 (UTC) (edited on 2020-07-29 05:21 (UTC) by dobedobedo)
Run the following command to activate the product
NOTE: the number after "--activate" is your node-locked license