Message 1 of 6

Not applicable
12-16-2019
08:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
I am using pyrevit to create some plugins for revit, so I am using python not CSharp or ....
I want to import numpy package.
At first it was giving me this error that "no module named numpy". So I found out that IronPython is not compatible with CPython packages.
In order to use numpy you have to use CPython and in order to that you need to put one line of code at the begining of your script which is:
#! python3
When I add this line not only it doesn't recognize numpy, but it also doesn't recognize __revit__ and .... anymore, it does recognize some other things like (math or winform or array, os and ...)
Any help would be much appreciated.
Thanks,
Dave
Solved! Go to Solution.