-
Notifications
You must be signed in to change notification settings - Fork 1
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
Issue with Installing multilabel-oversampling #1
Comments
Hi, you need to install pip install numpy
pip install git+https://github.com/phiyodr/multilabel-oversampling |
Hi, git clone https://github.com/phiyodr/multilabel-oversampling.git
cd multilabel-oversampling
python -m pip install -r requirements.txt
python -m pip install -e . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I hope this message finds you well. I recently encountered an issue while trying to install the multilabel-oversampling package directly from the GitHub repository using pip.
Specifically, during the installation process, I received a ModuleNotFoundError indicating that the numpy module was not found. It seems that the package attempts to import numpy during the build/setup phase before numpy is installed, even though numpy is listed as a dependency in install_requires in setup.py.
Here's the error message I received for reference:
File "/private/var/folders/9y/pzqtcdlx1jv2lcr6z_6sq6jm0000gn/T/pip-req-build-ktfxzxk3/multilabel_oversampling/multilabel_oversampling.py", line 1, in
import numpy as np
ModuleNotFoundError: No module named 'numpy'
[end of output]
To resolve the issue, I tried the following:
While I eventually found a workaround, it would be helpful for other users if this issue could be addressed directly in the repository. Perhaps there's a way to ensure that the package doesn't attempt to import dependencies during the build/setup phase or to handle this in a way that doesn't result in an error.
Thank you for your attention to this matter, and I appreciate the work you've put into the multilabel-oversampling package!
Best regards,
The text was updated successfully, but these errors were encountered: