I am a mechanical engineer and pretty new to Python, so I apologize if some of my questions are trivial. I followed the installation process for PDSim. I installed python and got the PDSim source code from Tortoisegit. However, I ran into some issues:
When I try to install PDSim in command prompt, I get:
Traceback (most recent call last):
File "C:\Users\dmamr\OneDrive\Desktop\Simulator\pdsim\setup.py", line 3, in <module>
import cython
ModuleNotFoundError: No module named 'cython'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\dmamr\OneDrive\Desktop\Simulator\pdsim\setup.py", line 5, in <module>
raise ImportError('Sorry the required package cython was not found')
ImportError: Sorry the required package cython was not found
Did I miss something and forgot to install this missing module ?
I chose the “Add Anaconda to the system PATH environmental variable” option when installing Miniconda, as this was my first installation. Now, when I enter "python" into command prompt, I get
Python 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Warning:
This Python interpreter is in a conda environment, but the environment has
not been activated. Libraries may fail to load. To activate this environment
please see https://conda.io/activation
I tried to run `....\Miniconda3\Scripts\activate base `in Anaconda prompt to activate the base environment, but I still get the same warning in the command prompt.
Any advice will be greatly appreciated. Thanks!
Hello,
I am a mechanical engineer and pretty new to Python, so I apologize if some of my questions are trivial. I followed the installation process for PDSim. I installed python and got the PDSim source code from Tortoisegit. However, I ran into some issues:
Did I miss something and forgot to install this missing module ?
Warning: This Python interpreter is in a conda environment, but the environment has not been activated. Libraries may fail to load. To activate this environment please see https://conda.io/activation