anyone want to help me, I have error code when install gns3, anyone have a solution?
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):
I tried installing it, and it’s running fine, how did you install it ? Since it’s in debian repository, all you have to do is “sudo apt install gns3”
Did you change things like your python path ?
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
make a backup of
/usr/share/gns3/gns3-gui/bin/python3 like that:
sudo mv /usr/share/gns3/gns3-server/bin/python3 /usr/share/gns3/gns3-server/bin/python3.bak
sudo mv /usr/share/gns3/gns3-gui/bin/python3 /usr/share/gns3/gns3-gui/bin/python3.bak
After create a symlink for python3 in the precedent folder like that:
sudo ln -s /usr/bin/python3 /usr/share/gns3/gns3-gui/bin/
sudo ln -s /usr/bin/python3 /usr/share/gns3/gns3-server/bin/
And after thats use the gui launcher of gns3 in the menu and all works fine
@no0b i think he make like me install by the official site
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
Hi, I tried to install it with pip but it’s showing this error. Can you help? Is it about python 2, python 3 problem?
A little update: you must install gns3-server using pip as well. There must be other dependcies (i don’t really remember them all).
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.