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

[Issue]: Getting error while installing pip install autogenstudio #1148

Closed
amitlals opened this issue Jan 5, 2024 · 9 comments
Closed

[Issue]: Getting error while installing pip install autogenstudio #1148

amitlals opened this issue Jan 5, 2024 · 9 comments

Comments

@amitlals
Copy link
Collaborator

amitlals commented Jan 5, 2024

Describe the issue

Receiving error while running pip install -U autogenstudio

pip show pyautogen --- No pyautogen install yet
WARNING: Package(s) not found: pyautogen

Steps to reproduce

No response

Screenshots and logs

image

Additional Information

I'm using Python 3.12 version and tried 3.11 too, same error.

No response

@rickyloynd-microsoft
Copy link
Contributor

@victordibia

@victordibia
Copy link
Collaborator

@amitlals ,

The error message you have suggest that you might have a different version of pyautogen installed than what autogenstudio requires (v - 0.2.0).
Two potential options

  • uninstall pyautogen and reinstall autogenstudio
  • create a new virtual env using conda and install autogenstudio

Let me know if that is helpful

@afourney
Copy link
Member

afourney commented Jan 5, 2024

FYI: Chi just pushed 0.2.3. @victordibia I'm curious as to why the requirement is pinned to "pyautogen==0.2.0"? What did we break in 0.2.2? Is it related to #1134 ?

@victordibia
Copy link
Collaborator

victordibia commented Jan 5, 2024 via email

@amitlals
Copy link
Collaborator Author

amitlals commented Jan 5, 2024

@amitlals ,

The error message you have suggest that you might have a different version of pyautogen installed than what autogenstudio requires (v - 0.2.0). Two potential options

  • uninstall pyautogen and reinstall autogenstudio
  • create a new virtual env using conda and install autogenstudio

Let me know if that is helpful

Thanks for your response. Unfortunately it didn't work as suggested, I removed pyautogen and autogenstudio, you can see the screenshot, no package found prior to pip install execution. When I ran in my conda env. setup with python 3.11, still same error. please advise if something is missing here?

image

@victordibia
Copy link
Collaborator

victordibia commented Jan 5, 2024

Can you try this with python 3.10, just to rule out a python version mismatch.
Please try the following

  • Create and activate a new conda environment with python=3.10
  • pip install -U autogenstudio.

Also, autogen requires python < 3.12 so we definitely should not be using python 3.12.

@afourney, any chance this might be a windows related env issue?

@amitlals
Copy link
Collaborator Author

amitlals commented Jan 5, 2024

I attempted with Python 3.10 again, after re-installing conda. It seems some version conflict with both packages autogenstudio and pyautogen version, might required a fix in source.

image

@victordibia
Copy link
Collaborator

victordibia commented Jan 5, 2024

Thanks for sharing your updates.
The screenshot you have above suggests you are installing pyautogen ie. pip install pyautogen instead of running pip install autogenstudio

What happens when you follow the instructions above as suggested? i.e.

# Create and activate a new conda environment with python=3.10
pip install -U autogenstudio.

note that pip install autogenstudio will install the required version of pyautogen pyautogen==0.2.0, eliminating conflicts. If you install pyautogen indendently, you could be introducing dependency conflict.

@amitlals
Copy link
Collaborator Author

amitlals commented Jan 5, 2024

after running pip install autogenstudio, I am running

pip install -e .

It is automatically calling pyautogen as part of packaging the bundle, perhaps I was able to run autogenstudio now.

image

@amitlals amitlals closed this as completed Jan 5, 2024
whiskyboy pushed a commit to whiskyboy/autogen that referenced this issue Apr 17, 2024
* autogen.agent -> autogen.agentchat

* bug fix in portfolio

* notebook

* timeout

* timeout

* infer lang; close microsoft#1150

* timeout

* message context

* context handling

* add sender to generate_reply

* clean up the receive function

* move mathchat to contrib

* contrib

* last_message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants