ModuleNotFoundError for 'prospect' After Running conda_install.sh on Linux Mint
Bvogel4 opened this issue · 2 comments
Issue: ModuleNotFoundError for 'prospect' after Installation
Description
After running the conda_install.sh
script to set up the environment and install prospector
along with its dependencies, attempting to run a Python script (prospect_test2.py
) results in a ModuleNotFoundError
. The error indicates that the prospect
module cannot be found, even though the installation process completes without apparent issues.
Steps to Reproduce
- Execute the
conda_install.sh
script in the terminal. - Try running a Python script that imports from
prospect
, for instance:from prospect.models.templates import TemplateLibrary, describe
- Encounter the error:
File "/home/blake/prospect_test2.py", line 1, in <module> from prospect.models.templates import TemplateLibrary, describe ModuleNotFoundError: No module named 'prospect'
Environment
- Operating System: Linux Mint 21.2
- Kernel: Linux 5.15.0-91-generic
- Python Version: 3.10.0
- Conda Version: 23.11.0
Additional Context
- Inspecting the installed packages with
pip list
does not showprospect
as an installed package. However, it lists an unknown package:UNKNOWN 1.2.1.dev48+g417adb6
Request
Any assistance in resolving this ModuleNotFoundError
would be greatly appreciated. It seems there might be an issue with how the prospector
package is installed or recognized by the environment. Insights or fixes for ensuring prospect
is correctly installed and accessible would be helpful.
Hi,
I can't reproduce this error. Are you making sure to activate the environment before calling your script? Can you post a log of the installation output? Thanks
Assuming this is resolved but please reopen if there is still a problem with installation.