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

Correct run instructions in Readme #87

Merged
merged 5 commits into from
Apr 23, 2023

Conversation

PaulLockett
Copy link
Contributor

Fix this for future users so they can get it up and running without having to probe the GitHub forum

ibiscp and others added 4 commits March 20, 2023 12:55
Fix this for future users so they can get it up and running without having to probe the  GitHub forum
@ogabrielluiz
Copy link
Contributor

ogabrielluiz commented Mar 30, 2023

Hey, Paul! Thanks for the contribution.

Could you explain why langflow does not work?

I just tested here on a new conda environment and it worked.

@PaulLockett
Copy link
Contributor Author

PaulLockett commented Mar 30, 2023

@ogabrielluiz I did not set up a conda environment. I just did the pip install so there is no cli command named langflow and python langflow does not work.

If the idea case is to make a conda environment please add that to the readme.

Copy link
Contributor

@ogabrielluiz ogabrielluiz left a comment

Choose a reason for hiding this comment

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

Please, use the code block and add both commands and this should be good to go.

@ogabrielluiz
Copy link
Contributor

The conda environment is used to isolate the installation to make the test more reliable.

@ogabrielluiz ogabrielluiz changed the base branch from main to dev March 31, 2023 00:55
@mausch
Copy link

mausch commented Apr 1, 2023

FWIW the current instructions work for me, just

pip install langflow
langflow

@twardoch
Copy link

twardoch commented Apr 2, 2023

You can pick any Python interpreter to install and then to run, for example:

  1. Install:
python3.10 -m pip install --upgrade langflow
  1. Run:
python3.10 -m langflow

@PaulLockett
Copy link
Contributor Author

Please, use the code block and add both commands and this should be good to go.

@ogabrielluiz What do you mean by this comment?

do you want me to add a line to make a conda environment? I would think a comment would be more helpful or having 2 options like:

Next, run:

langflow

or

python -m langflow

note: you may need to modify this command based on your Python version and/or environment

@ogabrielluiz
Copy link
Contributor

ogabrielluiz commented Apr 6, 2023

Yes. Having both options displayed looks good to me. No conda environment though. That was used to test the error you found.

@ogabrielluiz ogabrielluiz merged commit ad24cdc into langflow-ai:dev Apr 23, 2023
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.

5 participants