"PIP is in the PYTHONPATH. Please change directory so it is not."

Viewed 58

I am working on Windows. I installed mypy and added it to external tools. When I launch the tool, I get this message:

C:\Users\MediaMonster\anaconda3\envs\APIP\Scripts\mypy.exe Downloads\bad_code.py
C:\Users\MediaMonster\anaconda3\envs\APIP is in the PYTHONPATH. Please change directory so it is not.

Process finished with exit code 1

Can you help me fix this problem?

I also enclosed the settings for the external tool.

ToolParameter

1 Answers

Your PYTHONPATH stores important file paths for your Python system.

For some reason, MyPy doesn't want APIP in the path. You need to figure out how to remove APIP from the path, typically through your Windows user settings or from the command line. Some potential tips.

Hope this helps. LMK

Related