OpenCOMPES / sed

Single Event Data Frame Processor: Backend to handle photoelectron resolved datastreams
https://opencompes.github.io/sed/
MIT License
3 stars 1 forks source link

PackageNotFoundError on the main branch #460

Closed kutnyakhov closed 20 hours ago

kutnyakhov commented 6 days ago

Describe the bug What I've mentioned today during meeting: during calling from sed import SedProcessor I am getting a PackageNotFoundError while I am using main branch. This is not a case if I am using e.g. update-hextof-tutorial branch

Screenshots Here is an error itself PackageNotFoundError

rettigl commented 6 days ago

How did you install the package? As described here? https://github.com/OpenCOMPES/sed/blob/main/README.md#for-contributors-pip What is the output of pip list | grep sed-processor It should look something like

rettig@pcr840:..sed/sed> pip list | grep sed-processor
sed-processor                 0.1.10a5            /mnt/pcshare/users/Laurenz/AreaB/sed/sed
kutnyakhov commented 6 days ago

This particular kernel was installed using poetry approach. In my case, output is empty line.

rettigl commented 6 days ago

Ah, you are using the kernel approach, and don't activate the environment. I never tested this, @zain-sohail please check.

zain-sohail commented 6 days ago

And poetry install was also run? This should usually install sed-processor package.

I am running the latest v1_feature_branch (it's up to date with main as well) using poetry as well and have no issues.

rettigl commented 6 days ago

This particular kernel was installed using poetry approach. In my case, output is empty line.

Can you do poetry run pip list | grep sed-processor

kutnyakhov commented 5 days ago

This particular kernel was installed using poetry approach. In my case, output is empty line.

Can you do poetry run pip list | grep sed-processor

It also returns empty line

rettigl commented 5 days ago

Can you then please go through the installation steps once more? It appears the packages is not properly installed.

kutnyakhov commented 4 days ago

The new installation helped and also poetry install in the old installation helped as well. And now poetry run pip list | grep sed-processor returns: sed-processor 0.1.10a5 /home/kutnyakd/sed Thanks for help :)

zain-sohail commented 4 days ago

We figured the problem that pip install -e .[all] doesn't work but pip install -e . does to install in editable mode.