[Installation] installing hnn-core inside a virtual environment #1042
Replies: 3 comments
-
Hello Elif, Thanks again for coming to our workshop! I am going to try to recreate your issue today, but first, since you didn't use Anaconda, but you have a newer mac (M4), how exactly did you install Python? (e.g. *homebrew, an installer from the Python website, etc.)? I believe I have the same laptop as you so I'm confident I will be able to help you solve your issue. |
Beta Was this translation helpful? Give feedback.
-
I will add that the |
Beta Was this translation helpful? Give feedback.
-
Unfortunately I cannot reproduce the error. I have a low-confidence suspicion that the problem may lie with your Python install or paths, not HNN itself. I tried the following:
I don't think I can debug this any further without looking at more information from your system. If we reach an impasse, then I am happy to have a Zoom with you next week where we can try to investigate the issue: feel free to contact me at my email (in my Github user profile) if you want to do this. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem to us.
Hello,
I am trying to install/run hnn-core by following the installation steps without conda.
I created an virtual environment (as usual), I verified that Xcode is installed. I activated the venv, and typed $ pip install "hnn_core[gui,parallel]". I didn't get any error messages during the installation. However, when I run hnn-gui command in the terminal, it doesn't start a new tab in my browser and it gives "can't open DISPLAY" as an error. I also tried $ import hnn_core (or any other packages installed with hnn_core), but got only "can't open DISPLAY"
I tried to follow the basic installation after following the same steps above. But $ python -c "import hnn_core" still fails.
Did anybody come across to such an error while installing hnn without conda? I run on Python 3.9.6 on Mac M4.
Thanks.
What steps did you follow to install?
-> create an virtual env
-> activate the virtual env
-> $ pip install "hnn_core[gui]" (or $ pip install hnn_core)
Error message
can't open DISPLAY
OS
Mac
Beta Was this translation helpful? Give feedback.
All reactions