FCS-analysis / PyCorrFit

data analysis and fitting software for fluorescence correlation spectroscopy (FCS)
pycorrfit.craban.de
Other
45 stars 13 forks source link

Error when opening Pycorrfit #186

Closed tneg closed 6 years ago

tneg commented 6 years ago

Hello,

I've installed on my Ubuntu 18.04 System Pycorrfir via the pip command. However when I enter 'pycorrfit' in the terminal I get the following error message:

fatal: not a git repository (or any of the parent directories): .git
Traceback (most recent call last):
  File "/home/xxx/.local/bin/pycorrfit", line 7, in <module>
    from pycorrfit import Main
ImportError: cannot import name Main

What can I do to solve this?

paulmueller commented 6 years ago

I see, please try python -m pycorrfit.

paulmueller commented 6 years ago

Please make sure to install PyCorrFit with Python 3. Python 2 is not supported anymore and you are probably encountering an old bug that has been fixed since the switch from Python 2 to Python 3.

tneg commented 6 years ago

Thanks a lot! The command python3 -m pycorrfit did the trick!