Progeny42 / refrapt

Tool to create local Debian mirrors using Python
GNU General Public License v3.0
34 stars 5 forks source link

[BUG] Refrapt uses python3 instead of python3.9 #7

Closed Maks1116 closed 2 years ago

Maks1116 commented 3 years ago

Describe the bug When running refrapt command I get:

Traceback (most recent call last):
  File "/home/ubuntu/.local/bin/refrapt", line 5, in <module>
    from refrapt.refrapt import main
ModuleNotFoundError: No module named 'refrapt'

I have fixed this by changing

#!/usr/bin/python3

to

#!/usr/bin/python3.9

in ~/.local/bin/refrapt

System Information:

Progeny42 commented 3 years ago

I've checked my installation, in the ~/.local/bin/refrapt file, and it already has #!/usr/bin/python3.9. I can only assume therefore yours was set to python3 due to the previous installation attempt for which you were having trouble with in issue #6.

Maks1116 commented 3 years ago

I don't think so. It might be because my default python is python3, not 3.9

Maks1116 commented 2 years ago

It doesn't happen now so I will close this issue