New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError same as #389 #402
Comments
|
└──╼ $pipx install ghunt --python /usr/local/bin/python3.11 Some possibly relevant errors from pip install: Error installing ghunt. |
Some possibly relevant errors from pip install: Error installing ghunt. |
I have the same error. Could you please explain what exactly should I type in command: "pipx install ghunt --python $(which python3.11)" instead of the text: "$(which python3.11)" ? I can't figure it out. |
Had the same error. Fixed it by uninstalling python and installing the latest version. |
Describe the bug
$ghunt login
Traceback (most recent call last):
File "/home/ah/.local/bin/ghunt", line 5, in
from ghunt.ghunt import main
File "/home/ah/.local/pipx/venvs/ghunt/lib/python3.9/site-packages/ghunt/init.py", line 1, in
from ghunt import globals as gb; gb.init_globals()
File "/home/ah/.local/pipx/venvs/ghunt/lib/python3.9/site-packages/ghunt/globals.py", line 5, in init_globals
from ghunt.objects.utils import TMPrinter
File "/home/ah/.local/pipx/venvs/ghunt/lib/python3.9/site-packages/ghunt/objects/utils.py", line 1, in
from ghunt.helpers.utils import *
File "/home/ah/.local/pipx/venvs/ghunt/lib/python3.9/site-packages/ghunt/helpers/utils.py", line 77, in
def ppnb(nb: float|int) -> float:
TypeError: unsupported operand type(s) for |: 'type' and 'type'
To Reproduce
Step 1: install python 3.11.1
┌─[a@Z]─[~/Downloads/Python-3.11.1]
└──╼ $python3 -V
Python 3.11.1
Step 2: install ghunt per the instructions on the page
$ pip3 install pipx
$ pipx ensurepath
$ pipx install ghunt
Step 3: run command "ghunt login"
System (please complete the following information):
Linux Parrot
Python 3.11.1
The text was updated successfully, but these errors were encountered: