Code Monkey home page Code Monkey logo

Comments (5)

whymauri avatar whymauri commented on July 4, 2024 1

Try this:

cd /usr/local/lib
sudo ln -s $(ls | grep -Eo libboost_python3[0-9].dylib) libboost_python3.dylib

Based on: rdkit/rdkit#1995 (comment)
Cheers.

from homebrew-rdkit.

UnixJunkie avatar UnixJunkie commented on July 4, 2024

probably related to #87

from homebrew-rdkit.

UnixJunkie avatar UnixJunkie commented on July 4, 2024

probably also related to rdkit/rdkit#3030

from homebrew-rdkit.

UnixJunkie avatar UnixJunkie commented on July 4, 2024

@whymauri this fixes the compilation, however, you cannot import rdkit from python after that.

# python3 --version
Python 3.7.7
# python3   
Python 3.7.7 (default, Mar 10 2020, 15:43:03) 
[Clang 11.0.0 (clang-1100.0.33.17)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import rdkit
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.7/site-packages/rdkit/__init__.py", line 2, in <module>
    from .rdBase import rdkitVersion as __version__
ImportError: dlopen(/usr/local/lib/python3.7/site-packages/rdkit/rdBase.so, 2): Symbol not found: __Py_tracemalloc_config
  Referenced from: /usr/local/opt/boost-python3/lib/libboost_python38.dylib
  Expected in: flat namespace
 in /usr/local/opt/boost-python3/lib/libboost_python38.dylib

from homebrew-rdkit.

UnixJunkie avatar UnixJunkie commented on July 4, 2024

You might try this:

# backup your brew installed packages list
brew list --formula > my_brew_packages.txt
# uninstall all of them
brew uninstall --force $(cat my_brew_packages.txt)
# install rdkit from scratch
brew install rdkit --with-python3

from homebrew-rdkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.