Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Issue #38

Open
VAVAnana opened this issue Aug 21, 2022 · 1 comment
Open

Installation Issue #38

VAVAnana opened this issue Aug 21, 2022 · 1 comment

Comments

@VAVAnana
Copy link

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
Copy link

harripd commented Feb 2, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants