Hi Alexey,
I'm trying to add numpy with Photoscan version 1.3.2 on Ubuntu 16.04 by running the following command in the photoscan-pro/python/bin directory:
./python3.5 -m pip install numpy
But I get the following error while:
Traceback (most recent call last):
File "/home/ubuntu/photoscan-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 "/home/ubuntu/photoscan-pro/python/lib/python3.5/runpy.py", line 133, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/home/ubuntu/photoscan-pro/python/lib/python3.5/runpy.py", line 109, in _get_module_details
__import__(pkg_name)
File "/home/ubuntu/photoscan-pro/python/lib/python3.5/site-packages/pip/__init__.py", line 16, in <module>
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File "/home/ubuntu/photoscan-pro/python/lib/python3.5/site-packages/pip/vcs/subversion.py", line 9, in <module>
from pip.index import Link
File "/home/ubuntu/photoscan-pro/python/lib/python3.5/site-packages/pip/index.py", line 30, in <module>
from pip.wheel import Wheel, wheel_ext
File "/home/ubuntu/photoscan-pro/python/lib/python3.5/site-packages/pip/wheel.py", line 39, in <module>
from pip._vendor.distlib.scripts import ScriptMaker
File "/home/ubuntu/photoscan-pro/python/lib/python3.5/site-packages/pip/_vendor/distlib/scripts.py", line 14, in <module>
from .compat import sysconfig, detect_encoding, ZipFile
File "/home/ubuntu/photoscan-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'
How can I resolve this issue? Thanks!