Skip to content

Alert for environment mismatch #104

@skoudoro

Description

@skoudoro

@arokem I think the issue is that even though I was running from brand new environment, the shim was using trx from an older environment:

(pydi) trx-python % which -a trx
/Users/chris/.pyenv/shims/trx

AI suggested I do a series of steps, and my experience with Python is insufficient to know the crucial one, but I think it was something like this:

"$(pyenv which python)" -m pip uninstall -y trx-python
pyenv rehash 

After which it did succeed:

(pydi) trx-python % trx convert ~/simple.trk ./output.trx 
/Users/chris/pydi/lib/python3.13/site-packages/trx/viz.py:9: UserWarning: You do not have FURY installed. Some visualization functions might not work for you. Please install or upgrade FURY using pip install -U fury. For detailed installation instructions visit: https://fury.gl/
  from dipy.viz import actor, colormap, window
Successfully converted /Users/chris/simple.trk to output.trx
(pydi) trx-python % ls *.trx
output.trx

The good news is that it did work, but the problem was not intuitive. Is there a way to avoid these issues?

Originally posted by @neurolabusc in #86

Metadata

Metadata

Assignees

No one assigned

    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