Open shenki opened 4 years ago
I tried using pip to update setuptools in the conda env and it said:
Requirement already up-to-date: setuptools in /usr/lib/python3/dist-packages (41.2.0)
I worked around the issue by removing python3-setuptools from my system.
This is very weird...
Nothing in the build environment should be using the system environment.
Any chance you could reproduce in a docker container so we can figure out what is going on?
I couldn't reproduce inside a container.
docker run -it debian:testing /bin/bash
apt update && apt install git python3-setuptools wget make
adduser test
su test
cd ~
git clone https://github.com/timvideos/litex-buildenv
cd litex-buildenv
export CPU=vexriscv PLATFORM=arty TARGET=net
./scripts/download-env.sh
Perhaps there was something else in my environment that made it break.
Did you have some type of PYTHONPATH
?
I didn't have PYTHONPATH set, but I did have a copy of colorama in ~/.local. I assume this was there when I saw the failure.
...and a copy of easy_install in ~/.local/bin.
On Debian testing with litex-buildenv v0.0.4-592-gf2c790cc36d7. I am configured for CPU=vexriscv PLATFORM=arty TARGET=net and am running download-env.sh for the first time: