Can not import pylinac

Hi,

I can not import pylinac, I have already installed it using Miniconda3 and I have Python 3.5 and Windows 10. I am pretty new to Python, so maybe I am doing something wrong. For more details, please see the attached screenshot.

Thank you!!!

Hi,

I am not exactly sure, since I don’t use Anaconda anymore, but I think you should not be working with the Anaconda Powershell Prompt. Instead try to find either a python or ipython shell. Winpython (which I use) also has both types of shell.
You could also open Spyder (which I think also comes with miniconda), and use the console there to import pylinac…

Python tutorials (or sites) I liked:
https://www.w3schools.com/python/
https://realpython.com/
https://automatetheboringstuff.com

with kind regards

Thomas

Hi Thomas,

I fixed the problem, I used Python version 3.5 which is incompatible with Pylinac, so I updated the Python version to 3.9 and it works.

Thank you very much for your suggestions!!

Στις Δευτέρα, 16 Αυγούστου 2021 στις 2:08:21 μ.μ. UTC+3, ο χρήστης tbe...@gmail.com έγραψε:

Screenshot (1222).png