anyone want to help me, I have error code when install gns3, anyone have a solution?
$gns3
Could not find platform independent libraries
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to [:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named ‘encodings’
Current thread 0x00007fa26edb1740 (most recent call first):
Aborted
You dont say which parrot you use but with parrot security i had the same problem.
There is 2 way to resolve it but i prefer the second one:
First solution: Edit the 3 python script located at /usr/bin/gns3 /usr/bin/gns3server /usr/bin/gns3vmnet and replace the first line by #!/usr/bin/python3
2nd solution:
make a backup of /usr/share/gns3/gns3-server/bin/python3 and /usr/share/gns3/gns3-gui/bin/python3 like that:
You can install gns3 using python-pip for latest version (deb package on the repo is out of date i think). pip install gns3 or sudo pip install gns3
This is gns3 information from pip server
$ pip search gns3
gns3-gui (2.1.8) - GNS3 graphical interface for the GNS3 server.
gns3-server (2.1.8) - GNS3 server
gns3-netifaces (0.10.4.1) - Portable network interface information. GNS3
fork for solving a Python 3 issue
gns3-net-converter (1.3.0) - Official fork by GNS3 team of the gns3
converter.Convert old ini-style GNS3 topologies
(<=0.8.7) to the newer version 1+ JSON format
gns3-converter (1.2.4) - Convert old ini-style GNS3 topologies (<=0.8.7)
to the newer version 1+ JSON format