IronLanguages / IronLanguages/ironpython3
System.MissingMemberException: "'module' object has no attribute 'add_dll_directory'"
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2.8k
- Forks
- 316
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 1
Description
Prerequisites
The issue tracker is used to report bugs and request new features, NOT to ask questions.
Questions should be posted to the users mailing list which can be accessed at
https://ironpython.groups.io/g/users.
- Are you running the latest version?
- Are you reporting to the correct repository?
- Did you perform a cursory search?
Description
That is a problem when I try use add library numpy,pandas with python from 3.8 to 3.10. Whether we have any way to fix this problem?
import sys
sys.path.append(r"C:\Users\chuon\AppData\Local\Programs\Python\Python310\Lib\site-packages")
import numpy as np
same problem with : https://stackoverflow.com/questions/74635647/c-sharp-ironpython-system-missingmemberexception-module-object-has-no-attrib
Steps to Reproduce
- [First Step]
- [Second Step]
- [and so on...]
Expected behavior: [What you expected to happen]
Actual behavior: [What actually happened]
Versions
Ironpython 3.4.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing the import of numpy with IronPython 3.4.0 after adding the Python 3.10 site-packages path via sys.path; compare the resulting add_dll_directory failure with the linked behavior. Done means identifying and fixing the compatibility problem, with a regression check for importing numpy and pandas.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, numpy, pandas, python
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100