pycharm 无法识别自己写的包

1. run->edit configurations->勾选add source roots to PYTHONPATH

pycharm无法识别自己写的包,或numpy等第三方包

2. 在自己的文件跟目录名上右键,选中mark directory as->sources Root

pycharm无法识别自己写的包,或numpy等第三方包

Pycharm 无法识别numpy等第三方包

run->edit configurations->environment variables->右边的+号,

新增一个CONDA_DLL_SEARCH_MODIFICATION_ENABLE = 1

pycharm无法识别自己写的包,或numpy等第三方包

相关文章:

  • 2022-01-11
  • 2022-01-18
  • 2022-01-08
  • 2022-12-23
  • 2021-08-16
  • 2022-12-23
  • 2021-09-11
猜你喜欢
  • 2021-07-01
  • 2021-08-31
  • 2021-07-23
  • 2021-11-11
  • 2022-12-23
  • 2021-07-24
相关资源
相似解决方案