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

Alexandros adrcki at gmail.com
Thu Jun 30 08:38:05 CEST 2022


On 30/6/22 00:36, IOhannes m zmölnig wrote:
>
> 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
> ```

This goes though some process but ends up with the following:

Traceback (most recent call last):
  File "/home/alexandros/.deken/virtualenv/bin/pip", line 5, in <module>
    from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip'
Installation of requirements failed.
You probably should install the following packages first:
- 'python3-dev'
- 'libffi-dev'
- 'libssl-dev'

I did install the recommended packages, but keep on getting this error.


> 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

This can't run, I get the same error concerning hy

Can't I uninstall it with apt-get? Or delete some files manually? If so, 
which files are these?

>
> xdg-open 
> "https://github.com/pure-data/deken/blob/main/developer/README.md#manual-bootstrap"
> ```
>
> gmfds
> IOhannes
>
> _______________________________________________
> Pd-dev mailing list
> Pd-dev at lists.iem.at
> https://lists.puredata.info/listinfo/pd-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20220630/1c7c182d/attachment.htm>


More information about the Pd-dev mailing list