Code Monkey home page Code Monkey logo

chatmol's Issues

ModuleNotFoundError: No module named 'openai'

This is the error message after typing the first line into the command line of PyMOL

PyMOL>run https://raw.githubusercontent.com/JinyuanSun/ChatMol/main/chatmol.py
Traceback (most recent call last):
File "/usr/local/Cellar/pymol/2.5.0/libexec/lib/python3.9/site-packages/pymol/parsing.py", line 467, in run
run_(path, ns_pymol, ns_pymol)
File "/usr/local/Cellar/pymol/2.5.0/libexec/lib/python3.9/site-packages/pymol/parsing.py", line 516, in run_file
execfile(file,global_ns,local_ns)
File "/usr/local/Cellar/pymol/2.5.0/libexec/lib/python3.9/site-packages/pymol/parsing.py", line 511, in execfile
exec(co, global_ns, local_ns)
File "https://raw.githubusercontent.com/JinyuanSun/ChatMol/main/chatmol.py", line 2, in
PyMOL Molecular Graphics System
ModuleNotFoundError: No module named 'openai'

But I have installed openai using PIP

(anaconda3)xxx-MacBook-Air:~ xxx$ which openai
/Users/xxx/opt/anaconda3/bin/openai

(anaconda3)xxx-MacBook-Air:~ xxx$ which pymol
/usr/local/bin/pymol

(anaconda3)xxx-MacBook-Air:~ xxx$ which python
/Users/xxx/opt/anaconda3/bin/python

Is this because my open sources PyMOL was installed at a different folder? Thanks!

ChatMol-Lite Training Procedure

Hi, thank you very much for sharing your great work. It is greatly interesting!

I have some questions regarding the ChatMol-Lite model. Specifically, I'm interested in how it was trained. Do you have any specific code or documentation outlining this process?

Any assistance or additional information would be immensely appreciated.

Error for install ChatMol plugin

I was following the instruction to install chatmol plugin, and got error for module openai not found error:

load https://raw.githubusercontent.com/JinyuanSun/ChatMol/main/chatmol.py
Traceback (most recent call last):
File "/private/var/folders/0w/mjyhyf3n4_z2vr3l1d0ps7_w0000gn/T/AppTranslocation/1E319BC0-B882-44AB-B791-34B99CBF7AFC/d/PyMOL.app/Contents/lib/python3.7/site-packages/pymol/parsing.py", line 470, in run
run_(path, ns_pymol, ns_pymol)
File "/private/var/folders/0w/mjyhyf3n4_z2vr3l1d0ps7_w0000gn/T/AppTranslocation/1E319BC0-B882-44AB-B791-34B99CBF7AFC/d/PyMOL.app/Contents/lib/python3.7/site-packages/pymol/parsing.py", line 519, in run_file
execfile(file,global_ns,local_ns)
File "/private/var/folders/0w/mjyhyf3n4_z2vr3l1d0ps7_w0000gn/T/AppTranslocation/1E319BC0-B882-44AB-B791-34B99CBF7AFC/d/PyMOL.app/Contents/lib/python3.7/site-packages/pymol/parsing.py", line 514, in execfile
exec(co, global_ns, local_ns)
File "https://raw.githubusercontent.com/JinyuanSun/ChatMol/main/chatmol.py", line 3, in
Copyright (c) Schrodinger, Inc.
ModuleNotFoundError: No module named 'openai'

I do installed openai in my default env (python3.9, running python3 and import openai all look good), but the PyMol command shows the module was not found. I am relatively new to use PyMol, so maybe I am missing simple thing simple. Could you show me how to solve the issue? Many thanks.

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.