Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
8f5b7fce
Commit
8f5b7fce
authored
Nov 13, 2018
by
Ahuva Kroizer
Committed by
Wenzel Jakob
Nov 13, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FAQ addition (#1606)
* Add possible solution to ImportError issue
parent
e9d6e879
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
docs/faq.rst
+7
-3
No files found.
docs/faq.rst
View file @
8f5b7fce
...
@@ -4,9 +4,13 @@ Frequently asked questions
...
@@ -4,9 +4,13 @@ Frequently asked questions
"ImportError: dynamic module does not define init function"
"ImportError: dynamic module does not define init function"
===========================================================
===========================================================
You are likely using an incompatible version of Python (for instance, the
1. Make sure that the name specified in PYBIND11_MODULE is identical to the
extension library was compiled against Python 2, while the interpreter is
filename of the extension library (without prefixes such as .so)
running on top of some version of Python 3, or vice versa).
2. If the above did not fix the issue, you are likely using an incompatible
version of Python (for instance, the extension library was compiled against
Python 2, while the interpreter is running on top of some version of Python
3, or vice versa).
"Symbol not found: ``__Py_ZeroStruct`` / ``_PyInstanceMethod_Type``"
"Symbol not found: ``__Py_ZeroStruct`` / ``_PyInstanceMethod_Type``"
========================================================================
========================================================================
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment