Closed SpheMakh closed 3 years ago
Jupyter must have changed some path structures. Could you please try find /home/sphemakh/work/projects/meerkat-GPS/venv/lib/python3.6/site-packages/notebook -name favicon-notebook.ico
and tell me what it reports?
BTW, your venv path mentions python 3.6, and everything else is python 3.8. Can this be right?
BTW, your venv path mentions python 3.6, and everything else is python 3.8. Can this be right?
The python3 on this machine is 3.6, I should ask the admin to upgrade it.
The python3 on this machine is 3.6, I should ask the admin to upgrade it.
Wait, this is on my laptop. I'm the admin!
But yes, this may be the issue. I could find the favicon-notebook.ico in the 3.8 path but in not the 3.6 one. As to how the python 3.6 branch exists, I have no idea
Or maybe you did upgrade to 3.8, but now you're reinstalling radiopadre into a stale 3.6 environment?
Try running it with --venv-reinstall to blow everything away and rebuild. Be prepared to swear at pyregions when you do.
I nuked the venv, and started another one. It looks like something in the install adds python3.6 (I do have both versions)
Before
(venv) sphemakh@makeba:~/work/projects/meerkat-GPS$ ls -lrt venv/lib
total 4
drwxrwxr-x 3 sphemakh sphemakh 4096 Mar 29 12:23 python3.8
After
(venv) sphemakh@makeba:~/work/projects/meerkat-GPS$ ls -lrt venv/lib
total 8
drwxrwxr-x 3 sphemakh sphemakh 4096 Mar 29 12:29 python3.8
drwxrwxr-x 3 sphemakh sphemakh 4096 Mar 29 12:32 python3.6
So what exactly are your installation steps? You create a new 3.8 environment, and then?...
python -m venv venv
(venv) sphemakh@makeba:~/work/projects/meerkat-GPS$ python --version
Python 3.8.5
pip install -U pip wheel
pip install radiopadre
Ah. Try pip install radiopadre-client
, that's the intended way of setting it up. The client will then take care of installing the main package wherever.
(That said, the main package shouldn't be breaking the venv like that, so I'll leave the bug open.)
Ahh I see the problem. A quick and very dirty hack that should never have made it into production: https://github.com/ratt-ru/radiopadre/blob/master/bin/setup-radiopadre-virtualenv#L115
This is why we need code reviews!
I challenge anyone to look me in the eye and tell me they haven't done worse!
1.1.2 is on PyPI -- can you check that it fixes this?
It looks like the destination folder does not exist