nPerlinNoise icon indicating copy to clipboard operation
nPerlinNoise copied to clipboard

No module named `nPerlinNoise` but importing `NPerlinNoise` works

Open stymbhrdwj opened this issue 1 year ago • 4 comments

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 avatar Jan 14 '24 20:01 stymbhrdwj

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.

Tsunami014 avatar Feb 17 '24 02:02 Tsunami014

@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

amithm3 avatar Feb 17 '24 15:02 amithm3

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?

stymbhrdwj avatar Feb 17 '24 23:02 stymbhrdwj

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 avatar Feb 18 '24 14:02 amithm3