nanovna-saver icon indicating copy to clipboard operation
nanovna-saver copied to clipboard

No module named 'scipy.spatial.transform._rotation_groups

Open sprakashb opened this issue 3 years ago • 7 comments

Getting "No module named 'scipy.spatial.transform._rotation_groups " error in ver 0.3.9 for linux. Tried to reinstall scipy but same error. Ver 0.3.8 working well.

sprakashb avatar Jul 17 '21 13:07 sprakashb

The same here. Ubuntu 20.04.2

qbit-dev avatar Jul 19 '21 11:07 qbit-dev

Remove the python3 serial module and leave only pyserial intalled, that solved the above error for me.

Yume303 avatar Jul 28 '21 07:07 Yume303

@Yume303 Didn't work for me - I'm getting the same error.

qbit-dev avatar Jul 28 '21 10:07 qbit-dev

also same on Mac OSX Mojave with downloaded 0.3.9 release I have scipy installed on my py3 install, however this is some self-executable/encapsulated py, so maybe it's missing from there?

$ ./nanovna-saver
Traceback (most recent call last):
  File "nanovna-saver.py", line 21, in <module>
  File "/Users/runner/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/PyInstaller/loader/pyimod03_importers.py", line 493, in exec_module
  File "NanoVNASaver/__main__.py", line 36, in <module>
  File "/Users/runner/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/PyInstaller/loader/pyimod03_importers.py", line 493, in exec_module
  File "NanoVNASaver/NanoVNASaver.py", line 28, in <module>
  File "/Users/runner/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/PyInstaller/loader/pyimod03_importers.py", line 493, in exec_module
  File "NanoVNASaver/Windows/__init__.py", line 2, in <module>
  File "/Users/runner/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/PyInstaller/loader/pyimod03_importers.py", line 493, in exec_module
  File "NanoVNASaver/Windows/AnalysisWindow.py", line 23, in <module>
  File "/Users/runner/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/PyInstaller/loader/pyimod03_importers.py", line 493, in exec_module
  File "NanoVNASaver/Analysis/__init__.py", line 1, in <module>
  File "/Users/runner/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/PyInstaller/loader/pyimod03_importers.py", line 493, in exec_module
  File "NanoVNASaver/Analysis/Analysis.py", line 22, in <module>
  File "/Users/runner/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/PyInstaller/loader/pyimod03_importers.py", line 493, in exec_module
  File "scipy/signal/__init__.py", line 302, in <module>
  File "/Users/runner/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/PyInstaller/loader/pyimod03_importers.py", line 493, in exec_module
  File "scipy/signal/filter_design.py", line 16, in <module>
  File "/Users/runner/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/PyInstaller/loader/pyimod03_importers.py", line 493, in exec_module
  File "scipy/optimize/__init__.py", line 421, in <module>
  File "/Users/runner/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/PyInstaller/loader/pyimod03_importers.py", line 493, in exec_module
  File "scipy/optimize/_shgo.py", line 9, in <module>
  File "/Users/runner/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/PyInstaller/loader/pyimod03_importers.py", line 493, in exec_module
  File "scipy/spatial/__init__.py", line 107, in <module>
  File "/Users/runner/hostedtoolcache/Python/3.8.10/x64/lib/python3.8/site-packages/PyInstaller/loader/pyimod03_importers.py", line 493, in exec_module
  File "scipy/spatial/transform/__init__.py", line 19, in <module>
  File "rotation.pyx", line 5, in init scipy.spatial.transform.rotation
ModuleNotFoundError: No module named 'scipy.spatial.transform._rotation_groups'

as others reports, the 0.3.8 binary works fine

zerog2k avatar Jul 29 '21 17:07 zerog2k

Ohh sorry, compilled the 0.3.9 from source for myself, after that removed the installed serial module, leaving the pyserial "alone, and it worked on 21.04.

Yume303 avatar Jul 29 '21 17:07 Yume303

after that removed the installed serial module,

I can't remove installed modules as that would break other programs.

errolt avatar Jan 01 '22 08:01 errolt

There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a 👍 Because this issue is marked as stale, it will be closed and locked in 7 days if no further activity occurs. Thank you for your contributions!

github-actions[bot] avatar Oct 10 '22 08:10 github-actions[bot]