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

Getting Error as :Module not Found while running import teradata in jyputer notebook #2569

Closed
mraduldhakad1 opened this issue Jun 11, 2017 · 3 comments
Milestone

Comments

@mraduldhakad1
Copy link

import teradata

ModuleNotFoundError Traceback (most recent call last)
in ()
----> 1 import teradata

ModuleNotFoundError: No module named 'teradata'


ModuleNotFoundError Traceback (most recent call last)
in ()
----> 1 import teradata

ModuleNotFoundError: No module named 'teradata'

could any one help me .

@takluyver
Copy link
Member

It sounds like you're trying an import in two different installations of Python, or two different environments. Check sys.executable to see which Python and environment you're running in, and sys.path to see where it looks to import modules.

Python packages must be installed separately for each copy of Python you use, and if you are using virtualenvs or conda envs, packages must be installed into each environment where you need them. Either the package is not installed in one, or a different version of the package is installed.

To install packages to a particular Python installation or environment using pip, you can run it like this:

path/to/python -m pip install ...
# Replace path/to/python with the path of the Python executable (sys.executable)

If you are using conda environments, you can install packages from conda like this:

source activate myenv  # On Windows, just 'activate myenv' (no 'source')
conda install ...

[ This is a saved reply because I answer similar questions often - sorry if it doesn't exactly fit your case ]

@yellokouakou
Copy link

Cool!

@jtpio
Copy link
Member

jtpio commented Jun 20, 2023

Closing as answered, thanks all!

@jtpio jtpio closed this as completed Jun 20, 2023
@jtpio jtpio added this to the Reference milestone Jun 20, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants