Hi @MelleH,
the numpy library is not included in pyrevit, so, in order to make it import
able, you install and make it available to the python interpeter.
You can do it following these steps:
- install a python 3.10 distribution in you system (it could be vanilla python or anaconda/condaforge)
- install numpy in that python envrionment
- in your pyrevit script, do a
sys.path.append(xxx)
wherexxx
is the path of thesite-package
directory of the python environment
after that, you can try to import the numpy library, but I suspect it will not work. As I tried to state quite a few times here and on github, and also tried to advertise in the quickstart post, cpython support is not yet ready for production.
Good luck with that!