I am trying to configure the Pyre typechecker to work together with Anaconda. However, pyre is unable to find the packages that I have installed through conda. How can I modify the Pyre config to search in the appropriate anaconda directories?
Asked
Active
Viewed 66 times
1 Answers
0
This can be resolved by adding the path to your conda environment's "site-packages" folder (see Where is site-packages located in a Conda environment?) to your Pyre configuration file. The file should be in your project folder, named ".pyre_configuration". If it's not there, run pyre init
to generate it.
Add the following array:
"search_path": [
"/path/to/your/site-packages"
]