This might well be fixed in the latest beta.
Did you try it?

On Sun, Apr 12, 2020 at 12:59 AM SIDDHARTH SINGH
<f20170...@pilani.bits-pilani.ac.in> wrote:
>
> I am unable to build sage after a recent upgrade (Arch). On investigation, 
> the line that is giving the error is "from pip._vendor.six import iteritems". 
> Note that the same is not raising an error if executed from any other 
> directory but when executing from "/src/sage/misc/" it raises the following 
> error
> ImportError: cannot import name 'iteritems' from 'six' 
> (/home/sidd/Projects/gsoc/sage/src/sage/misc/six.py)
>
> This line is executed in the "/src/sage/misc/package.py -> 
> pip_installed_packages" when this line of code is executed
>
> proc = subprocess.Popen(
>             [sys.executable, "-m", "pip", "list", "--no-index", "--format", 
> "json"],
>             stdout=subprocess.PIPE,
>             stderr=devnull,
>         )
>
>
> While it does not raise any error during make, the stderr contains the 
> traceback. The stdout is then just an empty string which raises error when 
> parsing it as a json dict. Is there any fix for this?
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/e062fb58-6c66-41e2-88bb-b19bd6be9eb2%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq23b%2B_oqeF2XOV-bRfnVRdPbwowX3fPcdC5_%2B16Vh-gTQ%40mail.gmail.com.

Reply via email to