On 2021-01-03 18:19:24, Payam wrote:
> Hi folks
> I've been trying to install bpython under Windows 10 Terminal linux
> (Ubuntu), and unfortunately either through pip or ap-get, I still get the
> same error when I run bpython.
> Please help me to solve this problem.
> ➜ bpython
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 574,
> in _build_master
> File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 892,
> in require
> needed = self.resolve(parse_requirements(requirements))
> File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 783,
> in resolve
> raise VersionConflict(dist, req).with_context(dependent_req)
> pkg_resources.VersionConflict: (bpython 0.20.1
> es), Requirement.parse('bpython==0.17.1'))
You seem to have incompatible versions of bpython installed. In this
case, the bpython binary tries to execture bpython version 0.17.1,
bpython version 0.20.1 is found. Do you have some old version still
installed? In general though, mixing pip and apt-get is not a good idea
and causes issues like that.
> You received this message because you are subscribed to the Google Groups "bpython" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to bpython+u...@googlegroups.com
> To view this discussion on the web visit https://groups.google.com/d/msgid/bpython/5a4e5266-a575-43d2-be55-1c850bc3f5fan%40googlegroups.com