Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - v4ven27

Pages: [1]
Python and Java API / Re: How to import OpenCV
« on: May 30, 2017, 11:32:49 PM »
I solved this issue by creating a symlink from the distribution numpy installation /usr/local/lib/python3.5/dist-packages/numpy to ~/photoscan-pro/python/lib/site-packages

Python and Java API / Re: How to import OpenCV
« on: May 30, 2017, 11:17:48 PM »
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: 

Code: [Select]
./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/", 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/", line 133, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/home/ubuntu/photoscan-pro/python/lib/python3.5/", line 109, in _get_module_details
  File "/home/ubuntu/photoscan-pro/python/lib/python3.5/site-packages/pip/", 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/", line 9, in <module>
    from pip.index import Link
  File "/home/ubuntu/photoscan-pro/python/lib/python3.5/site-packages/pip/", line 30, in <module>
    from pip.wheel import Wheel, wheel_ext
  File "/home/ubuntu/photoscan-pro/python/lib/python3.5/site-packages/pip/", 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/", 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/", line 66, in <module>
    from urllib.request import (urlopen, urlretrieve, Request, url2pathname,
ImportError: cannot import name 'HTTPSHandler'

How can I resolve this issue? Thanks!

Pages: [1]