Comments (4)
I have the same problem on Windows Python36 with the noise package.
In the directory are _perlin.c and simplex.c and init.py which fails to import them :
from noise import *
File "C:\Python\Python36\lib\site-packages\noise_init.py", line 14, in
snoise2 = _simplex.noise2
NameError: name '_simplex' is not defined
from noise.
Here the content of the noise package just after pip install noise
:
% cd ~/.virtualenvs/test/lib/python3.5/site-packages/noise
% ls -la
total 100
drwxr-xr-x 3 user user 512B Aug 24 13:20 .
drwxr-x--- 129 user user 4.0K Aug 24 13:20 ..
-rw-r--r-- 1 user user 536B Aug 24 13:20 __init__.py
drwxr-xr-x 2 user user 512B Aug 24 13:20 __pycache__
-rwxr-xr-x 1 user user 19K Aug 24 13:20 _perlin.so
-rwxr-xr-x 1 user user 22K Aug 24 13:20 _simplex.so
-rw-r--r-- 1 user user 11K Aug 24 13:20 perlin.py
-rw-r--r-- 1 user user 2.3K Aug 24 13:20 setup.py
-rw-r--r-- 1 user user 7.0K Aug 24 13:20 shader.py
-rw-r--r-- 1 user user 5.6K Aug 24 13:20 shader_noise.py
-rw-r--r-- 1 user user 4.5K Aug 24 13:20 test.py
Output of ldd
:
% ldd -a _simplex.so
ldd: _simplex.so: Shared object "_simplex.so" not found, required by "ldd"
_simplex.so: exit status 1
from noise.
import noise
from noise.
Ubuntu 22 LTS Python2.7.18
Downloading the archive with the source code and launching it helped
sudo python setup.py install
from noise.
Related Issues (20)
- Error during the installation HOT 6
- Can't import noise from other directories HOT 3
- noisemachine.com is offline ? HOT 1
- Where should the grad2 symbol in _perlin.so come from? HOT 13
- How to randomize the noise?
- cannot import name _perlin after running install.py successfully from master HOT 2
- README link to information on simplex noise is broken HOT 2
- [Discussion] Adding type hints?
- Segfault on snoise4 with lacunarity argument
- ImportError: Error relocating .../_perlin.cpython-37m-x86_64-linux-gnu.so: grad2: symbol not found HOT 1
- Add inverse function
- Can't import noise
- Could you update the latest version to pypi?
- Cant install noise via pip HOT 5
- IndexError
- Hot to credit noise
- Base in py_noise2 doesn't do *anything*
- ModuleNotFoundError: No module named 'noise.connection' HOT 2
- SegFault in pnoise2 when providing large seeds
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from noise.