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

No module named nPerlinNoise but importing NPerlinNoise works #24

Open
stymbhrdwj opened this issue Jan 14, 2024 · 4 comments
Open

No module named nPerlinNoise but importing NPerlinNoise works #24

stymbhrdwj opened this issue Jan 14, 2024 · 4 comments

Comments

@stymbhrdwj
Copy link

I created a new conda environment with Python version 3.11.7 and performed the package installation via the command pip install nPerlinNoise as mentioned in the documentation.

Expected behaviour:

import nPerlinNoise as nPN is successful.

Observation:

The command throws a module not found error. However, running import NPerlinNoise works.

@stymbhrdwj stymbhrdwj changed the title No module named "nPerlinNoise" but importing "NPerlinNoise" works No module named nPerlinNoise but importing NPerlinNoise works Jan 14, 2024
@Tsunami014
Copy link

Same with me! That's annoying, but still usable so until it gets fixed at least I can still use it. I was starting to get concerned that I couldn't use it.

@amithm3
Copy link
Owner

amithm3 commented Feb 17, 2024

@Tsunami014 @stymbhrdwj, thanks for pointing it out. will change it when I get time.
or if possible, you guys are more than welcome to create a PR to fix this

@stymbhrdwj
Copy link
Author

Installing via pip install git+/~https://github.com/amithm3/nPerlinNoise/ has the correct package name. I extracted the .whl file and saw the folder name for the package is incorrect i.e. with the capital N. Any idea how I can fix that?

@amithm3
Copy link
Owner

amithm3 commented Feb 18, 2024

Installing via pip install git+/~https://github.com/amithm3/nPerlinNoise/ has the correct package name. I extracted the .whl file and saw the folder name for the package is incorrect i.e. with the capital N. Any idea how I can fix that?

seems like this commit 66c2c41 was the reason, I don't remember which exact commit was pinned to the v0.14 release.
a new release should fix it

amithm3 added a commit that referenced this issue Feb 18, 2024
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

3 participants