scholi / pySPM

Python library to handle Scanning Probe Microscopy Images. Can read nanoscan .xml data, Bruker AFM images, Nanonis SXM files as well as iontof images(ITA, ITM and ITS).
Apache License 2.0
58 stars 33 forks source link

OperationalError: unable to open database file #10

Closed davislaundon closed 4 years ago

davislaundon commented 4 years ago

Hi Olivier,

I am having trouble loading pySPM into Jupyter Notebook. I have installed successfully pySPM but when i try to 'import pySPM' i get the following error:

OperationalError: unable to open database file

I assume this is something to do with sqlite but, as a python novice, have been unable to troubleshoot it successfully - is there anything I can try? I have all of the prerequisites installed, as well as sqlite3. Apologies if this is issue is trivial.

Many thanks,

Davis

scholi commented 4 years ago

Hi Davis, Sorry for the late reply. I have the same problem on a new machine. I'll try to find some time this week or next one to fix it.

Kind regards

Olivier

scholi commented 4 years ago

Ok it should be fixed. Please uninstall and reinstall pySPM

pip uninstall pySPM
pip install pySPM

Let me know if this works.

davislaundon commented 4 years ago

Thanks a lot for your help Olivier - I'll give it a try!

Best

Davis

Get Outlook for Androidhttps://aka.ms/ghei36


From: Olivier Scholder notifications@github.com Sent: Wednesday, July 31, 2019 9:31:30 AM To: scholi/pySPM pySPM@noreply.github.com Cc: Davis Laundon davlau@mba.ac.uk; Author author@noreply.github.com Subject: Re: [scholi/pySPM] OperationalError: unable to open database file (#10)

Ok it should be fixed. Please uninstall and reinstall pySPM

pip uninstall pySPM pip install pySPM

Let me know if this works.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/scholi/pySPM/issues/10?email_source=notifications&email_token=ALSE3W64HVQBU7HOBZ6GJ3TQCGH3FA5CNFSM4IEWNNBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3HIDTQ#issuecomment-516850126, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALSE3WYM76IYQ6ZCOT7UC7TQCGH3FANCNFSM4IEWNNBA.