ImportError: dlopen(/Users/a1/tensorflow_macos_venv/lib/python3.8/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so, 6): no suitable image found. It seems to be virtual environment has been created but when I activate it and start importing tensorflow in my script I get the following:įile "/Users/a1/tensorflow_macos_venv/lib/python3.8/site-packages/tensorflow/python/pywrap_tensorflow.py", line 64, in įrom tensorflow.python._pywrap_tensorflow_internal import * I have followed the manual from this github and started Please check that ROOT has been built for Python 3.8 ImportError: Failed to import libcppy圓_8. Users/roany/root-install/lib/libcppy圓_8.so: mach-o, but wrong architectureĭuring handling of the above exception, another exception occurred:įile "/Users/roany/root-install/lib/ROOT/_init_.py", line 22, in įile "/Users/roany/root-install/lib/cppyy/_init_.py", line 62, in ImportError: dlopen(/Users/roany/root-install/lib/libcppy圓_8.so, 2): no suitable image found. Return _bootstrap._gcd_import(name, package, level)įile "", line 975, in _find_and_load_unlockedįile "", line 219, in _call_with_frames_removed Importlib.import_module(libcppyy_mod_name)įile "/Library/Frameworks/amework/Versions/3.8/lib/python3.8/importlib/_init_.py", line 127, in import_module Type "help", "copyright", "credits" or "license" for more information.įile "/Users/roany/root-install/lib/cppyy/_init_.py", line 60, in When I finished the compilation I run python3 and do the import of the ROOT libraryīut it outputs this root-build % python3 Mkdir root-build root-install & cd root-buildĬmake -DCMAKE_INSTALL_PREFIX=./root-install -Dbuiltin_tbb=OFF -Dimt=OFF -DPYTHON3_EXECUTABLE=/usr/local/bin/python3. I’m trying to compile root for apple m1 including pyroot libraries. Please read tips for efficient and successful posting and posting code
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |