OpenSMFS / FRETBursts

Burst analysis software for single and multi-spot single-molecule FRET (smFRET) data.
https://opensmfs.github.io/FRETBursts/
GNU General Public License v2.0
12 stars 9 forks source link

Installation Issue #38

Open VAVAnana opened 1 year ago

VAVAnana commented 1 year ago

Hello,

I tried to install FRETBursts through conda using the following lines:

conda create -n py36FRETBursts python=3.6
conda.bat activate py36FRETBursts
conda install fretbursts -c conda-forge 

But I encountered a problem with environmental solving, which at first failed and then the process hangs and nothing happens

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: /

I tried to install with pip as well, but I also got errors

ERROR: Failed building wheel for fretbursts error: subprocess-exited-with-error error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ error: legacy-install-failure

Sorry for the vague description of the issue.

Thank you, Anastasia

harripd commented 1 year ago

Hi Anastasia, Sorry for the long time to respond, I've focused on my own fork of FRETbursts and missed this one.

2 points:

  1. The error you show means that you need to install Microsoft Visual studios to get a C compiler on your system. You should also further install some of the C related extensions in MS Visual Studios. It's a big install, and unfortunately I haven't found any way around it. Also make sure you have Cython installed before you install FRETbursts.
  2. The conda forge version is out of data, I have taken over the project, and I seem to be missing something important to get the latest version of fretbursts on conda-forge. Therefore I encourage you to use pip install fretbursts instead. This also means you can use a newer version of python for your environment if you like.

Let me know if this helps.

Paul