Skip to content

Commit 377c9d9

Browse files
committed
fix pip3 install errors for now, need better approach
1 parent fe2ae00 commit 377c9d9

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

install/main.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@ if [ ! -d $openenergymonitor_dir/data ]; then mkdir $openenergymonitor_dir/data;
8787

8888
echo "-------------------------------------------------------------"
8989
sudo apt-get install -y git build-essential python3-pip python3-dev
90+
91+
# It's probably better to fix this by using python venv
92+
if [ -e /usr/lib/python3.11/EXTERNALLY-MANAGED ]; then
93+
sudo rm -rf /usr/lib/python3.11/EXTERNALLY-MANAGED
94+
echo "Removed pip3 external management warning."
95+
fi
9096
echo "-------------------------------------------------------------"
9197

9298
if [ "$install_apache" = true ]; then $openenergymonitor_dir/EmonScripts/install/apache.sh; fi

module.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name" : "EmonScripts",
3-
"version" : "1.6.21",
3+
"version" : "1.6.22",
44
"location" : "/opt/openenergymonitor",
55
"branches_available": ["stable","master"],
66
"requires": []

0 commit comments

Comments
 (0)