Hello.
I’m following the installation setup for SimpleFOCStudio on WIndows 10 and I believe the instructions are possibly out of date.
Basically I run though the instructions found in the link below and are unable to successfully run SimpleFOC Studio
Guide Link: https://docs.simplefoc.com/studio
I’ll include a step by step guide of what I’ve done.
-
Install of Anaconda3-2021.11
-
Open anaconda prompt
Type :conda create -n simplefoc python=3.6.0
Results in the following error:PackagesNotFoundError: The following packages are not available from current channels: - python=3.6.0
If you type Type :conda create -n simplefoc python=3.6
Python 3.6.13 will install. -
Steps 2 to 3 work fine but step 4 work has an issue.
pip install -r "requirements.txt"
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
spyder 5.1.5 requires pyqtwebengine<5.13, which is not installed.
spyder 5.1.5 requires pyqt5<5.13, but you have pyqt5 5.15.2 which is incompatible.
- Launch Error
Using the following command in the SimpleFOCStudio folder
conda activate simplefoc
then
python simpleFOCStudio.py
The program is unable to load. Here is the error message:
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "simpleFOCStudio.py", line 8, in <module>
from src.gui.mainWindow import UserInteractionMainWindow
File "C:\Users\xxx\Documents\SimpleFOCStudio\src\gui\mainWindow.py", line 6, in <module>
from src.gui.workAreaTabbedWidget import WorkAreaTabbedWidget
File "C:\Users\xxx\Documents\SimpleFOCStudio\src\gui\workAreaTabbedWidget.py", line 10, in <module>
from src.gui.configtool.minimalCodeDisplay import MinimalCodeDisplay
File "C:\Users\xxx\Documents\SimpleFOCStudio\src\gui\configtool\minimalCodeDisplay.py", line 241, in <module>
from git import Repo
File "C:\Users\xxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\git\__init__.py", line 89, in <module>
raise ImportError('Failed to initialize: {0}'.format(exc)) from exc
ImportError: Failed to initialize: Bad git executable.
The git executable must be specified in one of the following ways:
- be included in your $PATH
- be set via $GIT_PYTHON_GIT_EXECUTABLE
- explicitly set via git.refresh()
All git commands will error until this is rectified.
This initial warning can be silenced or aggravated in the future by setting the
$GIT_PYTHON_REFRESH environment variable. Use one of the following values:
- quiet|q|silence|s|none|n|0: for no warning or exception
- warn|w|warning|1: for a printed warning
- error|e|raise|r|2: for a raised exception
Example:
export GIT_PYTHON_REFRESH=quiet