Git Product home page Git Product logo

Comments (5)

Srinivas11789 avatar Srinivas11789 commented on May 20, 2024 3

Hi @dac4755, Thanks for reporting the issue. I think the work around would be to install imagetk separately,
sudo apt-get install python-imaging-tk
Please try and let me know if this works. I would investigate further on this issue to figure out if this would be required as a separate entity.

from pcapxray.

dac4755 avatar dac4755 commented on May 20, 2024

Thanks, that did the trick! I think the problem was primarily on my end with some corrupted packages causing conflicts. I removed the offending packages, installed the one you recommended, and now it runs. Thanks for your help and quick response!

David

from pcapxray.

bahaahassanieh avatar bahaahassanieh commented on May 20, 2024

cant find any module named userInterface , is there a specific package

from pcapxray.

aki2419 avatar aki2419 commented on May 20, 2024

root@blackout:~/Desktop/PcapXray/Source# python main.py
Traceback (most recent call last):
File "main.py", line 12, in
import userInterface
File "Module/userInterface.py", line 5, in
import plotLanNetwork
File "Module/plotLanNetwork.py", line 9, in
import matplotlib.pyplot as plt
File "/usr/lib/python2.7/dist-packages/matplotlib/init.py", line 124, in
from . import cbook
ImportError: cannot import name cbook

I am using Kali Linux... THanks

from pcapxray.

Srinivas11789 avatar Srinivas11789 commented on May 20, 2024

Thanks for the issues. I have some startup fixes pending to merge soon.

@bahaahassanieh - I think the current version of the project requires you to be in the source folder where main.py resides before you can run python main.py. Let me know if this solves the issue. This issue is already fixed due to be merged #7.

@aki2419 - The cbook error is related to the matplotlib library installation. I think the work around here would solve it. I think I should update the requirements file to a specific matplotlib version to solve this. This says matplotlib=2.0.2 fixes the cbook error. I will investigate further and try fixing this from my end but let me know if this still persists.

Also, this seems to get fixed with a python virtualenv setup.

pip install virtualenv
virtualenv <name>
source <name>/bin/activate
pip install -r requirements.txt
  • A docker setup coming soon... (that might solve installation issues)

from pcapxray.

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.