Skip to content

Import error after installation #1

@ZackBoner

Description

@ZackBoner

Hello! I am trying to use your library for a downstream task.

After installing your library as per the instructions, when I try to import tree_compress I am met with the following error (running a random experiment to show the point, but this applies whenever I try to import the tree_compress module):

python3 compression_experiment.py compression_classification Electricity --model_type rf --fold 0 --abserr 0.005 --seed 5823 
Traceback (most recent call last):
  File "PATH/TO/PROJECT/experiment/compression_experiment.py", line 13, in <module>
    import tree_compress
  File "PATH/TO/PROJECT/.venv/lib/python3.12/site-packages/tree_compress/__init__.py", line 4, in <module>
    from .compress import Compress, CompressRecord
ModuleNotFoundError: No module named 'tree_compress.compress'

I am running this on a machine with Ubuntu 22.04.5 LTS.

Thank you for your help!
Zack

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions