Skip to content

Dependency issues in conda environment #14

@robbenmigacz

Description

@robbenmigacz

Hello,

I am attempting to install TCR-BERT on Rocky 8. I installed the dependencies given in environment.yml, but the example scripts do not work.

I received the same error as that given in #8: packaging.version.InvalidVersion: Invalid version: '0.10.1,<0.11'. Following the suggestions given in the comments of that issue, I reinstalled the transformers package (to version 4.11.1, as suggested by a commenter). This resolved the issue I was encountering, but the scripts still do not work; now, I get the error ImportError: libffi.so.7: cannot open shared object file: No such file or directory when from neptune.experiments import Experiment runs in the model_utils module. libffi is a part of the conda environment, so I believe this is likely a result of a dependency conflict—likely because I needed to change the versions of some packages to install a compatible version of transformers. Indeed, updating transformers to a compatible version resulted in the installation of conda-forge::libffi-3.4.6-h2dba641_0 over anaconda::libffi-3.3-he6710b0_2. I am now searching for a way to install compatible dependencies, but it is proving to be challenging.

Has anyone experienced a similar issue when attempting to install this package? I believe environment.yml will need to be updated; as-is, the environment is unusable.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions