Skip to content

Conversation

@mcavdar
Copy link
Contributor

@mcavdar mcavdar commented Nov 24, 2025

Overview

Since we're creating a new project without using any command-line tool (i.e. we're creating the files manually), pip install -e . doesn't make sense. I'm replacing it with the dependencies langchain and langchain-openai.

If we run it anyway, we get this error:
ERROR: .... does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.

Type of change

Type: [Update existing documentation /bug]

Related issues/PRs

  • GitHub issue:
  • Feature PR:
  • Linear issue:
  • Slack thread:

Checklist

  • I have read the contributing guidelines
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed

(Internal team members only / optional): Create a preview deployment as necessary using the Create Preview Branch workflow

Additional notes

Updated installation commands for Langchain and OpenAI integration.
<CodeGroup>
```shell pip
pip install -e .
# Installing Langchain and the OpenAI integration
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be pip install or uv sync

There's expected to be a dependencies file in the root folder

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think that page says anything about there being an expected dependencies file in the root folder. If that's required, then we need to update the previous steps to match the approach shown here: https://docs.langchain.com/oss/python/langgraph/local-server (i.e. Create a LangGraph app)

But for the LangChain documentation page, it's better to keep the example small.

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

Successfully merging this pull request may close these issues.

2 participants