+ 1
How anaconda jupyter is different from normal jupyter editor ??
I have copy pasted the same code from jupyter editor to anaconda jupyter editor , the program is not executing
5 Respuestas
0
Maybe the problem is not in the version of jupyter? What code did you try and what error occured?
0
import urllib2,re
f = urllib2.urlopen("URLxxxx.com")
s =f.read()
dict ={}
for i in s:
dict[i] =s.count(i)
print dict
this is the code I'm trying
0
And what error does it show when you try run it in anaconda juputer?
0
error : no module named urllib2
0
I think the problem may be that the package urllib2 for python is not installed in virtual evironment that was created by anaconda and where this copy of jypiter works. You can try to install it in terminal using command:
conda install urllib2
If it won't work see this:
https://conda.io/docs/user-guide/tasks/manage-pkgs.html