Closed rameez707 closed 5 years ago
This issue comes when i was using Anaconda 2 and python 2.7 but if i use python 3.6 it return error No module named 'PySide' and i am unable to install pyside because its supported till python version 3.4
Python 2 will be deprecated soon, I do not recommend using it.
PPS GUI relies on PySide, but the package "pyplanscoring" no.
A workaround for it is create a anaconda environment with python 3.6 or greater.
and install pyside from conda-forge channel by:
conda install -c conda-forge numpy numba pandas xlsxwriter scipy matplotlib joblib pyside pillow quantities xlrd pyinstaller
Thanks, Victor
Using Anaconda3-4.3.1 and python 3.6.0
Still having issue on install pyside
Uninstall your current anaconda.
install: Miniconda
It is a minimal python installation without scientific packages.
create a new environment:
conda create -n py36 python=3.6
Activate the environment:
conda activate py36
Then run the command:
conda install -c conda-forge numpy numba pandas xlsxwriter scipy matplotlib joblib pyside pillow quantities xlrd pyinstaller
Still got same PySide Error
It is an anaconda/miniconda issue, It used to work before. As I said, PySide is only a hard dependency if you need to use the GUI.
pyplanscoring package does not need, it could be used as command-line/script usage as explained on the docs.
But you could install the dependencies manually from here (PySide and others from here):
Thanks a lot. I accomplished it by installing Miniconda3-4.3.31-Windows-x86_64
conda create -n py36 python=3.6.0
activate py36
conda install -c conda-forge pyside
conda install -c conda-forge numpy numba pandas xlsxwriter scipy joblib pyside quantities xlrd pyinstaller
conda install -c conda-forge pillow=3.4.2
conda install cudatoolkit
unable to install matplotlib=>2.0.0 from command line due to conflict so install it from pycharm project interpreter
Could you add provide more details?
Could you provide you full terminal output?
It seems to a relative import problem.
You may change this line for: pyplanscoring.gui.api.backend