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

Add sympy dependency #34

Merged
merged 1 commit into from
Mar 22, 2023
Merged

Add sympy dependency #34

merged 1 commit into from
Mar 22, 2023

Conversation

awthomp
Copy link
Contributor

@awthomp awthomp commented Mar 10, 2023

Following the TorchSig install instructions and importing torchsig yields the following error:

>>> import torchsig
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/adamt/projects/torchsig/torchsig/__init__.py", line 4, in <module>
    from torchsig import models
  File "/home/adamt/projects/torchsig/torchsig/models/__init__.py", line 2, in <module>
    from . import spectrogram_models
  File "/home/adamt/projects/torchsig/torchsig/models/spectrogram_models/__init__.py", line 3, in <module>
    from .pspnet import *
  File "/home/adamt/projects/torchsig/torchsig/models/spectrogram_models/pspnet/__init__.py", line 1, in <module>
    from .pspnet import *
  File "/home/adamt/projects/torchsig/torchsig/models/spectrogram_models/pspnet/pspnet.py", line 8, in <module>
    from .modules import *
  File "/home/adamt/projects/torchsig/torchsig/models/spectrogram_models/pspnet/modules.py", line 6, in <module>
    from .utils import replace_bn
  File "/home/adamt/projects/torchsig/torchsig/models/spectrogram_models/pspnet/utils.py", line 1, in <module>
    import sympy
ModuleNotFoundError: No module named 'sympy'

By adding sympy to the pip requirements file, we can successfully import and install torchsig.

@TorchDSP TorchDSP added the bug Something isn't working label Mar 22, 2023
@gvanhoy gvanhoy added duplicate This issue or pull request already exists wontfix This will not be worked on labels Mar 22, 2023
@gvanhoy gvanhoy merged commit 6a42415 into TorchDSP:main Mar 22, 2023
ereoh pushed a commit that referenced this pull request Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists wontfix This will not be worked on
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants