comtypes numpy support for version > 1.1.11
- Dominant language
- Jupyter Notebook
- Stars
- 11
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
I experienced this erro on Python 3.10 using comtypes 1.2.0
```python
---------------------------------------------------------------------------
ArgumentError Traceback (most recent call last)
Cell In[12], line 9
7 factors = np.random.rand(nC)
8 name = 'Combination {}'.format(i+1)
----> 9 axm.LoadCombinations.Add(name, ctULS1, factors, caseIDs)
ArgumentError: argument 3: : Argument [0.43154583 0.00095536 0.69861531 0.85974925 0.40414348] appears to be a numpy.ndarray, but comtypes numpy support has not been enabled. Please try calling comtypes.npsupport.enable_numpy_interop() before passing ndarrays as parameters.
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.