You are not logged in.
Hi everyone, I'm having a trouble opening Spyder in Anaconda.
I followed the installation instruction on their website but the first time I typed spyder in the terminal, there was an error: "symbol lookup error: /lib64/libpangoft2-1.0.so.0: undefined symbol: FcWeightFromOpenType" which i fixed by command "conda install -c asmeurer pango" but when i open the second time, i got this error and I don't know what to do next? (I have installed anaconda on ubuntu, fedora without any error)
"line 30, in build_tzinfo
typecnt, charcnt) = unpack(head_fmt, fp.read(head_size))
error: unpack requires a string argument of length 44"
I really appreciate any help.
Offline
Hi. Did you manage to find a fix? I also have the exact same problem.
Offline
Hello. I managed to get a fix.
First check whether ther file /etc/localtime is empty.
cat /etc/localtime
If it is, then that is what is causing the problem. Do the following:
rm /etc/localtime
sudo ls -s /usr/share/zoneinfo/Africa/Nairobi /etc/localtime
After zoneinfo ,select your appropriate timezone.
Offline