# Not able to run sweeps in Pycharm

**URL:** <https://community.wandb.ai/t/not-able-to-run-sweeps-in-pycharm/8244>\
**Category:** W&B Help\
**Tags:** sweeps\
**Created:** [October 25, 2024, 6:41pm UTC](https://community.wandb.ai/t/not-able-to-run-sweeps-in-pycharm/8244 "2024-10-25T18:41:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tvmsandy](https://avatars.discourse-cdn.com/v4/letter/t/65b543/32.png) [@tvmsandy](https://community.wandb.ai/u/tvmsandy)\
**Post date:** [October 25, 2024, 6:41pm UTC](https://community.wandb.ai/t/not-able-to-run-sweeps-in-pycharm/8244/1 "2024-10-25T18:41:07Z")

</div>

I ran into error while running sweep in Pycharm. The error messages just don’t make sense, like sklearn modulenotfound error. When I changed the code to a minimal one to just log a variable, the error is like wandb has no attribute init etc. I am using .yaml file to create sweep.

The code works locally.

It’s all very frustrating. Just wanted to know if sweep work with pycharm?
