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

Dependency hell #16

Open
dk5ras opened this issue Jun 21, 2023 · 1 comment
Open

Dependency hell #16

dk5ras opened this issue Jun 21, 2023 · 1 comment

Comments

@dk5ras
Copy link

dk5ras commented Jun 21, 2023

Hi,

I was not able to use the software, I always run into some numpy/scipy dependency hell. As not being a coding but a hardware guy, somehow I am stuck. Is there a recommended Linux distribution that should fulfil the expectations without too much fiddling? Latest Kubuntu obviously make trouble.

@mrlnc
Copy link
Collaborator

mrlnc commented Jun 21, 2023

Thanks for the report. It looks like our pinned versions in requirements.txt aren't compatible with Ubuntu 23.04 (shipping Python 3.11.2).

When removing the pinned versions, pip will try to install whatever version is available. Replace requirements.txt with:

bitarray
contourpy
crcmod
cycler
fonttools
kiwisolver
matplotlib
numpy
packaging
Pillow
pyparsing
python-dateutil
scipy
six

Then run pip again:

source .venv/bin/activate
pip3 install -r requirements.txt

Running the code now fails because numpy changes. However, for me it was just this little change in src/qpsk.py:

-def get_symbol_bits(symbol: np.complex, phase_correction: int=0) -> int:
+def get_symbol_bits(symbol: complex, phase_correction: int=0) -> int:

I'll leave the issue open for now until we get around testing.

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