You are not logged in.

#1 2016-08-22 17:36:29

TriPham
Member
Registered: 2016-08-22
Posts: 1

Cannot open Spyder in Anaconda Python Distribution

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

#2 2016-09-01 18:23:13

yohanaizraeli
Member
Registered: 2016-09-01
Posts: 3

Re: Cannot open Spyder in Anaconda Python Distribution

Hi. Did you manage to find a fix? I also have the exact same problem.

Offline

#3 2016-09-02 06:21:21

yohanaizraeli
Member
Registered: 2016-09-01
Posts: 3

Re: Cannot open Spyder in Anaconda Python Distribution

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

Board footer

Powered by FluxBB