mpetroff / pannellum

Pannellum is a lightweight, free, and open source panorama viewer for the web.
https://pannellum.org/
MIT License
4.15k stars 710 forks source link

I've installed pip3 install numpy, but when I run pip3 install --user pyshtools, ModuleNotFoundError: No module named 'numpy' [end of output] #1189

Open FED-Noob opened 7 months ago

FED-Noob commented 7 months ago

I've installed pip3 install numpy, but when I run pip3 install --user pyshtools, ModuleNotFoundError: No module named 'numpy'

[end of output] Snipaste_2023-11-17_17-45-09

mpetroff commented 7 months ago

The problem is that pyshtools does not yet support Python 3.12. If you switch to Python 3.11, it should work.

Python 3.12 removed distutils, which broke all Python libraries that use Fortran dependencies, particularly on Windows. As pyshtools is a Python binding to the Fortran SHTOOLS library, this broke pyshtools. There are some draft pull requests to fix it, but these are not yet finished.

FED-Noob commented 7 months ago

我安装了Python 3.11确实可以了,但我现在遇到了另一个问题。 image

FED-Noob commented 7 months ago

image

mpetroff commented 7 months ago

Windows requires you to use double quotation marks to escape paths with spaces, e.g., -n "C:\Program Files\Hugin\bin\nona.exe".

FED-Noob commented 7 months ago

Thank you. I can cut the picture now,, Can you only cut a whole panorama? Can 6 cubemap images be cut?

mpetroff commented 7 months ago

Without modifications, the generate.py script only works with equirectangular inputs.

FED-Noob commented 7 months ago

Learned, thank you, I know, there is another question I want to ask you, when I move the Angle occasionally appear black lumps image

mpetroff commented 7 months ago

when I move the Angle occasionally appear black lumps

That (and the screenshot) isn't really enough information to go on. Do you have an example you can link to? What version of Pannellum are you using? What's your configuration?