Relative Content

Tag Archive for pythoninstallationimportpipsite-packages

With Python 3 I get a pip error when importing the ‘noise’ package by Caseman, anyone know a fix for it?

I’m writing a (really janky) 2d fluid simulation in Python. Currently I’m generating a starting state for the sim by just filling a 2d array with random floats generated by the random module, and then blurring the texture by averaging each cell with the ones around it. This is very slow, and produces a noise texture that’s somewhat blocky due to the square blur shape. So once I got bored of waiting for ten seconds every now and then for python to generate a new random grid, I decided to invest what I thought would be a mere ten minutes into figuring out how to use a library for it. Five hours later, I find myself exactly where I started, just more frustrated. I’ve been trying to install this package using the command pip install noise, but every time I try the command the same error comes back, even after trying every other fix for similar problems I could find. The error looks like this: