SCIInstitute / UncertainSCI

MIT License
8 stars 10 forks source link

setup file does not set the correct environment libraries #83

Closed jcollfont closed 2 years ago

jcollfont commented 3 years ago

I am having issues installing the UncertainSCI package in my environment and running the demo examples.

After following the installation instructions in the documentation the UncrertainSCI package does not get installed in the environment. To clarify, I ran the "pip install ." command without any errors being reported. Afterwards, I tried running a demo script and ipython throws error when trying to load the packages:

  3 from scipy import sparse as sprs
  4  ##

----> 5 from UncertainSCI.families import JacobiPolynomials, HermitePolynomials, LaguerrePolynomials 6 from UncertainSCI.families import DiscreteChebyshevPolynomials 7 from UncertainSCI.opolynd import TensorialPolynomials

ModuleNotFoundError: No module named 'UncertainSCI'

I tried to install the software on two computers (mac and ubuntu), bith with python 3.8 installed

Any idea what could be the issue?

Thanks for your help! Jaume

jcollfont commented 3 years ago

Issue solved.

The documentation is incorrect. The 'setup.py' file needs to be run from the root folder of the UncertainSCI tree. In the documentation it currently reads as it should be run from the UncertainSCI folder within the installation

jessdtate commented 2 years ago

96