Skip to content
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

Could not install Peniot #7

Open
duttaprayakhi opened this issue Feb 16, 2022 · 6 comments
Open

Could not install Peniot #7

duttaprayakhi opened this issue Feb 16, 2022 · 6 comments
Assignees

Comments

@duttaprayakhi
Copy link

Tried to install Peniot from the commands given in the github repository but unable to install it. Following errors were shown -

Cloning into 'peniot'...
Warning: Permanently added the ECDSA host key for IP address '13.234.210.38' to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Please look into the matter ASAP.

@tansly
Copy link

tansly commented Feb 22, 2022

You'll need to clone using HTTPS instead of SSH.

git clone https://github.com/yakuza8/peniot.git

@duttaprayakhi
Copy link
Author

Thank you ma'am, We have successfully cloned PenIOT. But now we are facing issues with the modules in the python scripts while running it.

@tansly
Copy link

tansly commented Feb 22, 2022 via email

@yakuza8 yakuza8 closed this as completed Feb 22, 2022
@yakuza8 yakuza8 reopened this Feb 22, 2022
@yakuza8
Copy link
Owner

yakuza8 commented Feb 22, 2022

Hello @duttaprayakhi,

Firstly, let me thank you for your interest. I just reviewed the installation and tried. I found out that pygame was causing a problem to prevent other dependencies from installation. I put a constraint on its version and tried again and it is working now.

Please note that, I updated Build section and added Execution section where I really suggest you have a separate virtual environment since the installed dependencies could cause some troubles among your existing Python libraries.

Also, please let me know if you still have problem and attach the logs about the error so I could take a look at it.

@yakuza8 yakuza8 self-assigned this Feb 22, 2022
@duttaprayakhi
Copy link
Author

Thank you for responding to our query.

But now again we are facing issues with the Python libraries.
Modules such as Utils.SnifferUtil, Entity.attack, etc are not getting imported.

Please look into the matter ASAP.

@LailaAfreen
Copy link

@yakuza8 I tried installing peniot using : python3 setup.py install, however, i get UserWarning: Unknown Distribution option: 'platform'" and syntax error at several places an example of which is as follows:

byte-compiling build/bdist.linux-x86_64/egg/src/GUI/tkinter.py to tkinter.cpython-38.pyc File "build/bdist.linux-x86_64/egg/src/GUI/tkinter.py", line 139 print file_name ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(file_name)?

and then finally, towards the end:

Hunting dependencies... /bin/sh: 1: sdl-config: not found /bin/sh: 1: sdl-config: not found /bin/sh: 1: sdl-config: not found WARNING: "sdl-config" failed! Package freetype2 was not found in the pkg-config search path. Perhaps you should add the directory containing freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing freetype2.pc' to the PKG_CONFIG_PATH environment variable No package 'freetype2' found Package freetype2 was not found in the pkg-config search path. Perhaps you should add the directory containing freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
WARNING: "pkg-config freetype2" failed!
/bin/sh: 1: freetype-config: not found
/bin/sh: 1: freetype-config: not found
/bin/sh: 1: freetype-config: not found
WARNING: "freetype-config" failed!
error: Setup script exited with Unable to run "sdl-config". Please make sure a development version of SDL is installed.`

It would be great if you can look into this as soon as possible and let me know your opinion on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants