You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Since the installation of the firedrake project requires many steps, I thought about using a devcontainer on vscode to start making python scripts using firedrake. The problem is when I import the library on my script, I get Import "firedrake" could not be resolved..
Now, when I execute my script, I get warnings about Authorization required, but no authorization protocol specified but overall everything works. Also, when I import other packages than firedrake, e.g. numpy or torch, they work well with Pylance.
So my question is, is there any extra paths that my vscode should point to in order to make firedrake compatible with pylance in my devcontainer? If not have you ever encountered such a problem and solved it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Since the installation of the firedrake project requires many steps, I thought about using a devcontainer on vscode to start making python scripts using firedrake. The problem is when I import the library on my script, I get
Import "firedrake" could not be resolved..Now, when I execute my script, I get warnings about
Authorization required, but no authorization protocol specifiedbut overall everything works. Also, when I import other packages than firedrake, e.g. numpy or torch, they work well with Pylance.So my question is, is there any extra paths that my vscode should point to in order to make firedrake compatible with pylance in my devcontainer? If not have you ever encountered such a problem and solved it?
Many thanks.
For information, the docker image I am using comes from https://hub.docker.com/r/firedrakeproject/firedrake and I use the 2025.10.2 tag.
Beta Was this translation helpful? Give feedback.
All reactions