stellargraph icon indicating copy to clipboard operation
stellargraph copied to clipboard

import error

Open GeorgeFinlay opened this issue 3 years ago • 2 comments

Describe the bug

Importing the folder results in the error: ImportError: cannot import name 'rng_integers' from 'scipy._lib._util' (/usr/local/lib/python3.7/dist-packages/scipy/_lib/_util.py)

To Reproduce

Steps to reproduce the behavior:

1 !pip install pingouin 2 import pingouin as pg

Observed behavior

ImportError: cannot import name 'rng_integers' from 'scipy._lib._util' (/usr/local/lib/python3.7/dist-packages/scipy/_lib/_util.py)

Expected behavior

No error, completed import

Environment

Operating system: ChromeOS with Colabatory

Python version: 3.7.2

Package versions: for example: stellargraph==0.8.3, tensorflow==2.0.0

The following Python code can automatically compute the data for this section (for example: run the code in a Jupyter notebook cell, or, on macOS, copy the code and run pbpaste | python - in a terminal):

import subprocess, platform, sys
pkgs = subprocess.Popen(["pip", "freeze"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT).communicate()[0].decode("utf-8")
print("Operating system: `{}`\nPython version:\n```\n{}\n```\nPackage versions:\n<details>\n\n```\n{}\n```\n\n</details>".format(platform.platform(), sys.version, pkgs))

GeorgeFinlay avatar Aug 15 '21 14:08 GeorgeFinlay

how to solve?

fancaizi-1 avatar Aug 19 '22 15:08 fancaizi-1

I Have the same problem, when I'm running my project on DGX server with Nvidia tensorflow container. If I reinstall scipy library, it doesn't solve the problem. any suggestions?

shaimove avatar Jan 10 '23 07:01 shaimove