DCC-Lab / PyTissueOptics

A very simple, fairly slow but very easy to understand and very easy to use Monte Carlo code for Tissue optics simulations.
MIT License
27 stars 5 forks source link

NameError import modules #106

Closed AndreiBer closed 1 year ago

AndreiBer commented 1 year ago

Describe the bug

NameError Traceback (most recent call last) Cell In[28], line 2 1 from pytissueoptics import * ----> 2 print(ScatteringMaterial)

NameError: name 'ScatteringMaterial' is not defined

Expected behavior Expected that module is imported

Desktop (please complete the following information): Python 3.8.3 Visual Studio Code 1.81.1

JLBegin commented 1 year ago

It seems you are using the previous release of the package (version 1.0.4). I recommend going through the new installation instructions to get latest development state (2.0.0b1), not the pip release.

AndreiBer commented 1 year ago

thanks! that was the issue.