ContinualAI / avalanche

Avalanche: an End-to-End Library for Continual Learning based on PyTorch.
http://avalanche.continualai.org
MIT License
1.71k stars 280 forks source link

Import "avalanche" could not be resolved Pylance #1635

Closed pris0 closed 2 weeks ago

pris0 commented 3 months ago

screen Hello, I have installaded avalanche (pip install avalanche-lib) in the virtual environment of my project. When I run the code from the terminal, it works without warnings (it stops because of a problem but that's another issue). In the "problems" section of vs code I get warnings for all imports regarding avalanche. In fact, I am not able to run the debugger on my project because of this. The venv is activated. I have already tried to re-install avalanche but I keep getting the same problem. I though it was related to vs code not finding imports from /src/ at first, so I moved everything in the root folder but to still doesn't work... Thank you in advance

AntonioCarta commented 2 weeks ago

Hi, unfortunately this is an issue with your environment or IDE, not with Avalanche.