Closed umer936 closed 1 year ago
Hmm what version of pip are you on? this is what I get
λ ~ pip install ccsdspy==1.1.1
Defaulting to user installation because normal site-packages is not writeable
Collecting ccsdspy==1.1.1
Downloading ccsdspy-1.1.1.tar.gz (4.7 MB)
|████████████████████████████████| 4.7 MB 1.4 MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Requirement already satisfied: numpy>=1.8.0 in ./.local/lib/python3.8/site-packages (from ccsdspy==1.1.1) (1.21.0)
Building wheels for collected packages: ccsdspy
Building wheel for ccsdspy (PEP 517) ... done
Created wheel for ccsdspy: filename=ccsdspy-1.1.1-py3-none-any.whl size=2606609 sha256=5db9be2d181961ff65df6e6a639d7198a91b7f633c12359272669b94f3d478ea
Stored in directory: /home/daniel/.cache/pip/wheels/bd/7f/6f/a1eb51f97999b13ac9c7131b261d4d0e7ea21f043665855b63
Successfully built ccsdspy
Installing collected packages: ccsdspy
Attempting uninstall: ccsdspy
Found existing installation: ccsdspy 1.0.0
Uninstalling ccsdspy-1.0.0:
Successfully uninstalled ccsdspy-1.0.0
Successfully installed ccsdspy-1.1.1
WARNING: You are using pip version 21.1.2; however, version 23.2.1 is available.
You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
I was on 22.0.2.
You're on 21.1.2 so I was skeptical.
However, upgrading pip to 23.2.1 did just fix it.
pip install -U pip
pip install ccsdspy==1.1.1
now just worked.
Didn't have an issue with installing other pip packages so not sure, but it is resolved.
For reference, I'm in a Docker container running Ubuntu 22.04.3 LTS.
Thank you for the quick response! :)
Thanks @umer936, glad we got this sorted out. I'll keep an eye on the package config to see if any other funny behavior happens.
Do you mind if I ask what you are using CCSDSPy for and where? We like to collect where/what it's being used to prioritize issues and populate our "used by" section.
For sure. I'm at SwRI, which is already listed in the description. I'm a software dev currently working on the in-development IMAP / CoDICE. We ingest in spreadsheets of instrument configs and bin files and use your PacketFields, PacketArray, and converters to put the data in a database for plotting.
I know we use it in other missions but I don't know which ones off-hand. I'll ask someone who knows in a week or so and reply here when I find out.
Thanks!
Great to hear! Do you mind if I add IMAP / CoDICE to the used by list?
Seems you're comfortable making github issues, but I'll just say the same thing to you that I say to everyone: if you run into any problems, or have any thoughts on features that would improve things for your org, feel free to open an issue or discussion thread. We have helped a lot of missions 1-1 in the past, so it's not a big deal to answer questions or add patches for unsupported corner cases we didn't think of.
I'll need to ask about both of those things, but I'll get back to you when I do so.
Metadata incorrect when trying to install from pip. Instead, pip installs version 0.0.13. Any of the 1.x versions do the same.