Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1) [Success!!!]

2021-02-03 Thread Adam Isaacson
Hi Kaj, Excellent! :). I am glad you are finally sorted and I was happy to assist where I could. Looking forward to that beer in better times ;). I suggest that you go on the CASPER slack group and ask there about ZCU111. There is a #RFSoC channel, which will provide you all the information on

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1) [Success!!!]

2021-02-03 Thread Kaj Wiik
Hi Adam, Infos, 0 Warnings, 0 Critical Warnings and 0 Errors encountered. write_cfgmem completed successfully INFO: [Common 17-206] Exiting Vivado at Wed Feb 3 13:27:22 2021... Created /home/kjwiik/mlib_devel/jasper_library/test_models/test_snap_adc/outputs/test_snap_adc_2021-02-03_1321.bof

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-02-03 Thread Adam Isaacson
Hi Kaj, Good news and bad news. The good news is that when I compile "test_snap.slx" then I get the same issue as you and yes, sysgen is not building properly for some reason - hence, the error. This means there is something not correct with the "test_snap.slx" file. The bad news is that I am not

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-02-03 Thread Adam Isaacson
Hi Kaj, Okay, at least you are synthesising now - well done! It looks like it can't find the sysgen entity in your top.v. This can happen if your system generator did not run correctly. Please can you do the following for me: 1) zip up your "test_snap" folder under "jasper_library/test_models"

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-02-02 Thread Adam Isaacson
Hi Kaj, Well, your virtualenv looks correct. The packages are the correct ones. I assume all is good with the virtualenv. I noticed the following on your side that you have this constructor error I was talking about - did you edit the castro.py file that I listed in my previous thread or are you

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-02-02 Thread Kaj Wiik
Hi all, An idea: what if you shipped a working python venv as tgz with the toolflow? Cheers, Kaj On 02/02/2021 18:33, Kaj Wiik wrote: Hi Adam, The screen capture of ../casper-venv/lib64/python3.5/site-packages is attached. When I opened the test_snap.slx, I got several "Warning: did not

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-02-01 Thread Adam Isaacson
Hi Kaj, Please can you go to your virtual environment directory: ../casper-venv/libpython3.5/site-packages and do a "ls -la". It will list all the packages installed. There should be colorlog, lxml, numpy, odict, pip, pkg_resources,pyaml,setuptools and yaml python packages. Please can you send me

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-01-30 Thread Adam Isaacson
Hi Guillermo, Thank you for the email. This is very useful information. I am glad the additional documentation helped. CASPER is looking at porting the current toolflow to Ubuntu 18.04LTS and it seems like you have already got that working - well done. Of course, we would need to compile all

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-01-29 Thread Guillermo Gancio
Hi CasperAmigos, I want to thank you for sharing all this information that is extremely helpful, I was having this problem for some time that I thought was due to my lack of experience, and it turns out that... it was due to my lack of experience but also for these configs... I did all the steps

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-01-29 Thread Adam Isaacson
Hi Casperites, Just some corrections from my previous email below - got the numpy version update incorrect: Okay, so it turns out that creating the virtual environment for python using "virtualen -p python3 " does not work. This is what you need to do in order to create a successful virtual

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-01-28 Thread Adam Isaacson
Hi Casperites, Okay, so it turns out that creating the virtual environment for python using "virtualen -p python3 " does not work. This is what you need to do in order to create a successful virtual environment and get your designs to build. I tested it on a brand new virtual environment and it

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-01-27 Thread Adam Isaacson
Hi David, Yes, it was a bit of a rabbit hole exercise, but we (between Kaj and Peralex) worked our way through it and now debugging other issues :). You raise a valid point. There is no reason we shouldn't port to Ubuntu 18.04LTS or higher. It makes sense with what Kaj and Peralex are

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-01-27 Thread David MacMahon
Wow, thanks for these truly awesome forensics, Adam! It sounds like you went down a rabbit hole and lived to tell the tale. I'm sure many of us will benefit from these details. Sorry if this is a FAQ, but what are the prospects for moving the tool flow beyond Ubuntu 16.04? That release is

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-01-27 Thread Adam Isaacson
Hi Kaj, I am including the CASPER community in this email thread as it applies to everyone. Interesting, so I have run into another person with the same virtualenv install issue that you encountered as shown in red below. I have been helping him debug too on a new machine and I am pleased to say

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-01-24 Thread Adam Isaacson
Hi Kaj, Are you running a python virtual environment using python 3.5? Once you start the virtual environment and type python you should see version 3.5.2 or something like that. It doesn't look like it. Here is some documentation that should be helpful - make sure you follow these steps: 1) How

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-01-24 Thread Jack Hickish
Hi Kaj, Your current issue is that the command: source ../mlib_devel/startsg.local Isn't quite what you need. What you want is (I think this should work from whatever location you're currently running the above command) source ../mlib_devel/startsg ../mlib_devel/startsg.local The .local file

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-01-24 Thread Kaj Wiik
Hi! A followup... I was able to start (but not run, see below...) the toolflow with the following modifications: - to run jasper_frontend, I had to install python-yaml. I tried first to add python3-yaml but it seems that the toolflow is mixing python2 and python3? - I added 'export

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-01-22 Thread Adam Isaacson
Hi Casperites, For those of you that want to join the CASPER slack group and haven't yet then here is a general invite - https://join.slack.com/t/casper-astro/shared_invite/zt-l6cfvyt2-ZRkrj2UZV_sX_iKO_Vr95A. It is valid for 31 days. Kind regards, Adam Isaacson South African Radio Astronomy

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-01-22 Thread Jonathon Kocz
Hi Kaj, I have invited you and Derek to the casper slack - please let me know if you run into any trouble. A couple of notes on the ZCU111: The ZCU111 branch on casper-astro is a bit out of date. Wei Liu recently completed yellow blocks for the ZCU111. These have not yet been merged into the

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-01-22 Thread Kaj Wiik
Hi! I tried a bit different route: I installed python3-numpy and python3-setuptools-git Ubuntu packages first and commented out numpy from requirements.txt. At least the installation went fine using these workarounds. About ZCU111 Slack channel, I am very interested (and my colleague

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-01-21 Thread Adam Isaacson
Hi Jack and Kaj, @Jack: well done for figuring it out. This isn't the first time that we have had this issue. I have seen similar things with using casperfpga. We tested on machines that had previous python installs and casperfpga worked fine. I then tried to install it on a completely clean

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-01-20 Thread Dan Werthimer
hi kaj, regarding your interest in ZCU111: there's a casper slack channel on RFSOC that you might find useful. wei liu recently developed a casper ADC yellow block for the ZCU111. best wishes, dan Dan Werthimer Marilyn and Watson Alberts Chair Astronomy Dept and Space Sciences Lab University

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-01-20 Thread Kaj Wiik
On 20/01/2021 18:49, Jack Hickish wrote: I've been using Ubuntu 18.04 LTS without issues, at least with the boards which use Vivado 2019. I'm not sureĀ  what versions of python the OS came with, but I'm currently running the toolflow in a python 3.6.9 virtual env. I first tried with

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-01-20 Thread Jack Hickish
Looking at the Numpy release notes, version 1.18.5 was the last to support Python 3.5. I think if you just change the requirements.txt file to read "numpy<1.19" that would solve this particular issue. 1.19 was only released mid 2020 so it's possible this issue wasn't noticed (either because 1.19

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-01-20 Thread Adam Isaacson
Hi Kaj, This is odd. I know that Ubuntu 16.04LTS, Matlab R2018a and Vivado 2019.1.1 with python 3 (3.5 is fine) should work fine. What repo versions are you using for the toolflow? Have you tried the following repos just to make sure they build? 1) https://github.com/casper-astro/mlib_devel

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-01-20 Thread Jack Hickish
Hi Kaj, I think there are a few options 1. Get python >=3.6 2. Find out which version of numpy is supported by python 3.5 and use that (it's crazy to me that pip doesn't just get the right version) 3. Use a later Ubuntu which may or may not Just Work. (At the very least, Ubuntu 18.04 seems to

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-01-20 Thread Kaj Wiik
Hi Jack, Thanks for a very quick reply! Python is the most recent one that is shipped with Ubuntu 16.04: kjwiik@casperx:~/mlib_devel$ python3 --version Python 3.5.2 This leads to two questions :-): - can a more recent Ubuntu version be used (with ZCU111)? or - should I try to install e.g.

Re: [casper] New setup installation problems (python setup.py egg_info" failed with error code 1)

2021-01-20 Thread Jack Hickish
Hi Kaj, What python version are you using? If that error is complaining that numpy is using f-string syntax then maybe it's a python<3.6 issue. Cheers Jack On Wed, 20 Jan 2021 at 15:45, Kaj Wiik wrote: > Hi! > > As per instructions, I installed an