Significant-Gravitas / AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Home Page:https://agpt.co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error installing dependencies

projectsessions-team opened this issue · comments

⚠️ Search for existing issues first ⚠️

I have searched the existing issues, and there is no existing issue for my problem

Which Operating System are you using?

Linux

Which version of AutoGPT are you using?

Latest Release

Do you use OpenAI GPT-3 or GPT-4?

GPT-3.5

Which area covers your issue best?

Installation and setup

Describe your issue.

Unable to find installation candidates for pulsar-client (3.4.0)

at /usr/lib/python3/dist-packages/poetry/installation/cho
• Installing fastapi (0.109.2)
• Installing gitpython (3.1.41)
• Installing google-cloud-core (2.4.1)
• Installing google-resumable-media (2.7.0)
• Installing identify (2.5.33)
• Installing importlib-resources (6.1.1)
• Installing kubernetes (29.0.0)
• Installing lxml (5.1.0): Failed

ChefBuildError

Backend subprocess exited when trying to invoke get_requires_for_build_wheel

:67: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
Building lxml version 5.1.0.
Building without Cython.
Error: Please make sure the libxml2 and libxslt development packages are installed.

at /usr/lib/python3/dist-packages/poetry/installation/chef.py:164 in _prepare
160│
161│ error = ChefBuildError("\n\n".join(message_parts))
162│
163│ if error is not None:
→ 164│ raise error from None
165│
166│ return path
167│
168│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:

