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

np.Infinity??? #145

Open
jabowery opened this issue Aug 28, 2024 · 2 comments
Open

np.Infinity??? #145

jabowery opened this issue Aug 28, 2024 · 2 comments

Comments

@jabowery
Copy link

np.Infinity has not been a supported feature of numpy since the move to v2 yet nowhere do I see a requirement for a v1 of numpy. As a result, automatic conda version alignment pulls in v2 resulting in an environment that bombs off on the call to np.Infinity. Moreover, my attempt to specify the latest v1 for numpy failed to produce a working environment as it bombs off on:

The dash_html_components package is deprecated. Please replace
`import dash_html_components as html` with `from dash import html`

Can't find gpsd - ok if no external gps used
Traceback (most recent call last):
  File "/home/jabowery/krakensdr/krakensdr_doa/_ui/_web_interface/app.py", line 26, in <module>
    from views import main
  File "/home/jabowery/krakensdr/krakensdr_doa/_ui/_web_interface/views/main.py", line 7, in <module>
    dcc.Location(id="url", children="/config", refresh=True),
  File "/home/jabowery/miniforge3/envs/kraken/lib/python3.10/site-packages/dash/development/base_component.py", line 425, in wrapper
    return func(*args, **kwargs)
  File "/home/jabowery/miniforge3/envs/kraken/lib/python3.10/site-packages/dash/dcc/Location.py", line 77, in __init__
    super(Location, self).__init__(**args)
  File "/home/jabowery/miniforge3/envs/kraken/lib/python3.10/site-packages/dash/development/base_component.py", line 143, in __init__
    raise TypeError(
TypeError: The `dcc.Location` component (version 2.17.1) with the ID "url" received an unexpected keyword argument: `children`
Allowed arguments: hash, href, id, pathname, refresh, search

@krakenrf
Copy link
Owner

When you install

conda install scipy==1.9.3
conda install numba==0.56.4

It should install a compatible version of numpy. Or did something change and this no longer the case?

Are you using the scripts? https://github.com/krakenrf/krakensdr_docs/wiki/09.-VirtualBox,-Docker-Images-and-Install-Scripts#install-scripts

@jabowery
Copy link
Author

About a week ago I tried that install script but that was at the start of my learning curve about configuring coherent sampling with with just 2 rtl-sdr V3 dongles (master-slave clock wired) and it didn't work. I've tried about every variation on getting software installed to provide coherent samples since then so I'm much better attuned to the ecosystem now.

I'll try again after cleaning out all the prior software and drivers.

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