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

ModuleNotFoundError: No module named 'stellargraph' #2087

Open
Gurjotsingh2002 opened this issue May 1, 2023 · 3 comments
Open

ModuleNotFoundError: No module named 'stellargraph' #2087

Gurjotsingh2002 opened this issue May 1, 2023 · 3 comments
Labels
bug Something isn't working sg-library

Comments

@Gurjotsingh2002
Copy link

import json
import pandas as pd
import numpy as np
from sklearn import preprocessing, feature_extraction, model_selection
from sklearn.metrics import mean_absolute_error, mean_squared_error
from stellargraph.layer import GCN, LinkEmbedding
import stellargraph as sg
from stellargraph.mapper import HinSAGELinkGenerator
from stellargraph.layer import link_regression
from tensorflow.keras import Model, optimizers, losses, metrics
from sklearn.metrics import f1_score, roc_auc_score, average_precision_score, confusion_matrix
import multiprocessing
from stellargraph import datasets
from IPython.display import display, HTML
import matplotlib.pyplot as plt
from stellargraph.data import EdgeSplitter
%matplotlib inline

Ran above code but got error
ModuleNotFoundError: No module named 'stellargraph'

@Gurjotsingh2002 Gurjotsingh2002 added bug Something isn't working sg-library labels May 1, 2023
@Gurjotsingh2002
Copy link
Author

I have succesfully installed the stellargraph using the same code from last 1-1.5 months but this error is occuring from last day on same code that was working fine earlier

@XiaoXia10
Copy link

I am having a similar problem on CoLab. I was able to !pip install stellargraph before, but now get an error.

@NitinTeja27
Copy link

I found this to be helpful to run StellarGraph on Colab: #2084

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working sg-library
Projects
None yet
Development

No branches or pull requests

3 participants