Closed thomas-woehrle closed 3 weeks ago
In the schematic settings use the pre command option to activate your Python environment.
Thank you @qarlosalberto that worked, however I had to do source ~/.zshrc && pyenv activate teroshdl &&
, without the &&
at the end it didn't work, not sure if it is intended that the specified command is just inserted
Also another question: Looking back my bug was not really a bug but a question and I have another question regarding syntax checking which is not a bug but just a question as well.
Is there a better place to ask these things?
You can open other issue.
Describe the bug When one uses a python virtual environment to install the necessary dependencies, the schematic viewer does not work.
Code Creating pyenv virtualenv (assuming pyenv virtualenv plugin is installed):
Then referencing the corresponding binary in the extension settings, fe:
/Users/<username>/.pyenv/versions/3.12.7/envs/teroshdl/bin/python
Now, the dependency check goes through, but the schematic viewer throws this:
Please complete the following information:
Additional context I tried installing the dependencies in a global python binary and referencing that instead and it worked, so I assume that nothing else in my setup is broken.