I create a dynamic library and then using swig under snow leopard but when I import my module it returns always ImportError: No module named blabla. I've all compiled in 64 bit, download and install python 2.7 64 bit. This test library has been created with cmake, and when I was with leopard 32 bit, it worked.
python/c++ wrapping on Snow Leopard
212 Views Asked by D.Giunchi At
1
There are 1 best solutions below
Related Questions in C++
- How to immediately apply DISPLAYCONFIG_SCALING display scaling mode with SetDisplayConfig and DISPLAYCONFIG_PATH_TARGET_INFO
- Why can't I use templates members in its specialization?
- How to fix "Access violation executing location" when using GLFW and GLAD
- Dynamic array of structures in C++/ cannot fill a dynamic array of doubles in structure from dynamic array of structures
- How do I apply the interface concept with the base-class in design?
- File refuses to compile std::erase() even if using -std=g++23
- How can I do a successful map when the number of elements to be mapped is not consistent in Thrust C++
- Can std::bit_cast be applied to an empty object?
- Unexpected inter-thread happens-before relationships from relaxed memory ordering
- How i can move element of dynamic vector in argument of function push_back for dynamic vector
- Brick Breaker Ball Bounce
- Thread-safe lock-free min where both operands can change c++
- Watchdog Timer Reset on ESP32 using Webservers
- How to solve compiler error: no matching function for call to 'dmhFS::dmhFS()' in my case?
- Conda CMAKE CXX Compiler error while compiling Pytorch
Related Questions in PYTHON
- How to store a date/time in sqlite (or something similar to a date)
- Instagrapi recently showing HTTPError and UnknownError
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Python Geopandas unable to convert latitude longitude to points
- Influence of Unused FFN on Model Accuracy in PyTorch
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Problem with add new attribute in table with BOTO3 on python
- Can't install packages in python conda environment
- Setting diagonal of a matrix to zero
- List of numbers converted to list of strings to iterate over it. But receiving TypeError messages
- Basic Python Question: Shortening If Statements
- Python and regex, can't understand why some words are left out of the match
Related Questions in SWIG
- Issue With Generating C++ Wrapper File For Python Code Using SWIG
- MinGW ld linking error - undefined reference
- AndroidBitmap_lockPixels() and SWIG
- Undefined symbol for boost serialization extended type info when using swig to convert from C++ to tcl
- How do I add dependencies that can't be installed with pip to my (django) project on Heroku?
- segfault at 10 when use python-ESL module to develop freeswitch application
- What is causing SWIG to generate invalid code?
- Bazel. Generating files which aren't available prior to bazel build during the build itself
- Swig is not detecting correctly the struct to call C++
- ImportError: DLL load failed: The specified module could not be found for custom built pkg using Swig & CMake
- Generate SWIG JNI for reference pointer
- SWIG issue using cmake on Mac - can't import .dylib file
- SWIG raise Syntax error - possibly a missing semicolon
- Using swig to access pointers to pointers from C in python
- Error installing faiss-cpu with pip: swig.exe command failed during wheel build for Python 3.12.0
Related Questions in OSX-LEOPARD
- Error when I try to install matplotlib on my Mac for Python
- How to use `curl` in old OSX?
- How to setup kdiff3 in Mac OS?
- Cause of change from `-arch ppc` to `-arch ppc7400`?
- In what version of OS X was libstdc++.6.dylib updated to point to libstdc++.6.0.9.dylib
- Cannot get App built on OS X 10.9 to run on OS X 10.5
- Can't install Scrapy - working compilier not found during cffi 0.8.6
- How do I set the search path for frameworks in Xcode 3?
- How to manage appleevents in Xcode
- My Xcode app won't launch on other Macs
- NSMenu canelTracking is not working on Mac OSx 10.5
- Install OpenCV on Mac OS 10.5
- OS X SDK 10.5 version of dispatch_queue_t
- Support newer features in older versions of OS X SDK
- Java error "Bad version number in .class file" on Mac OS X 10.5
Related Questions in IMPORTERROR
- Mistake in importing the class
- ImportError: attempted relative import beyond top-level package
- ImportError: cannot import name 'Mapping' from 'collections' (E:\Anaconda\envs\nlp\Lib\collections\__init__.py)
- How do I fix an error returning "import "pytest" could not be resolved Pylance?
- ImportError: cannot import name '_priv_parser', circular dependency
- library have "-" in name so when I call it I get SyntaxError: invalid syntax I can't change library name how can I fix it
- ImportError: The 'platformdirs' package is required
- ImportError with chromadb in Python 3.12.0 - Module Not Found Despite Installation
- Cannot import name 'linear_util' from 'jax'
- Python importing inside a project with pytest
- Relative Import: No Known Parent Package
- How to specify mapping alias for imports in a Node.js typescript project?
- Numpy Installation on Raspberry Pi
- Why 'import' keyword is importing OS module commands along with the parent class that I want to import?
- issue with importing tensorflow
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Given that it worked on 32 bits, I would first check whether the library has 64 bits code. You can use the file command I think to check the arch in a multi-arch mach-o binary.
If the library is indeed 64 bits, then please give us the exact exception in python, and more importantly, a build log from cmake. Build issues for python extensions on mac are quite tricky because of the multi-arch support, and some incompatibilities between gcc versions, hence the need for more details.