Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'prompt_fn' from 'marvin' #704

Closed
3 tasks done
nasosev opened this issue Dec 27, 2023 · 2 comments
Closed
3 tasks done

ImportError: cannot import name 'prompt_fn' from 'marvin' #704

nasosev opened this issue Dec 27, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@nasosev
Copy link

nasosev commented Dec 27, 2023

First check

  • I added a descriptive title to this issue.
  • I used the GitHub search to try to find a similar issue and didn't find one.
  • I searched the Marvin documentation for this issue.

Bug summary

Trying to follow the example from the docs, I get the error in the title.

Reproduction

`from marvin import prompt_fn`

Error

from marvin import prompt_fn
ImportError: cannot import name 'prompt_fn' from 'marvin' (/Users/naso/anaconda3/lib/python3.11/site-packages/marvin/__init__.py)


### Versions

```Text
Version:		1.5.6
Python version:		3.11.5
OS/Arch:		darwin/x86_64

Additional context

No response

@nasosev nasosev added the bug Something isn't working label Dec 27, 2023
@zzstoatzz
Copy link
Collaborator

zzstoatzz commented Dec 31, 2023

hi @nasosev - sorry about this. This is because the current docs reflect marvin==2.x, which is a miss on our part. You can install the prerelease now with pip install marvin==2.0.1a1 or we will be releasing marvin 2 soon.

@zzstoatzz
Copy link
Collaborator

closing this as marvin 2.x has been released, which does not include prompt_fn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants