Comments (5)
Same here, same issue. I fixed it with pip3 install langchain==0.0.350
.
from gpt-engineer.
Same here, same issue. I fixed it with
pip3 install langchain==0.0.350
.
works for me too, had also to install tkinter
brew install python-tk (on macos)
from gpt-engineer.
seeing the same problem also!
from gpt-engineer.
I did @ghovax 's fix but then received another import error.
Traceback (most recent call last):
File "/Users/nrsmac/repos/inspira/venv/bin/gpt-engineer", line 5, in <module>
from gpt_engineer.applications.cli.main import app
File "/Users/nrsmac/repos/inspira/venv/lib/python3.11/site-packages/gpt_engineer/applications/cli/main.py", line 40, in <module>
from gpt_engineer.applications.cli.file_selector import ask_for_files
File "/Users/nrsmac/repos/inspira/venv/lib/python3.11/site-packages/gpt_engineer/applications/cli/file_selector.py", line 44, in <module>
import tkinter as tk
File "/opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/tkinter/__init__.py", line 38, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
from gpt-engineer.
This happens because our version constraint for langchain is too relaxed.
When installed with poetry (as in CI), it works fine because the langchain version is pinned. But since the version requirement is set as >=0.0.335
anyone installing with pip would get a newer version on install, which has breaking changes.
We will restrict the langchain requirement to a specific version to avoid this in the future. We fixed the incompatibility instead.
from gpt-engineer.
Related Issues (20)
- Update ROADMAP.md file to reflect current status
- GUI for the Open Source Project HOT 1
- Multiple Features HOT 1
- API Key Issue HOT 1
- ChatGPT is being Lazy and creates Placeholders HOT 2
- Unknow Bugs HOT 5
- Feature request: Windows script for running code generated by GPT-Engineer HOT 3
- Feature request: Integration of Code Formatting and Linting Tools for the improve Function Workflow HOT 5
- Imporvement flow generating bad source code files HOT 9
- ImportError: cannot import name 'MODEL_COST_PER_1K_TOKENS' HOT 11
- error when installing gpt-engineer HOT 14
- curl not installed in base docker image
- Installation not working HOT 3
- Unicode error - german umlaut HOT 2
- Make it easier to use HOT 1
- Something is wrong HOT 6
- Simplify PrepromptsHolder to just be a function HOT 5
- ModuleNotFoundError when installed gpt-engineer via pip on ARM mac HOT 7
- Improve automatically generated docs
- Improving code - error on select prompt file HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpt-engineer.