ModuleNotFoundError: No module named 'langflow.processing'
Describe the bug Installing the pre-release per the README and running the sample code also in the README produces error.
>>> from langflow.load import run_flow_from_json
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "...snipped.../venv/lib/python3.10/site-packages/langflow/load.py", line 1, in <module>
from langflow.processing.load import load_flow_from_json, run_flow_from_json # noqa: F401
ModuleNotFoundError: No module named 'langflow.processing'
>>>
Browser and Version
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
Hey @radiantone
How are you?
Could you try installing using python -m pip install langflow --pre --force-reinstall?
I'm pushing some changes to this function and I'm positive it works on version 1.0.0a13, we'll release it really soon
[!NOTE] Since
python -m pip install langflow --pre --force-reinstalldidn't do the trick for us, I had to manually delete thelangflowpackages (see screenshot). After that, everything looked fine and I was able runrun_flow_from_json.
Screenshot: