You are not logged in.

#1 2020-03-30 07:43:01

surrealistic
Member
Registered: 2011-07-24
Posts: 102

I can't use pip since I instaled Jython

Hi!

I had to install Jython and since I installed Jython it added a new entry on $PATH with /opt/jython/bin, since then I can't run pip since it's trying to use Jython as interpreter. I get the following error message:

zsh: /opt/jython/bin//pip: bad interpreter: /build/jython/pkg/jython/opt/jython/bin/jython: no such file or directory

I've tried to remove jython from $PATH during a current session running

export PATH="<current path except /opt/jython/bin>"

and I could run pip as usual.

Is there any way to do that change with persistence or any other fix for this issue?

I'm currently using ZSH as shell.

Cheers!

Offline

#2 2020-03-30 10:43:53

yan12125
Member
Registered: 2017-11-01
Posts: 36

Re: I can't use pip since I instaled Jython

Offline

#3 2020-03-31 05:59:54

surrealistic
Member
Registered: 2011-07-24
Posts: 102

Re: I can't use pip since I instaled Jython

Thanks @yan12125, it seems like the package has been having that issue for a long time. I just removed Jython and I downloaded the standalone version because all I need was to import the .jar of Jython to another software. Is there a better way to fix that issue or is it better to keep it in this way and mark the thread as SOLVED?

Offline

#4 2020-04-01 04:28:29

yan12125
Member
Registered: 2017-11-01
Posts: 36

Re: I can't use pip since I instaled Jython

I tried to fix the jython package in [community]. Here is a test package: https://pkgbuild.com/~yan12125/jython-2 … kg.tar.zst. Mind to try it out?

Update 2020/04/09: jython 2.7.2-1 is pushed to [community].

Last edited by yan12125 (2020-04-09 03:57:57)

Offline

Board footer

Powered by FluxBB