Open eromoe opened 7 years ago
Does deepdive only need python 2 ??
I found it was by file name empty, because import urllib,sys;print urllib.unquote(sys.argv[1])
not valid in python 3.
I changed that to file=$(python -c 'import sys;from urllib.parse import unquote;print(unquote(sys.argv[1]))' "$file")
It seems true based my case.
Anyway, installation is buggy on python3 , I also see some error as
Setting up python-software-properties (0.92.37.8) ...
+ false
+ sudo add-apt-repository -y ppa:openjdk-r/ppa
+ [[ 0 = 0 ]]
+ add-apt-repository -y ppa:openjdk-r/ppa
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 11, in <module>
from softwareproperties.SoftwareProperties import SoftwareProperties, shortcut_handler
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 27, in <module>
import apt_pkg
ImportError: No module named 'apt_pkg'
Finally , I give up and turn to python2 , and success.
The same thing happened to me, moved to use python2 and it worked.
can anyone please help me to resolve this issue.. error showing while install minikube
Can not install due to this error: