Xilinx / logicnets

Apache License 2.0
83 stars 26 forks source link

oh-my-xilinx path import #56

Open gehaddahami opened 2 weeks ago

gehaddahami commented 2 weeks ago

Hello, I am Gehad Dahami. currently working in my master thesis and I am adapting LogicNets in the used methodology. I tried the manual installation and did everything as mentioned. However, when using the examples to regenerate the results, I get the error "The environment variable OHMYXILINX is not defined." I have even tried to permanently export the variable to path but the issue persists. Could you please guide me on what might be the reason for this or how can I solve this issue.

Thanks in advance. Gehad Dahami

nickfraser commented 7 hours ago

I have even tried to permanently export the variable to path but the issue persists.

What OS?

The only explanation I have for you, is that the environment variable has not been properly set. We simply check if os.environ contains the "OHMYXILINX" key. If it doesn't find it, it doesn't exist (at least from python's perspective).

I strongly recommend that you use the docker container, as I won't provide support to debug the assignment of environment variables.