Hi Xin,

Morag explained it very well and has actually updated the readthedocs with
all the necessary information - just checked my notes. The readthedocs
section has actually been updated with the correct info, so my instructions
won't help.

I have been able to install without the wheel issue, but I guess try and
get the tooflow to work. I would be interested to hear whether you have any
success or not. That is why I wanted you to try: "pip install -r
requirements.txt" from your virtual environment, which must be python 3 if
you followed Morag's instructions. I wanted to see if that maybe worked,
but it is up to you. Try with the wheel issue and let us know.

Kind regards,

Adam Isaacson
South African Radio Astronomy Observatory (SARAO)
Hardware Manager
Cell: (+27) 825639602
Tel:  (+27) 215067300
email: [email protected]



On Fri, Mar 26, 2021 at 4:41 PM Xin Cui <[email protected]> wrote:

> Hi Adam,
>
>
>
> Thanks a lot for helping. As Morag has commented, I feel more confident to
> move to the next step on setting up the environment. But I am also
> interested to see your install instructions. Is it different from what I
> referred from the CASPER website, or is it an updated version?
>
>
>
> 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
>
> *********************************************
>
>
>
>
>
> *From: *Adam Isaacson <[email protected]>
> *Sent: *March 26, 2021 10:17 AM
> *To: *Casper Lists <[email protected]>
> *Subject: *Re: [casper] Failed to install `virtualenv`
>
>
>
> Hi Xin,
>
>
>
> You are in the python 3 virtual environment, I think. Once you are in the
> virtual environment then you just need to run "pip install -r
> requirements.txt". The pip will call pip3 by default. I am not sure what
> pip3 will do. If you are still struggling then I can send you the install
> instructions that I sent Kaj.
>
>
> Kind regards,
>
>
>
> Adam Isaacson
>
> South African Radio Astronomy Observatory (SARAO)
>
> Hardware Manager
>
> Cell: (+27) 825639602
>
> Tel:  (+27) 215067300
>
> email: [email protected]
>
>
>
>
>
> On Fri, Mar 26, 2021 at 4:03 PM Xin Cui <[email protected]> wrote:
>
> Hi Morag,
>
>
>
> Thanks a lot for your feedback. I can move forward after doing your
> suggested commands. But I got the following error message after running
> `pip3 install -r requirements.txt`:
>
>
>
> However, the last line mentioned that some packages installed
> successfully. Should I care about the error messages?
>
>
>
> From the instruction, it reads that if the python3 is installed in system
> environment, I need to run `pip3 install` as administrator. As I mentioned,
> I installed the python3 by using `sudo`, so I think the python3 should have
> been installed in the system, but not the virtual environment. So, should I
> install a python3 under virtual environment, or run `sudo pip3 install`?
>
> *From:* Morag Brown <[email protected]>
> *Sent:* March 26, 2021 2:05 AM
> *To:* [email protected] <[email protected]>
> *Subject:* Re: [casper] Failed to install `virtualenv`
>
>
>
> 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
> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAGH-0Teu4b3G6uumK2Gz8Mo3QxzPsToPnrc8MfDunXCQBqzeDg%40mail.gmail.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/YTXPR0101MB18544D8D0CAAF13673B60B4DCA619%40YTXPR0101MB1854.CANPRD01.PROD.OUTLOOK.COM
> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/YTXPR0101MB18544D8D0CAAF13673B60B4DCA619%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/CADTJ%3DnEMkX7iWDt6s5NHPJvoQbv9Av2XBRi9ibU7fmmhPEL6KQ%40mail.gmail.com
> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CADTJ%3DnEMkX7iWDt6s5NHPJvoQbv9Av2XBRi9ibU7fmmhPEL6KQ%40mail.gmail.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/YTXPR0101MB1854B33CDC8A59F598F6843FCA619%40YTXPR0101MB1854.CANPRD01.PROD.OUTLOOK.COM
> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/YTXPR0101MB1854B33CDC8A59F598F6843FCA619%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/CADTJ%3DnHLLJEouANj5JrXB9qZyJMjTWKfWj%3DYzJ_%2B6nrVGNxs3Q%40mail.gmail.com.

Reply via email to