It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
Gekko_Dekko: have all the dependencies (listed on github page, I mean) installed.
When Im trying to launch gogrepo.py with python 3, I get this error:

Traceback (most recent call last):
File "./gogrepo.py", line 42, in <module>
import OpenSSL
ModuleNotFoundError: No module named 'OpenSSL'
avatar
Gekko_Dekko: and when launched with python 2:

Traceback (most recent call last):
File "./gogrepo.py", line 40, in <module>
import requests
ImportError: No module named requests
avatar
Gekko_Dekko: What else do I need, aside from html5lib and html2text?
Did you install them with pip for the right version?

Edit: oh, and openssl you'll need.
Post edited November 15, 2018 by kohlrak
avatar
kohlrak: Did you install them with pip for the right version?
yep, I've installed them for both python 2 and 3.
Openssl (1.1) and openssl-1.0 installed (aswell as 32bit versions of them). Do I need python-pyopenssl aswell?
avatar
kohlrak: Did you install them with pip for the right version?
avatar
Gekko_Dekko: yep, I've installed them for both python 2 and 3.
Openssl (1.1) and openssl-1.0 installed (aswell as 32bit versions of them). Do I need python-pyopenssl aswell?
Maybe, or maybe a devel/dev package. It's been a while, really. I honestly never understood the point of having repository management software in software installed by a completely different repository management software. I know we like to say "but windows," but, let's be honest, your python devs most likely aren't windows users, and i'm finding the windows packages often come with the libs and such all thrown into a single PE, anyway.
python-pyopenssl is a requirement yeah (it's the pyOpenSSL module).
I tried what I think is the latest version of gogrepo found here https://github.com/Kalanyr/gogrepoc

But all I get ImportError: No module named requests. All the modules are installed though.
avatar
Magmarock: I tried what I think is the latest version of gogrepo found here https://github.com/Kalanyr/gogrepoc

But all I get ImportError: No module named requests. All the modules are installed though.
Double check the install

pip install requests
pip install pyopenssl
Post edited November 18, 2018 by Revan67
avatar
Magmarock: I tried what I think is the latest version of gogrepo found here https://github.com/Kalanyr/gogrepoc

But all I get ImportError: No module named requests. All the modules are installed though.
avatar
Revan67: Double check the install

pip install requests
pip install pyopenssl
'pip' is not recognized as an internal or external command
avatar
Magmarock: 'pip' is not recognized as an internal or external command
Did you add python to the windows environment path when you installed it?

Sounds like you just need to install pip see here
https://pip.pypa.io/en/stable/installing/#do-i-need-to-install-pip
Post edited November 18, 2018 by Revan67
avatar
Magmarock: 'pip' is not recognized as an internal or external command
avatar
Revan67: Did you add python to the windows environment path when you installed it?

Sounds like you just need to install pip see here
https://pip.pypa.io/en/stable/installing/#do-i-need-to-install-pip
Okay I typed "curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py" but when I type python get-pip.py I get 'python' is not recognized as an internal or external command. Also the warning

Warning Be cautious if you are using a Python install that is managed by your operating system or another package manager. get-pip.py does not coordinate with those tools, and may leave your system in an inconsistent state.

What does that mean. Id my computer in danger?
avatar
Revan67: Did you add python to the windows environment path when you installed it?

Sounds like you just need to install pip see here
https://pip.pypa.io/en/stable/installing/#do-i-need-to-install-pip
avatar
Magmarock: Okay I typed "curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py" but when I type python get-pip.py I get 'python' is not recognized as an internal or external command. Also the warning

Warning Be cautious if you are using a Python install that is managed by your operating system or another package manager. get-pip.py does not coordinate with those tools, and may leave your system in an inconsistent state.

What does that mean. Id my computer in danger?
No your computer is not in danger. It sounds like python is not installed at all. If you open a command window and type in python -V what does it say?
^ I had the same problem in Windows 7 and had to use the full path to pip, which for me was "C:\Python27\Scripts\pip.exe install requests". If python and pip are installed on your machine that should work if you know the right path.
avatar
HappyPunkPotato: ^ I had the same problem in Windows 7 and had to use the full path to pip, which for me was "C:\Python27\Scripts\pip.exe install requests". If python and pip are installed on your machine that should work if you know the right path.
That means you didn't add it to the environment path when you installed python, which is why windows sees it as an unknown command and why you have to tell it where python is.

https://www.pythoncentral.io/add-python-to-path-python-is-not-recognized-as-an-internal-or-external-command/
Post edited November 19, 2018 by Revan67
Thanks, I know. I didn't bother adding it to the path since I'm only using it for gogrepo. I guess "decided to use the full path" woud've been a better way to phrase it than "had to" :-)
avatar
HappyPunkPotato: Thanks, I know. I didn't bother adding it to the path since I'm only using it for gogrepo. I guess "decided to use the full path" woud've been a better way to phrase it than "had to" :-)
Haha fair enough i added to the path just because i am lazy :) And wrote a powershell wrapper so I could be even more lazy
avatar
HappyPunkPotato: Thanks, I know. I didn't bother adding it to the path since I'm only using it for gogrepo. I guess "decided to use the full path" woud've been a better way to phrase it than "had to" :-)
avatar
Revan67: Haha fair enough i added to the path just because i am lazy :) And wrote a powershell wrapper so I could be even more lazy
what is the powershell wrapper that you used?