You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installations in the python environement in Ubuntu is conflicting system-wide installations.
Steps to reproduce
Navigate to eSim directory :
cd eSim-2.4
Make the Installation Script Executable:
chmod +x install-eSim.sh
Run the Installation Script:
./install-eSim.sh --install
Why this issue is happening :
Recent versions of Ubuntu (22.04 and later) and Debian have adopted a policy to prevent direct use of pip to install Python packages system-wide. So as we can see in error , it is suggesting that if you want to install a non-debian packaged python package you have to do it using apt , use of pip is discouraged in global context as mentioned above to avoid conflict with apt .
Solution :
As mentioned in log itself you can use tools like pipx or create a virtual environment to avoid any conflict.
Using pipx : pipx install Watchdog(any other package)
Using venv (Recommended):
1.Install venv package if not already present in your Ubantu
--> sudo apt install python3-venv
Navigate to eSim directory
-->cd eSim-2.4
2.Create a Virtual Environment named eSim
--> python3 -m venv eSim
3.Activate the Virtual Environment
--> source eSim/bin/activate
4.Make the Installation Script Executable:
-->chmod +x install-eSim.sh
5.Run the Installation Script:
-->./install-eSim.sh --install
Description
Installations in the python environement in Ubuntu is conflicting system-wide installations.
Steps to reproduce
Navigate to eSim directory :
cd eSim-2.4
Make the Installation Script Executable:
chmod +x install-eSim.sh
Run the Installation Script:
./install-eSim.sh --install
Comment out the code
cause this is yet an other error needs to solved.
Expected behavior
Installation of watchdog
Screenshots
Additional files
Version and OS
The text was updated successfully, but these errors were encountered: