GithubHelp home page GithubHelp logo

Broken setup about scapy-ssl_tls HOT 2 CLOSED

tintinweb avatar tintinweb commented on May 24, 2024
Broken setup

from scapy-ssl_tls.

Comments (2)

tintinweb avatar tintinweb commented on May 24, 2024

Hi @CristianVladescu, appreciate your report!

When installing scapy-ssl_tls with pip or setup.py setuptools is creating a python package in the site-packages directory. To make layer files automatically available to scapy we're also copying relevant layer files to scapy/layers and patching the layer loader to include ssl_tls.

In your case you are building a version of python to /opt/Python-2.7.13 and then installing scapy-ssl_tls to that python environment. Installing it as a python package is by intention and makes the package available to other python projects. However, in your case you seem to mix up python versions/environments and I am not quite sure if it was intendet the way you're using it. I would suggest to run /opt/Python-2.7.13/bin/python2.7 -m pip install setuptools (make sure to have setuptools installed and compile python with ssl support, you'll probably need it anyway for all the crypto) to force pip to run with the custom python version and install the packages from there.

Installing from one python environment to the other using pip -t (this is running system's python interpreter): The main problem we have with pip -t is that we do not seem to have the custom target destination available in setup.py. Maybe this will get fixed when moving to python whl instead. Right now we try to find scapys location in the current python interpreters user and system site-packages location.

Please try installing it by running pip with the python environment from /opt and report back if that resolves your problems. Virtualenv might also be an alternative for you (see ci-runtests.sh which installs scapy-ssl_tls to a venv)

tin

from scapy-ssl_tls.

tintinweb avatar tintinweb commented on May 24, 2024

feel free to reopen this issue if you feel like there's something we can do on our side.

from scapy-ssl_tls.

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.