meet error when run "pip install langchain[all] #11007
Replies: 1 comment 6 replies
-
🤖 Hello Tony, The error you're encountering seems to be related to the Cython compilation of the Spacy package, which is a dependency of LangChain. The error messages indicate that there are issues with the declaration of variables in the Cython files of Spacy. This could be due to a mismatch between the version of Cython used to compile Spacy and the version of Cython installed in your environment. It could also be due to a compatibility issue between the version of Spacy and the version of Python you're using. Here are a few steps you can try to resolve this issue:
Please try these steps and let me know if the issue persists. If it does, it would be helpful if you could provide more information about your environment, such as the output of Best regards, SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear all,
I'm using Mac, and trying to install langchain[all], but keep seeing below error, highly appreciatd if anyone can shed some light.
(base) TonydeMacBook-Pro:bin leining$ ./pip3 --version
pip 23.2.1 from /Users/leining/miniforge3/envs/tensorflow/lib/python3.9/site-packages/pip (python 3.9)
Using cached spacy-3.0.6.tar.gz (7.1 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [164 lines of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Beta Was this translation helpful? Give feedback.
All reactions