[PD-dev] Can't upload package with deken

IOhannes m zmölnig zmoelnig at iem.at
Wed Jun 29 23:36:08 CEST 2022


On 6/29/22 21:11, Alexandros wrote:
> Following up my own thread... the whole traceback reports that line 5 of 
> ~/.deken/virtualenv/bin/hy triggers the error, which is this:
> 
> from hy.cmdline import hy_main
> 
> The thing is that when I launch Python in the terminal and I type this 
> line, it works fine. Both commands "python" and "python3" launch Python 
> 3.9.7. All python* symbolic links in ~/.deken/virtualenv/bin point to 
> /usr/bin/python3 which is Python 3.9.7. This is as far as I can go, I 
> think.


well, the virtualenv in ~/.deken/ probably ignores any system-installed hy.
at least, it used to (it now tries to use system-installed packages if 
they meet the requirements (e.g. are recent enough)...

first thing to try is simply to self-update deken:
```
deken update --self
```

if that fails, try uninstalled 'deken' first, before re-installing it (i 
havea gut feeling that there are some left-overs in your ~/.deken/ that 
make all the problems):

```
deken uninstall --self

xdg-open 
"https://github.com/pure-data/deken/blob/main/developer/README.md#manual-bootstrap"
```

gmfds
IOhannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20220629/b761bc1a/attachment-0001.sig>


More information about the Pd-dev mailing list