Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Nov 17, 2023 · 8 comments

Comments

@FED-Noob
Copy link

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
Copy link
Owner

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
Copy link
Author

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

@FED-Noob
Copy link
Author

image

@mpetroff
Copy link
Owner

mpetroff commented Nov 18, 2023

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
Copy link
Author

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

@mpetroff
Copy link
Owner

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

@FED-Noob
Copy link
Author

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
Copy link
Owner

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants