Agisoft Metashape

Agisoft Metashape => Python and Java API => Topic started by: stephan on November 28, 2018, 01:44:51 PM

Title: importing pycuda to photoscan's python
Post by: stephan on November 28, 2018, 01:44:51 PM
Hi guys,

I am trying to setup a processing chain where I am using pycuda to do some image and point cloud manipulations. Right now I can use pycuda with the native python3 distribution in my OS and call this from photoscan as a shell script, however when I try to install pycuda inside the python version used by photoscan on Windows 10 I get compilation errors every time.
Has anyone had any luck setting this up? Is there something special that needs to be done to allow photoscan to access the VS c++ compiler from PATH?

Thanks!
Title: Re: importing pycuda to photoscan's python
Post by: Alexey Pasumansky on November 28, 2018, 03:05:59 PM
Hello stephan,

Can you provide the output from the terminal of the failed pycuda modul installation in PhotoScan Python?