Running for many wavelengths - this may take a long time
ExecutionError Traceback (most recent call last)
in
----> 1 wavelengths, results = SixSHelpers.Wavelengths.run_vnir(s, output_name="pixel_radiance")
/opt/anaconda3/lib/python3.8/site-packages/Py6S/SixSHelpers/all_wavelengths.py in run_vnir(cls, s, spacing, **kwargs)
129
130 wv = np.arange(0.400, 1.400, spacing)
--> 131 return cls.run_wavelengths(s, wv, **kwargs)
132
133 @classmethod
/opt/anaconda3/lib/python3.8/site-packages/Py6S/SixSHelpers/all_wavelengths.py in run_wavelengths(cls, s, wavelengths, output_name, n, verbose)
88
89 print("Running for many wavelengths - this may take a long time")
---> 90 results = pool.map(f, wavelengths)
91
92 pool.close()
/opt/anaconda3/lib/python3.8/multiprocessing/pool.py in map(self, func, iterable, chunksize)
362 in a list that is returned.
363 '''
--> 364 return self._map_async(func, iterable, mapstar, chunksize).get()
365
366 def starmap(self, func, iterable, chunksize=None):
/opt/anaconda3/lib/python3.8/multiprocessing/pool.py in get(self, timeout)
769 return self._value
770 else:
--> 771 raise self._value
772
773 def _set(self, i, obj):
/opt/anaconda3/lib/python3.8/multiprocessing/pool.py in worker(inqueue, outqueue, initializer, initargs, maxtasks, wrap_exception)
123 job, i, func, args, kwds = task
124 try:
--> 125 result = (True, func(*args, **kwds))
126 except Exception as e:
127 if wrap_exception and func is not _helper_reraises_exception:
/opt/anaconda3/lib/python3.8/multiprocessing/pool.py in mapstar(args)
46
47 def mapstar(args):
---> 48 return list(map(*args))
49
50 def starmapstar(args):
/opt/anaconda3/lib/python3.8/site-packages/Py6S/SixSHelpers/all_wavelengths.py in f(wv)
68 if verbose:
69 print(wv)
---> 70 a.run()
71 if output_name is None:
72 return a.outputs
/opt/anaconda3/lib/python3.8/site-packages/Py6S/sixs.py in run(self)
342
343 if self.sixs_path is None:
--> 344 raise ExecutionError("6S executable not found.")
345
346 # Create the input file as a temporary file
ExecutionError: 6S executable not found.
Hello,
I'm having several problems installing and running Py6S:
Then, I run pip install py6s, which solved the module errore for Ipython and Jupiter, but not for PyCharm.
I then tried to continue with the Quick Start commands, but it returns this error: