I am using VS Code and Python 3.12.2 in a virtual environment. I followed the steps listed here to install the module:
pip install avalanche-lib or pip install git+https://github.com/ContinualAI/avalanche.git
After installing the library, when it comes to import the module on my simple python code:
import avalanche
print(avalanche.__version__)
It shows me this error: ModuleNotFoundError: No module named 'avalanche'
But somehow, when I import the avalanche module on a notebook, it's working without error. Can someone help me find a solution to this error on my python file please ?
Here is the organization of my virtual environment:
.venv
|── Include
|── Lib
|──|── site-packages
|──|──|── ...
|──|──|── avalanche
|──|──|── avalanche_lib-0.5.0.dist-info
|──|──|── ...
|── Scripts
|── share
mmh this is likely not connected to our library. Can you try to import avalanche in a python session with the same virtual env?
Have you tried to install it in a fresh conda env?
I am using VS Code and Python 3.12.2 in a virtual environment. I followed the steps listed here to install the module:
pip install avalanche-lib
orpip install git+https://github.com/ContinualAI/avalanche.git
After installing the library, when it comes to import the module on my simple python code:
It shows me this error:
ModuleNotFoundError: No module named 'avalanche'
But somehow, when I import the avalanche module on a notebook, it's working without error. Can someone help me find a solution to this error on my python file please ?
Here is the organization of my virtual environment: .venv |── Include |── Lib |──|── site-packages |──|──|── ... |──|──|── avalanche |──|──|── avalanche_lib-0.5.0.dist-info |──|──|── ... |── Scripts |── share