SpyderRex / AutoGPT-for-Android-32-Bit

41 stars 13 forks source link

Failed building wheel for cryptography? #2

Closed jayg414 closed 1 year ago

jayg414 commented 1 year ago

Tried installing on Galaxy Fold 3, got past all other obstacles but stuck getting this error. Any help?

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for cryptography Failed to build cryptography ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects

SpyderRex commented 1 year ago

Try this:

pkg install clang libffi-dev openssl-dev

If it doesn't work, send me the fail message.

jayg414 commented 1 year ago

Try this:

pkg install clang libffi-dev openssl-dev

If it doesn't work, send me the fail message.

Thanks so much for the reply, it didn't work. here is the output.

/AutoGPT-for-Android $ pkg install clang libffi-dev openssl-dev
Checking availability of current mirror:
[*] https://mirrors.utermux.dev/termux/termux-main: ok
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libffi-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or                           is only available from another source
However the following packages replace it:
  libffi

Package openssl-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  openssl

E: Package 'libffi-dev' has no installation candidate
E: Package 'openssl-dev' has no installation candidate

Here is the full output from trying to install requirements.txt

https://pastebin.com/fiYSkDjf

EDIT Managed to solve this on my own with some Google-fu. I used

pkg install python-cryptography

And was able to install. Now I'm getting this error output upon trying to run python3 -m autogpt

https://pastebin.com/h8kjmWDR

EDIT Fixed this by installing pip install nltk

Will keep tinkering

EDIT

Ended up needing to delete the entire function containing prompt_generator.add_constraint("Always make your first In prompt.py

It seems to connect to the API and run but soon crashes. New issue!

jayg414 commented 1 year ago

It seems to connect to the API and run but soon crashes.