Archived Forum Post

Index of archived forum posts

Question:

Raspian Importerror

May 22 '15 at 07:50

Hi, I'm using chilkat for years on MAC OS X, but now I have to use it on a Rasperry Pi to. I followed the installation instructions, but Python always returns:

Traceback (most recent call last)
  File "<pyshell#0>", line 1, in <module>
    import chilkat
  File "/usr/local/lib/python3.2/dist-packages/chilkat.py", line 26, in <module>
    _chilkat = swig_import_helper()
  File "/usr/local/lib/python3.2/dist-packages/chilkat.py", line 22, in swig_import_helper
    _mod = imp.load_module('_chilkat', fp, pathname, description)
ImportError: /usr/local/lib/python3.2/dist-packages/_chilkat.so: cannot open shared object file: No such file or directory`

I have now idea, what the mistake could be... Thanks for your answers!


Answer

and you did check the file

/usr/local/lib/python3.2/dist-packages/_chilkat.so
exists?


Answer

Of course I checked! In the Installationguide it said I have to copy the two files both into the folder, but it doesn't work!


Answer

Does the account that your program/script run under have read permission on the file and folder(s) in the /usr/local/lib/python3.2/dist-packages/_chilkat.so path?


Answer

@jpbro: Yes, its got the read permission on the file and folders.


Answer

Please help me!