Closed AloneAndUnknown closed 1 year ago
@AloneAndUnknown Can you try installing the tool on Ubuntu 22.04 LTS?
Sure,
REDACTED~/untitledgoosetool$ python3 -m pip install . Defaulting to user installation because normal site-packages is not writeable Processing /home/ckbrown/untitledgoosetool Preparing metadata (setup.py) ... done Collecting Gooey==1.0.8.1 Using cached Gooey-1.0.8.1-py2.py3-none-any.whl (680 kB) Collecting aiohttp==3.8.5 Using cached aiohttp-3.8.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.0 MB) Collecting async-timeout==4.0.2 Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB) Collecting azure-identity Using cached azure_identity-1.13.0-py3-none-any.whl (151 kB) Collecting azure-mgmt-compute Using cached azure_mgmt_compute-30.1.0-py3-none-any.whl (4.9 MB) Collecting azure-mgmt-monitor Using cached azure_mgmt_monitor-6.0.1-py3-none-any.whl (1.3 MB) Collecting azure-mgmt-network Using cached azure_mgmt_network-24.0.0-py3-none-any.whl (655 kB) Collecting azure-mgmt-resource Using cached azure_mgmt_resource-23.0.1-py3-none-any.whl (2.5 MB) Collecting azure-mgmt-security Using cached azure_mgmt_security-5.0.0-py3-none-any.whl (1.1 MB) Collecting azure-mgmt-storage Using cached azure_mgmt_storage-21.0.0-py3-none-any.whl (2.8 MB) Collecting azure-mgmt-web Using cached azure_mgmt_web-7.1.0-py3-none-any.whl (4.7 MB) Collecting azure-storage-blob Using cached azure_storage_blob-12.17.0-py3-none-any.whl (388 kB) Collecting colored==1.4.4 Using cached colored-1.4.4.tar.gz (36 kB) Preparing metadata (setup.py) ... done Collecting cryptography==41.0.2 Using cached cryptography-41.0.2-cp37-abi3-manylinux_2_28_x86_64.whl (4.3 MB) Collecting darkdetect Using cached darkdetect-0.8.0-py3-none-any.whl (9.0 kB) Collecting msal==1.23.0 Using cached msal-1.23.0-py2.py3-none-any.whl (90 kB) Collecting msrestazure Using cached msrestazure-0.6.4-py2.py3-none-any.whl (40 kB) Collecting openpyxl Using cached openpyxl-3.1.2-py2.py3-none-any.whl (249 kB) Collecting pyAesCrypt Using cached pyAesCrypt-6.1.0-py3-none-any.whl (15 kB) Requirement already satisfied: pytz in /usr/lib/python3/dist-packages (from goosey==1.2.4) (2022.1) Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from goosey==1.2.4) (2.25.1) Collecting selenium-wire Using cached selenium_wire-5.1.0-py3-none-any.whl (239 kB) Collecting selenium==4.10.0 Using cached selenium-4.10.0-py3-none-any.whl (6.7 MB) Collecting typing-extensions>=4.1.1 Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB) Collecting webdrivermanager Using cached webdrivermanager-0.10.0.tar.gz (33 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done ERROR: Package 'goosey' requires a different Python: 3.10.12 not in '<=3.10.11,>=3.7' REDACTED:~/untitledgoosetool$ python3 --version Python 3.10.12
effin python.
@AloneAndUnknown You'll need to downgrade your python3 version to 3.10.11 or lower.
Ill be honest, i dont feel like trying to go through the python3 downgrade aptitude package manager hell. You can close this issue out. Maybe next iteration move to containerization to alleviate these types of issues.
Conducting a python3 pip install
~/untitledgoosetool$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: focal
(.venv) REDACTED@REDACTED:~/untitledgoosetool$ python3 -m pip install .
Building wheels for collected packages: goosey, wxpython Building wheel for goosey (setup.py) ... error ERROR: Command errored out with exit status 1: command: /home/REDACTED/untitledgoosetool/.venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-1vkwpido/setup.py'"'"'; file='"'"'/tmp/pip-req-build-1vkwpido/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-a4cxcpr2 cwd: /tmp/pip-req-build-1vkwpido/ Complete output (6 lines): usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help
error: invalid command 'bdist_wheel'
ERROR: Failed building wheel for goosey Running setup.py clean for goosey Building wheel for wxpython (setup.py) ... error ERROR: Command errored out with exit status 1: command: /home/REDACTED/untitledgoosetool/.venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pf3rf2i2/wxpython/setup.py'"'"'; file='"'"'/tmp/pip-install-pf3rf2i2/wxpython/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-tbiwnqpu cwd: /tmp/pip-install-pf3rf2i2/wxpython/ Complete output (6 lines): usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help
error: invalid command 'bdist_wheel'
ERROR: Failed building wheel for wxpython Running setup.py clean for wxpython Failed to build goosey wxpython Installing collected packages: Pillow, six, numpy, wxpython, psutil, colored, pygtrie, Gooey, urllib3, idna, charset-normalizer, certifi, requests, pycparser, cffi, cryptography, python-dateutil, PyJWT, adal, attrs, frozenlist, multidict, yarl, aiosignal, async-timeout, aiohttp, portalocker, msal, msal-extensions, typing-extensions, azure-core, azure-identity, azure-common, azure-mgmt-core, isodate, azure-mgmt-compute, azure-mgmt-monitor, azure-mgmt-network, azure-mgmt-resource, azure-mgmt-security, oauthlib, requests-oauthlib, msrest, azure-mgmt-storage, azure-mgmt-web, azure-storage-blob, darkdetect, msrestazure, et-xmlfile, openpyxl, pyAesCrypt, pytz, blinker, pyparsing, kaitaistruct, pyasn1, hyperframe, hpack, h2, outcome, sortedcontainers, sniffio, exceptiongroup, trio, h11, wsproto, trio-websocket, selenium, pysocks, brotli, zstandard, pyOpenSSL, selenium-wire, soupsieve, BeautifulSoup4, lxml, appdirs, tqdm, webdrivermanager, goosey Running setup.py install for wxpython ... error ERROR: Command errored out with exit status 1: command: /home/REDACTED/untitledgoosetool/.venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pf3rf2i2/wxpython/setup.py'"'"'; file='"'"'/tmp/pip-install-pf3rf2i2/wxpython/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-hjg03jev/install-record.txt --single-version-externally-managed --compile --install-headers /home/REDACTED/untitledgoosetool/.venv/include/site/python3.8/wxpython cwd: /tmp/pip-install-pf3rf2i2/wxpython/ Complete output (138 lines): running install running build WARNING: Building this way assumes that all generated files have been generated already. If that is not the case then use build.py directly to generate the source and perform the build stage. You can use --skip-build with the bdist_* or install commands to avoid this message and the wxWidgets and Phoenix build steps in the future.
ERROR: Command errored out with exit status 1: /home/REDACTED/untitledgoosetool/.venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pf3rf2i2/wxpython/setup.py'"'"'; file='"'"'/tmp/pip-install-pf3rf2i2/wxpython/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-hjg03jev/install-record.txt --single-version-externally-managed --compile --install-headers /home/REDACTED/untitledgoosetool/.venv/include/site/python3.8/wxpython Check the logs for full command output.