Why doesn't hy recognize packages in /.venv? #2483
-
I am a newbie who has only known hylang for a few days. I use Rye as my package manager. I don't know if this is a user-specific problem with Rye or a .venv problem, but .venv is not being read by hy (see log below).
The Python Selenium Tutorial rewritten in Hylang does not work with the following error because the .venv is not loaded as logged.
What action should I take? I am very aware that this is not the place to troubleshoot Rye, so if you think there is a problem with Rye, I would appreciate it if you would tell me so. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hy is supposed to work with virtual environments; I use them all the time. So this could be a problem with Rye (which I don't know anything about), or a problematic interaction between Hy and Rye. It's also possible that you're running the wrong installation of Hy (i.e., not the one you installed in your virtual environment), which is a mistake I've made before. The message "Cannot read termcap database" suggests your environment is pretty screwed up. |
Beta Was this translation helpful? Give feedback.
Hy is supposed to work with virtual environments; I use them all the time. So this could be a problem with Rye (which I don't know anything about), or a problematic interaction between Hy and Rye. It's also possible that you're running the wrong installation of Hy (i.e., not the one you installed in your virtual environment), which is a mistake I've made before. The message "Cannot read termcap database" suggests your environment is pretty screwed up.