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 bugs #16

Open
Christian-ngnie opened this issue Dec 2, 2024 · 3 comments
Open

Installation bugs #16

Christian-ngnie opened this issue Dec 2, 2024 · 3 comments

Comments

@Christian-ngnie
Copy link

Christian-ngnie commented Dec 2, 2024

Conflictual packages, even following the process. It seems extremely heavy!. For example numpy <2 seems incompatible with python >=3.11 as I consistently get this error: numpy has no attribute long

@grosjeang
Copy link
Collaborator

Could you please share a little more infos:

  • your OS
  • python version
  • logs of the installation

For the specific numpy issue, what numpy version does pip try to install ? When I install BERTrend, the installed numpy version is 1.26.4, maybe you could try to force this version in pyproject.toml to see if it solves your problem ?

@Christian-ngnie
Copy link
Author

Hi,
Thank you for your help. Here are the details you requested:

Operating System:

macOS 15.1.1
Python Version:

Python 3.8.5 and Python 3.11.10 (that I have just installed as a requirement for BERTrend)
Installation Logs:
I’ve attached the logs for the installation process, which were generated during the BERTrend installation. Please see the attached file (install_log.txt) for details.

NumPy Version:
even after installing NumPy version 1.26.4, I got this error when I launched the app AttributeError: module 'numpy' has no attribute 'long'

install_log.txt
Screenshot 2024-12-03 at 11 26 42

@grosjeang
Copy link
Collaborator

grosjeang commented Dec 9, 2024

We tried the installation on a MacBook and it worked (Apple M2 Pro, macOS Sequoia 15.1.1, python 3.11, conda as env manager)

In your logs, the following line is strange:
ERROR: Could not find a version that satisfies the requirement torch<3.0.0,>=2.4.1 (from bertrend) (from versions: 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1, 2.2.2)

Pip should find pytorch 2.4 or 2.5

Are you working behind a proxy or with a custom index URL that might not be up to date ?

If not already done, we recommand to try to install BERTrend from a new and empty environnement.

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