amithm3 / nPerlinNoise

A robust open source implementation of Perlin Noise Algorithm for N-Dimensions in Python
https://pypi.org/project/nPerlinNoise/
MIT License
21 stars 2 forks source link

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

Open stymbhrdwj opened 10 months ago

stymbhrdwj commented 10 months ago

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.

Tsunami014 commented 9 months ago

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 commented 9 months ago

@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 commented 9 months ago

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 commented 9 months ago

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