Skip to content

how to make rust-analyzer use the pipenv environment, and prefix its commands with env variable: LIBTORCH_USE_PYTORCH=1 #16978

Answered by lnicola
DeaDSouL asked this question in Q&A
Discussion options

You must be logged in to vote

You can start Code in pipenv shell or set rust-analyzer.server.extraEnv in the extension settings (example).

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@DeaDSouL
Comment options

@lnicola
Comment options

@DeaDSouL
Comment options

@lnicola
Comment options

Answer selected by DeaDSouL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants