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
    import noise

    however it comes up with the error:

     "Traceback (most recent call last):
      File "", line 5, in <module>
      File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/noise/", 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.

  • hello @rachelkriebel,

    from your error message it looks like you have installed noise for Python 3.7. but DrawBot uses Python 3.6, so it can’t find it.

    you can specify the version of Python when installing a package with pip:

    pip3.6 install noise

    give it a try! good luck