Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Solved
    • Unsolved
    • Search
    1. Home
    2. rachelkriebel
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by rachelkriebel

    • some problems importing noise module

      hey guys, hope everyone's doing well!
      im new to coding in drawbot, and was trying to experiment with the noise module. However, i have tried pip and git cloning (not sure if thats the proper terminology, sorry!) noise, and it comes with the error "ModuleNotFoundError: No module named 'noise' when i simply try to import noise.
      I have tried the following code below to try and "hack" it into working,

      import random, math, sys
       
      sys.path.append('/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/')
       
      import noise
      

      however it comes up with the error:

       "Traceback (most recent call last):
        File "weirdv061219.py", line 5, in <module>
        File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/noise/__init__.py", line 12, in <module>
      ImportError: cannot import name '_perlin'"
      

      I'm sure im doing something wrong here, just not even sure where to start. I apologize for generalness of this, I'm trying my best.

      posted in General Discussion
      rachelkriebel
      rachelkriebel