Closed WGDMS closed 1 year ago
Can you make sure you can run
python -c "import descriptastorus"
in the environment? Perhaps it was installed in a different environment.
Thank you for your reply. with the command: python -c "import descriptastorus" Gives the following error: ERROR:root:Unable to make new descriptors, descriptor generator not installed.
It could be that the dependencies aren't being installed. Make sure you have rdkit installed (It has only recently been pip installable so it hasn't been in the requirements list)
pip install rdkit-pypi
and the other requirements are:
pandas-flavor==0.2.0
pandas>=0.24.0
I've added a better warning message that will show the import errors for the requirements.
Please try to reinstall, and you should get some more details about what is missing.
Thank you very much. It is solved.
pip install descriptastorus
will now install al the dependencies and will have the latest version on pypi
Thank you.
On Mon, 31 Jul 2023 at 12:40, Brian Kelley @.***> wrote:
pip install descriptastorus
will now install al the dependencies and will have the latest version on pypi
— Reply to this email directly, view it on GitHub https://github.com/bp-kelley/descriptastorus/issues/15#issuecomment-1657330600, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYCY22AUSWUWW7KBE7NFQK3XS35H7ANCNFSM5QBY5NZA . You are receiving this because you authored the thread.Message ID: @.***>
-- Mrs. W.G.D.M. Samankula, Senior Lecturer - Department of Statistics & Computer Science, University of Kelaniya. Sri Lanka
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ University of Kelaniya Sri Lanka, accepts no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. If you are not the intended recipient, this email and/or any information it contains should not be copied, disclosed, retained or used by you or any other party and the email and all its contents should be promptly deleted fully from our system and the sender informed.
E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Dear Team, Help me to solve the following error. I used !pip install git+https://github.com/bp-kelley/descriptastorus for installation. Thank you
ERROR:root:Unable to make new descriptors, descriptor generator not installed Traceback (most recent call last): File "tran_data.py", line 256, in
networks = [smile_to_graph(smile) for smile in smiles]
File "tran_data.py", line 256, in
networks = [smile_to_graph(smile) for smile in smiles]
File "tran_data.py", line 142, in smile_to_graph
graph_feature = rdkit_2d_normalized_features_generator(smile)
File "tran_data.py", line 135, in rdkit_2d_normalized_features_generator
raise ImportError('Failed to import descriptastorus. Please install descriptastorus '
ImportError: Failed to import descriptastorus. Please install descriptastorus (https://github.com/bp-kelley/descriptastorus) to use RDKit 2D normalized features.