Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https://github.com/nilmtk/nilmtk/blob/master/docs/manual/user_guide/install_user.md #975

Open
kobusburger opened this issue Feb 11, 2024 · 1 comment

Comments

@kobusburger
Copy link

kobusburger commented Feb 11, 2024

I am trying to install nilmtk following the installation instructions on https://github.com/nilmtk/nilmtk/blob/master/docs/manual/user_guide/install_user.md
Steps 1 to 4 went well but the testing in ipython gives the error: https://github.com/nilmtk/nilmtk/blob/master/docs/manual/user_guide/install_user.md
The ipython session is shown below.
What am I doing wrong?

(nilmtk-env) C:\Users\kobus.burger>conda list nilm_metadata
# packages in environment at C:\Users\kobus.burger\AppData\Local\anaconda3\envs\nilmtk-env:
#
# Name                    Version                   Build  Channel
nilm_metadata             0.2.4                         0    nilmtk

(nilmtk-env) C:\Users\kobus.burger>ipython
Python 3.8.18 | packaged by conda-forge | (default, Dec 23 2023, 17:17:17) [MSC v.1929 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.12.2 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import nilm_metadata
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[1], line 1
----> 1 import nilm_metadata

ModuleNotFoundError: No module named 'nilm_metadata'
@kobusburger
Copy link
Author

nilm_metadata is installed in "\anaconda3\envs\nilmtk-env\site-packages" which is wrong because this folder is not in sys.path. Copy the nilm_metadata folders to "\anaconda3\envs\nilmtk-env\Lib\site-packages"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant