Coder Social home page Coder Social logo

import requests about rsactftool HOT 3 CLOSED

rsactftool avatar rsactftool commented on May 21, 2024
import requests

from rsactftool.

Comments (3)

Sjord avatar Sjord commented on May 21, 2024 1

I am sorry to hear that you have such troubles getting this to run.

The requests module is an external module that handles HTTP requests. It can be installed like this:

pip install requests

When running that, it should finish with something like this:

Successfully installed certifi-2019.11.28 chardet-3.0.4 idna-2.9 requests-2.23.0 urllib3-1.25.8

If you run pip install like this, it will try to install the package system-wide in /usr/lib/python3/dist-packages or something like that. If you want to install it just in the current directory for RsaCtfTool, it is a good idea to first create a virtual environment. A virtual environment is a little Python installation with its own packages. Create one like this:

python3 -m venv venv

This will create a directory "venv". You can enable it like this:

. venv/bin/activate

After enabling it, python refers to the Python in the virtual environment, and pip will install packages within the environment.

Instead of creating a virtual environment and using pip, there is also pipenv that combines both, although I don't have much experience with that.

If you are still struggling with getting this working, it would be helpful to give some more information: which OS are you using, what have you tried, did you get any error messages?

RsaCtfTool is not really a polished Python package. It may take some effort getting it to work, but not two hours, like you said.

from rsactftool.

Ganapati avatar Ganapati commented on May 21, 2024

requests is in requirement.txt.
Did you run pip3 install -r ./requirements.txt ?

from rsactftool.

Brutalmelon avatar Brutalmelon commented on May 21, 2024

Hey, I'm sorry for the late response. I definitely appreciate your replies, I haven't had a chance to give them a try yet but I will get back to you when I can.

from rsactftool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.