Note: This error originates from the build backend, and is likely not a problem with poetry but with lxml (5.1.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "lxml (==5.1.0)"'.

• Installing matplotlib (3.8.2)
• Installing mccabe (0.7.0)
• Installing mmh3 (4.1.0)
• Installing mypy-extensions (1.0.0)
• Installing nodeenv (1.8.0)
• Installing onnxruntime (1.16.3): Failed

RuntimeError

Unable to find installation candidates for onnxruntime (1.16.3)

at /usr/lib/python3/dist-packages/poetry/installation/chooser.py:73 in choose_for
69│
70│ links.append(link)
71│
72│ if not links:
→ 73│ raise RuntimeError(f"Unable to find installation candidates for {package}")
74│
75│ # Get the best link
76│ chosen = max(links, key=lambda link: self._sort_key(package, link))
77│

Cannot install onnxruntime.

• Installing openai (1.7.2)
• Installing opentelemetry-exporter-otlp-proto-grpc (1.22.0)
• Installing opentelemetry-instrumentation-fastapi (0.43b0)
• Installing overrides (7.4.0)
• Installing pandas (2.1.4): Installing...
• Installing pathspec (0.12.1)
• Installing posthog (3.3.1)
• Installing psutil (5.9.7)
• Installing pulsar-client (3.4.0): Failed

RuntimeError

Unable to find installation candidates for pulsar-client (3.4.0)

at /usr/lib/python3/dist-packages/poetry/installation/cho • Installing pathspec (0.12.1)
• Installing posthog (3.3.1)
• Installing psutil (5.9.7)
• Installing pulsar-client (3.4.0): Failed

RuntimeError

Unable to find installation candidates for pulsar-client (3.4.0)

at /usr/lib/python3/dist-packages/poetry/installation/cho • Installing pandas (2.1.4)
• Installing pathspec (0.12.1)
• Installing posthog (3.3.1)
• Installing psutil (5.9.7)
• Installing pulsar-client (3.4.0): Failed

RuntimeError

Unable to find installation candidates for pulsar-client (3.4.0)

at /usr/lib/python3/dist-packages/poetry/installation/chooser.py:73 in choose_for
69│
70│ links.append(link)
71│
72│ if not links:
→ 73│ raise RuntimeError(f"Unable to find installation candidates for {package}")
74│
75│ # Get the best link
76│ chosen = max(links, key=lambda link: self._sort_key(package, link))
77│

Cannot install pulsar-client.

• Installing pycodestyle (2.11.1)
• Installing pyflakes (3.1.0)
• Installing pypika (0.48.9)
• Installing pytest-asyncio (0.21.1)
• Installing python-multipart (0.0.7)
• Installing pyvis (0.3.2)
• Installing selenium (4.16.0)
• Installing tabulate (0.9.0)
• Installing tenacity (8.2.3)
• Installing tiktoken (0.5.2)
• Installing tokenizers (0.15.0)
• Installing toml (0.10.2)
• Installing typer (0.9.0)
• Installing types-requests (2.31.0.6)
• Installing uvicorn (0.23.2)
• Installing virtualenv (20.25.0)
Setup completed successfully.

⌛ (Re)starting benchmark server...
Command not found: agbenchmark

When trying to install poetry manually:

$ curl -sSL https://install.python-poetry.org | python3 - --git https://github.com/python-poetry/poetry.git@main

Welcome to Poetry!

This will download and install the latest version of Poetry,
a dependency and package manager for Python.

It will add the poetry command to Poetry's bin directory, located at:

/home/kali/.local/bin

You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.

Installing Poetry (https://github.com/python-poetry/poetry.Installing Poetry (https://github.com/python-poetry/poetry.git@main): Creating enviInstalling Poetry (https://github.com/python-poetry/poetry.git@main): IInstalling Poetry (https://github.com/python-poetry/poetry.git@main): An error occurred. Removing partial environment.
Poetry installation failed.

can I get some more details on the env than linux?

can I get some more details on the env than linux?

──(kali㉿kali-raspberry-pi)-[~]
└─$ python --version
Python 3.11.8

┌──(kali㉿kali-raspberry-pi)-[~]
└─$ pip list
Package Version


aardwolf 0.2.2
adblockparser 0.7
aesedb 0.1.3
aiocmd 0.1.2
aioconsole 0.7.0
aiodns 3.1.1
aiofiles 23.2.1
aiohttp 3.9.1
aiomultiprocess 0.9.0
aioquic 0.9.25
aiosignal 1.3.1
aiosmb 0.4.4
aiosqlite 0.17.0
aiowinreg 0.0.7
ajpy 0.0.5
alembic 1.13.1.dev0
altgraph 0.17.4
amqp 5.2.0
aniso8601 9.0.1
anyio 4.2.0
anyjson 0.3.3
apispec 6.3.0
apispec-webframeworks 0.5.2
appdirs 1.4.4
arc4 0.3.0
argcomplete 3.1.4
arrow 1.2.3
asciitree 0.3.3
asgiref 3.7.2
asn1crypto 1.5.1
asn1tools 0.164.0
astroid 3.1.0
asttokens 2.4.1
asyauth 0.0.9
async-timeout 4.0.3
asysocks 0.2.2
attrs 23.2.0
autobahn 22.7.1
autocommand 2.2.2
Automat 22.10.0
Babel 2.10.3
backoff 2.2.1
base58 1.0.3
bcrypt 3.2.2
beautifulsoup4 4.12.3
bidict 0.22.1
billiard 4.2.0
binwalk 2.3.3
bitstruct 8.15.1
bleach 6.1.0
blinker 1.7.0
bluepy 1.3.0
bottle 0.12.25
Bottleneck 1.3.5
Brlapi 0.8.5
Brotli 1.1.0
build 1.0.3
CacheControl 0.13.1
catfish 4.16.4
cbor 1.0.0
celery 5.3.4
censys 2.2.11
certifi 2023.11.17
certipy-ad 4.7.0
cffi 1.16.0
chardet 5.2.0
charset-normalizer 3.3.2
cheroot 10.0.0+ds1
CherryPy 18.9.0
cherrypy-cors 1.6
cleo 2.1.0
cli-helpers 2.3.1
click 8.1.6
click-didyoumean 0.3.0
click-plugins 1.1.1
click-repl 0.3.0
cmd2 2.4.3+ds
colorama 0.4.6
configobj 5.0.8
constantly 23.10.4
contourpy 1.0.7
crackmapexec 5.4.0
crashtest 0.4.1
cryptography 41.0.7
cssselect 1.2.0
cvss 2.4
cycler 0.11.0
dbus-python 1.3.2
decorator 5.1.1
defusedxml 0.7.1
Deprecated 1.2.14
dicttoxml 1.7.15
dill 0.3.8
diskcache 5.4.0
distlib 0.3.8
distro 1.9.0
Django 4.2.10
dnslib 0.9.24
dnspython 2.6.1
docopt 0.6.2
docutils 0.20.1
donut-shellcode 0.9.3
dropbox 11.36.2
dsinternals 1.2.4
dulwich 0.21.6
ecdsa 0.18.0
email-validator 1.3.0
ephem 4.1.5
et-xmlfile 1.0.1
executing 2.0.1
ExifRead 3.0.0
faraday-agent-dispatcher 3.2.1
faraday-agent-parameters-types 1.4.0
faraday-cli 2.1.8
faraday-plugins 1.16.0
faradaysec 5.1.1
fastapi 0.101.0
fastimport 0.9.14
fastjsonschema 2.19.0
feedparser 6.0.10
fierce 1.5.0
filedepot 0.5.2
filelock 3.13.1
filteralchemy 0.1.0
flasgger 0.9.7.2.dev2
Flask 2.2.5
Flask-Celery-Helper 1.1.0
Flask-Classful 0.15.0.dev1
Flask-KVSession-fork 0.6.4
Flask-Limiter 3.5.1
Flask-Login 0.6.3
Flask-Mail 0.9.1
Flask-Principal 0.4.0
Flask-RESTful 0.3.9
Flask-SocketIO 5.3.2
Flask-SQLAlchemy 3.0.3
Flask-WTF 1.2.1
flatbuffers 2.0.8+dfsg1
fonttools 4.46.0
frozenlist 1.4.0
fs 2.4.16
GDAL 3.8.4
gevent 23.9.1
gevent-websocket 0.10.1
gitdb 4.0.11
GitPython 3.1.37
gpg 1.18.0
greenbone-feed-sync 23.10.0
greenlet 3.0.1
h11 0.14.0
h2 4.1.0
hashID 3.1.4
hpack 4.0.0
html2text 2024.2.26
html5lib 1.1
httpagentparser 1.9.1
httpcore 1.0.2
httpx 0.26.0
humanize 4.9.0
hupper 1.12
hyperframe 6.0.0
hyperlink 21.0.0
idna 3.6
impacket 0.11.0
importlib-metadata 4.12.0
importlib-resources 6.0.1
incremental 22.10.0
inflect 7.0.0
installer 0.7.0
invoke 2.0.0
ipwhois 1.2.0
IPy 1.1
ipython 8.20.0
isort 5.13.2
itsdangerous 2.1.2
jaraco.classes 3.2.1
jaraco.collections 4.2.0
jaraco.context 4.3.0
jaraco.functools 4.0.0
jaraco.text 3.11.1
jedi 0.19.1
jeepney 0.8.0
Jinja2 3.1.2
jq 1.2.1
jsonpointer 2.3
jsonschema 4.10.3
kaitaistruct 0.10
kali-tweaks 2023.3.2
keyring 24.3.0
KismetCaptureBtGeiger 2021.7.1
KismetCaptureFreaklabsZigbee 2018.7.0
KismetCaptureRtl433 2020.10.1
KismetCaptureRtladsb 2020.10.1
KismetCaptureRtlamr 2020.10.1
kiwisolver 0.0.0
kombu 5.3.5
ldap3 2.9.1
ldapdomaindump 0.9.4
lightdm-gtk-greeter-settings 1.2.2
limits 3.6.0
lockfile 0.12.2
log-symbols 0.0.14
louis 3.28.0
lsassy 3.1.6
lxml 5.1.0
lz4 4.0.2+dfsg
macholib 1.16.3
Mako 1.3.2.dev0
Markdown 3.5.2
markdown-it-py 3.0.0
MarkupSafe 2.1.5
marshmallow 3.20.1
marshmallow-sqlalchemy 1.0.0
masky 0.1.1
matplotlib 3.6.3
matplotlib-inline 0.1.6
mccabe 0.7.0
mdurl 0.1.2
mechanize 0.4.9
minidump 0.0.21
minikerberos 0.4.0
mistune0 0.8.4
mitmproxy 10.2.2
mnemonic 0.19
more-itertools 10.2.0
mpmath 0.0.0
msgpack 1.0.3
msldap 0.4.7
multidict 6.0.4
mypy 1.9.0
mypy-extensions 1.0.0
mysqlclient 1.4.6
nassl 5.0.1
neo4j 5.2.dev0
neobolt 1.7.17
neotime 1.7.4
netaddr 0.10.1
netifaces 0.11.0
networkx 2.8.8
notus-scanner 22.6.2
nplusone 1.0.0
ntlm-auth 1.5.0
numexpr 2.9.0
numpy 1.24.2
odfpy 1.4.2
olefile 0.46
onboard 1.4.1
openpyxl 3.1.2
ordered-set 4.1.0
oscrypto 1.3.0
ospd-openvas 22.6.2
packaging 23.2
paho-mqtt 1.6.1
pandas 2.1.4+dfsg
paramiko 2.12.0
parso 0.8.3
passlib 1.7.4
Paste 3.7.1
PasteDeploy 3.1.0
PasteScript 3.2.1
patator 1.0
pcapy 0.11.5.dev0
pefile 2023.2.7
pendulum 2.1.2
pexpect 4.9.0
pgcli 4.0.1
pgspecial 2.0.1
phonenumbers 8.12.57
piicodev 1.10.0
pillow 10.2.0
pip 24.0
pkginfo 1.9.6
plaster 1.0
plaster-pastedeploy 0.5
platformdirs 4.2.0
pluginbase 1.0.1
ply 3.11
poetry 1.7.1
poetry-core 1.8.1
poetry-plugin-export 1.6.0
portend 3.1.0
prettytable 3.6.0
prompt-toolkit 3.0.43
protobuf 4.21.12
psutil 5.9.8
psycogreen 1.0.1
psycopg 3.1.17
psycopg2 2.9.9
ptyprocess 0.7.0
publicsuffix2 2.20191221
publicsuffixlist 0.9.3
pure-eval 0.0.0
py-sneakers 1.0.1
py-ubjson 0.16.1
pyasn1 0.4.8
pyasn1-modules 0.2.8
pycairo 1.25.1
pycares 4.4.0
pycparser 2.21
pycryptodomex 3.11.0
pycurl 7.45.2
pydantic 1.10.14
PyDispatcher 2.0.5
pydot 1.4.2
pyee 11.1.0
pyExploitDb 0.2.6
pyfiglet 1.0.2
pygame 2.5.2
pygexf 0.2.2
PyGithub 2.2.0
Pygments 2.17.2
PyGObject 3.46.0
pygraphviz 1.7
PyHamcrest 2.1.0
pyinotify 0.9.6
PyInstaller 3.5+498e6ee058
PyJWT 2.7.0
pylev 1.4.0
pylint 3.1.0
pylnk3 0.4.2
pylsqpack 0.3.18
pymssql 2.2.11
PyMySQL 1.0.2
PyNaCl 1.5.0
PyOpenGL 3.1.7
pyOpenSSL 23.2.0
pyotp 2.9.0
pyparsing 3.1.1
PyPDF2 2.12.1
pyperclip 1.8.2
pypng 0.20231004.0
pyppeteer 1.0.1
pyproject_hooks 1.0.0
pypsrp 0.8.1
pypykatz 0.6.6
PyQRCode 1.2.1
PyQt5 5.15.10
PyQt5-sip 12.13.0
PyQt6 6.6.1
PyQt6-sip 13.6.0
pyqtgraph 0.13.3
pyramid 2.0
pyrsistent 0.20.0
PySecretSOCKS 0.9.1
pyserial 3.5
pyserial-asyncio 0.6
pyShodan 0.2.6
pysmi 0.3.4
pysnmp 4.4.12
PySocks 1.7.1
pyspnego 0.8.0
python-apt 2.7.5
python-dateutil 2.8.2
python-docx 1.1.0
python-dotenv 1.0.1
python-engineio 4.3.4
python-gnupg 0.5.2
python-gvm 23.11.0
python-jose 3.3.0
python-magic 0.4.27
python-memcached 1.58
python-multipart 0.0.6
python-owasp-zap-v2.4 0.0.20
python-pptx 0.6.18
python-slugify 8.0.4
python-snappy 0.5.3
python-socketio 5.7.2
python-status 1.0.1
PyTrie 0.4.0
pytz 2023.4
pytzdata 2020.1
pyVNC 0.1
pywerview 0.3.3
pyxdg 0.28
PyYAML 6.0.1
qasync 0.24.0
qrcode 7.4.2
rapidfuzz 3.6.2
redis 4.3.4
repoze.lru 0.7
requests 2.31.0
requests-file 1.5.1
requests-ntlm 1.1.0
requests-toolbelt 1.0.0
retrying 1.3.3
rfc3987 1.3.8
rich 13.3.1
Routes 2.5.1
rq 1.15.1
rsa 4.9
ruamel.yaml 0.17.21
ruamel.yaml.clib 0.2.8
scapy 2.5.0
SciPy 1.11.4
SecretStorage 3.3.3
secure 0.3.0
Send2Trash 1.8.2
service-identity 24.1.0
setproctitle 1.3.3
setuptools 69.1.1
sgmllib3k 1.0.0
sh 1.14.2
shellingham 1.5.4
shodan 1.30.1
shtab 1.5.5
simple-rest-client 1.1.3
simplejson 3.19.2
simplekv 0.14.1
six 1.16.0
slowapi 0.1.4
smbmap 1.9.2
smbus2 0.4.3
smmap 6.0.0
sniffio 1.3.0
sortedcontainers 2.4.0
soupsieve 2.5
spinners 0.0.24
SQLAlchemy 1.4.50
sqlalchemy-schemadisplay 1.3
SQLAlchemy-Utc 0.14.0
sqlparse 0.4.4
sslyze 5.2.0
stack-data 0.6.3
starlette 0.31.1
stone 3.3.1
sympy 1.12
syslog-rfc5424-formatter 1.2.3
tables 3.7.0
tabulate 0.8.10
Tempita 0.5.2
tempora 5.5.0
termcolor 1.1.0
terminaltables 3.1.10
theHarvester 4.5.1
thonny 4.1.4
tinycss2 1.2.1
tld 0.11.11
tldextract 3.1.2
tls-parser 1.2.2
toml 0.10.2
tomlkit 0.12.3
tornado 6.4
tqdm 4.64.1
traitlets 5.5.0
translationstring 1.4
trove-classifiers 2024.1.31
Twisted 23.10.0
txaio 23.1.1
types-aiofiles 23.2
types-aws-xray-sdk 2.12
types-beautifulsoup4 4.12
types-bleach 6.1
types-boltons 23.0
types-boto 2.49
types-braintree 4.24
types-cachetools 5.3
types-caldav 1.3
types-cffi 1.16
types-chevron 0.14
types-click-default-group 1.2
types-click-spinner 0.1
types-colorama 0.4
types-commonmark 0.9
types-console-menu 0.8
types-croniter 2.0
types-dateparser 1.1
types-decorator 5.1
types-Deprecated 1.2
types-dockerfile-parse 2.0
types-docopt 0.6
types-docutils 0.20
types-editdistance 0.6
types-entrypoints 0.4
types-ExifRead 3.0
types-first 2.0
types-flake8-2020 1.8
types-flake8-bugbear 23.9.16
types-flake8-builtins 2.2
types-flake8-docstrings 1.7
types-flake8-plugin-utils 1.3
types-flake8-rst-docstrings 0.3
types-flake8-simplify 0.21
types-flake8-typing-imports 1.15
types-Flask-Cors 4.0
types-Flask-Migrate 4.0
types-Flask-SocketIO 5.3
types-fpdf2 2.7.4
types-gdb 12.1
types-google-cloud-ndb 2.2
types-greenlet 3.0
types-hdbcli 2.18
types-html5lib 1.1
types-httplib2 0.22
types-humanfriendly 10.0
types-ibm-db 3.2
types-influxdb-client 1.38
types-inifile 0.4
types-JACK-Client 0.5
types-jmespath 1.0
types-jsonschema 4.19
types-keyboard 0.13
types-ldap3 2.9
types-libsass 0.22
types-Markdown 3.5
types-mock 5.1
types-mypy-extensions 1.0
types-mysqlclient 2.2
types-netaddr 0.9
types-oauthlib 3.2
types-openpyxl 3.1
types-opentracing 2.4
types-paho-mqtt 1.6
types-paramiko 3.3
types-parsimonious 0.10
types-passlib 1.7
types-passpy 1.0
types-peewee 3.17
types-pep8-naming 0.13
types-pexpect 4.8
types-pika-ts 1.3
types-Pillow 10.1
types-playsound 1.3
types-pluggy 1.2.0
types-polib 1.2
types-portpicker 1.6
types-protobuf 4.24
types-psutil 5.9
types-psycopg2 2.9
types-pyasn1 0.5
types-pyaudio 0.2
types-PyAutoGUI 0.9
types-pycocotools 2.0
types-pycurl 7.45.2
types-pyfarmhash 0.3
types-pyflakes 3.1
types-Pygments 2.16
types-pyinstaller 6.1
types-pyjks 20.0
types-PyMySQL 1.1
types-pynput 1.7
types-pyOpenSSL 23.3
types-pyRFC3339 1.1
types-PyScreeze 0.1.29
types-pyserial 3.5
types-pysftp 0.2
types-pytest-lazy-fixture 0.6
types-python-crontab 3.0
types-python-datemath 1.5
types-python-dateutil 2.8
types-python-gflags 3.1
types-python-jose 3.3
types-python-nmap 0.7
types-python-slugify 8.0
types-python-xlib 0.33
types-pytz 2023.3.post1
types-pywin32 306
types-pyxdg 0.28
types-PyYAML 6.0
types-qrcode 7.4
types-redis 4.6.0
types-regex 2023.10.3
types-requests 2.31
types-requests-oauthlib 1.3
types-retry 0.9
types-s2clientprotocol 5
types-seaborn 0.13
types-Send2Trash 1.8
types-setuptools 68.2
types-simplejson 3.19
types-singledispatch 4.1
types-six 1.16
types-slumber 0.7
types-stdlib-list 0.8
types-stripe 3.5
types-tabulate 0.9
types-tensorflow 2.12
types-toml 0.10
types-toposort 1.10
types-tqdm 4.66
types-translationstring 1.4
types-tree-sitter 0.20.1
types-tree-sitter-languages 1.8
types-ttkthemes 3.2
types-tzlocal 5.1
types-ujson 5.8
types-untangle 1.2
types-usersettings 1.1
types-uWSGI 2.0
types-vobject 0.9
types-waitress 2.1
types-WebOb 1.8
types-whatthepatch 1.0
types-workalendar 17.0
types-WTForms 3.1
types-xmltodict 0.13
types-zstd 1.5
types-zxcvbn 4.4
typing_extensions 4.9.0
u-msgpack-python 2.3.0
ufoLib2 0.16.0
ufw 0.36.2
ujson 5.9.0
unicodedata2 15.1.0
unicrypto 0.0.10
Unidecode 1.3.8
uritemplate 4.1.1
urllib3 1.26.18
urlscan 0.9.9
urwid 2.6.4
uvicorn 0.27.0
uvloop 0.19.0
validators 0.20.0
venusian 3.1.0
vine 5.0.0
virtualenv 20.25.0+ds
wafw00f 2.2.0
wapiti3 3.0.4
wcwidth 0.2.5
webargs 8.0.1
webcolors 1.11.1
webencodings 0.5.1
WebOb 1.8.6
websocket-client 1.7.0
websockets 10.4
websockify 0.10.0
Werkzeug 3.0.1
wfuzz 3.1.0
wheel 0.42.0
whois 0.8
wifite 2.7.0
winacl 0.1.7
wrapt 1.15.0
wsaccel 0.6.3
wsproto 1.2.0
WTForms 3.1.1
xdg 5
xlrd 2.0.1
XlsxWriter 3.1.9
xlutils 2.0.0
xlwt 1.3.0
xmltodict 0.13.0
yara-python 4.5.0
yarl 1.8.2
yaswfp 0.9.3
zc.lockfile 2.0
zipp 1.0.0
zlib-wrapper 0.1.3
zombie-imp 0.0.2
zope.deprecation 5.0
zope.event 5.0
zope.interface 6.1
zstandard 0.22.0

┌──(kali㉿kali-raspberry-pi)-[~]
└─$ uname -m
armv7l

Duplicate of #7003 resolution enclosed