Post

2 followers Follow
0
Avatar

running sample program got the error message

OS: Win10  rev1803 

See the detail  message: 

PCI Pluggable Framework environment successfully loaded.
Traceback (most recent call last):
File "<string>", line 37, in <module>
File "C:\Python27\Lib\multiprocessing\__init__.py", line 232, in Pool
return Pool(processes, initializer, initargs, maxtasksperchild)
File "C:\Python27\Lib\multiprocessing\pool.py", line 159, in __init__
self._repopulate_pool()
File "C:\Python27\Lib\multiprocessing\pool.py", line 223, in _repopulate_pool
w.start()
File "C:\Python27\Lib\multiprocessing\process.py", line 130, in start
self._popen = Popen(self)
File "C:\Python27\Lib\multiprocessing\forking.py", line 272, in __init__
prep_data = get_preparation_data(process_obj._name)
File "C:\Python27\Lib\multiprocessing\forking.py", line 399, in get_preparation_data
sys_argv=sys.argv,
AttributeError: 'module' object has no attribute 'argv'

Kindly tell us how to solve it?

 

Sy Kuo

Please sign in to leave a comment.

3 comments

0
Avatar

Hi

It's hard to know what the cause of the issue is without knowing what script you are running. You say you are running a sample program. Which sample program? Also, which version of Geomatica are you using?

Michael Goldberg 0 votes
0
Avatar

This issue comes from the Focus Python Scripting window, and this script uses the multiprocessing module which is not compatible with the Focus Python Scripting window. If you wish to run this script, you should run it form the command line.

 

If you have any other questions, please feel free to contact support@pcigeomatics.com

Michael Goldberg 0 votes