Hi Xin, Using virtualenv no longer works - people smarter and more knowledgeable than I way know why.
As an alternative, you can use "*python3 -m venv*" to create a virtual environment. Sourcing the venv is the same (*source /path/to/venv/bin/activate*), and then install the requirements.txt file within the venv as per the rest of the instructions Will update the docs to reflect this new method when I get a chance. Sorry for the frustration! Morag On Fri, 26 Mar 2021, 04:03 Xin Cui, <[email protected]> wrote: > Hello, > > > > I am trying to set up working environment to run SNAP. According to the > instruction > <https://casper-toolflow.readthedocs.io/en/latest/src/Installing-the-Toolflow.html>, > I finished the installation of Matlab and Vivado on Ubuntu16.04. Now I am > trying to create Python3 virtual environment. I failed to install the virtual > environment by running `sudo pip3 install virtualenv`, I got the following > error message: > > > > > > There is only one command I ran differently from the instruction > <https://casper-toolflow.readthedocs.io/en/latest/src/Installing-the-Toolflow.html> > : > > `apt-get install python3 python3-pip` > > I used `sudo` when I ran this command. I am not sure if it matters. > > > > Do you have any suggestions to fix the problem? > > > > Thanks, > > ********************************************* > > Xin Cui > > Electronic Support Team > > Addr: McGill University, Department of Physics > > 3600 University Street > > Rutherford Physics Building > > Montreal Quebec > > H3A 2T8 > > Office: Room 228 > > Tel: (514) 398-7025 > > ********************************************* > > > > -- > You received this message because you are subscribed to the Google Groups " > [email protected]" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/YTXPR0101MB18545EF9E2BFD2601E04CF63CA619%40YTXPR0101MB1854.CANPRD01.PROD.OUTLOOK.COM > <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/YTXPR0101MB18545EF9E2BFD2601E04CF63CA619%40YTXPR0101MB1854.CANPRD01.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAGH-0Teu4b3G6uumK2Gz8Mo3QxzPsToPnrc8MfDunXCQBqzeDg%40mail.gmail.com.

