Replies: 2 comments
-
@yuki-2025 Thank you for your feedback. However, I believe the issue with poetry that you mentioned is due to a problem with your local environment. You can use ChatGPT to help you address issues related to poetry. And, Pytest is a testing tool that generally runs in the GitHub action environment, which differs from your local env; therefore, errors can occur in the local env. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Not sure if this is solved yet but it looks like for the first 2, the error message indicates that |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just sharing some information with new users who are interested in contributing to and using camel-ai. At the same time, I hope any expert can help address the issues described below.
Bug raised: #465
To differentiate between a normal user and a developer user, I refer to the normal user as 'User' and the developers of our camel project as 'Developer'. The main issue concerns dependency problems; strict environments might affect both user and developer experiences.
I followed the instructions in the wiki or readme and tested the installation on two different PCs, and encountered the problems described below, some of them have solutions: (Note: The use of an ipynb file is just to facilitate showing the problem and is not related to actual development.)
For Beginner User
The installation instructions as a user:
https://github.com/camel-ai/camel/wiki/Installation-and-Setup and https://github.com/camel-ai/camel
pip does not work with Python 3.12 and above.
Solution: Install the Python 3.11 version of the kernel; it is not a significant problem.
After executing 'pip install all', normal users are still unable to use the library; they cannot run 'role_playing.py'. It seems that pip alone might not be sufficient for normal users. Executing pip install 'camel-ai[all]' results in the same problem. (ModuleNotFoundError: No module named 'docstring_parser')
For Beginner Developer
The instructions to install as a developer.
https://github.com/camel-ai/camel/blob/master/CONTRIBUTING.md
You might encounter a poetry problem after performing a git clone.
Solution: For Windows users, you cannot install your Python kernel via the Microsoft App Store, and installing Conda will not resolve the issue either. Simply installing Python 3.11 directly from python.org is sufficient.
You might encounter a Torch library error when executing code, even after successfully initiating a Poetry shell.
Solution Attempted: Despite running pip install torch, the problem persists.
You might encounter errors in pytest after successfully executing poetry install and pre-commit install.
Beta Was this translation helpful? Give feedback.
All reactions