Hello, I’m running a python code and it needed a module mcms_pp so I tried installing it, but it wasn’t installed. I also tried different versions of python but still the same error appeared. Any idea for help please?
Please copy and paste the text of messages as preformated text rather then screen shots.
How do you try to install that module?
is it documented where to get the module from?
C:\Users\TOSHIBA\Desktop\CYI\LAMMPS\Tensile\AffineStrain_1\Temp_150\1>python per_frame.py
Traceback (most recent call last):
File “per_frame.py”, line 7, in
import mcms_pp.gofr_module as gofr_module
ModuleNotFoundError: No module named ‘mcms_pp’
C:\Users\TOSHIBA\Desktop\CYI\LAMMPS\Tensile\AffineStrain_1\Temp_150\1>python -m pip install mcms_pp
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement mcms_pp (from versions: none)
ERROR: No matching distribution found for mcms_pp
(I tried installing it using pip install)
pip
looks on PyPI, but I couldn’t find any module named “mcms_pp”.
Some quick searches didn’t turn up anything concrete for this module. Sometimes the package name on PyPI doesn’t exactly match the module name, but I didn’t find any published source code or documentation mentioning this module.
What project are you trying to run when the error happens? If it is proprietary, you may need to contact whoever you got the code from as they may have forgotten to give you a dependency.
Another possibility is that this module is in a folder somewhere in the project you are trying to run, and depending on what directory you execute from the module can or can’t be located?
Who wrote that code?
What does that person or organization say, about how to get the package?
(If it is your own code: how did you decide, that such a package should exist in the first place? Where do you think it should come from, and who do you think should have created it?)
(If it is your own code and also your own package: then the problem is nothing to do with installation, and everything to do with understanding the way that Python looks for modules. We would need to see much more detail about your project.)