We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1c500eb + f26fe8c commit fa900eeCopy full SHA for fa900ee
1 file changed
recipes/python.rb
@@ -19,7 +19,14 @@
19
#note that this is using the fkrull/deadsnakes repository listed above
20
bash 'install python3.6' do
21
code <<-EOH
22
- sudo apt install python3.6 python3.6-dev -y;
+ sudo apt-get purge python3.6;
23
+ sudo apt-get autoremove && sudo apt-get autoclean;
24
+ sudo apt install python3.6 -y --force-yes;
25
+ sudo apt install python3.6-dev -y --force-yes;
26
+ sudo apt install python3.6-venv -y --force-yes;
27
+ sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 1
28
+
29
+ sudo cp /usr/lib/python3/dist-packages/apt_pkg.cpython* /usr/lib/python3/dist-packages/apt_pkg.so;
30
EOH
31
flags "-x"
-end
32
+end
0 commit comments