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

Update the project to current numpy and librosa #25

Open
Dazzid opened this issue Dec 5, 2023 · 1 comment
Open

Update the project to current numpy and librosa #25

Dazzid opened this issue Dec 5, 2023 · 1 comment

Comments

@Dazzid
Copy link

Dazzid commented Dec 5, 2023

Hi Jordi,
We are trying to run musicnn but are having issues with both libraries numpy and librosa versions. The problem is numpy==1.14.5 which is quite deprecated, and it is needed to run librosa==0.7.0.
Any suggestion on how to fix it?

@Dazzid
Copy link
Author

Dazzid commented Dec 5, 2023

Ok, I managed to run the musicnn by moving all the docker image back to 2020

Dockerfile

# Use an official Miniconda3 image as a parent image
FROM continuumio/miniconda3:4.10.3

# Set the working directory to /app
WORKDIR /app

# Create a conda environment with Python 3.6 and activate it
RUN conda create --name myenv python=3.6
SHELL ["conda", "run", "-n", "myenv", "/bin/bash", "-c"]

# Install any needed packages specified in requirements.txt
RUN conda install -y numpy==1.14.5

# Make port 80 available to the world outside this container
EXPOSE 80

# Define environment variable
ENV NAME World

# Copy the current directory contents into the container at /app
COPY . /app

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

1 participant