I am getting error modulenotfound:no module named ...
# community-support
b
I am getting error modulenotfound:no module named elementary-cli after install elementary data I used sudo pip install elementary-data
d
Hey @Balu Subramanian, Do you use some python virtual env ?
b
Yes
d
Can you make sure you installed elementary inside the virtualenv and that the code that throws the ModuleNotFound exception runs from this virtualenv ?
b
I tried the same Cloned elementary data from got Then vitualize the environment Start the installation
d
can you share the output of: 1.
which edr
2.
pip list
b
Hi Daniel, thanks for your support. Previously I haven't followed the tutorial. Later followed the tutorial and invoked dbt deps and got the error. Pls help me
External connection exception occurred: HTTPSConnectionPool(host='codeload.github.com', port=443): Max retries exceeded with url: /elementary-data/dbt-data-reliability/tar.gz/0.12.1 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)')))
p
If you are behind a proxy and on Windows, then you probably need to install python-certifi-win32 as suggested in the post
b
Yes I am in proxy but using docker Linux image
p
Ok, thats probably the root cause of the problem. I don’t know how you update the local certificate on the linux image to be compatible with you proxy
b
Thanks
p
Np :)
n
Hey @Balu Subramanian, previously these steps worked for some of the other users, maybe try using these: 1. run
pip install --upgrade certifi
2.
where python
3.
cd
to that path 4. on the python path do
sudo python install_certifi.py
b
Thanks I will check. Thanks