|
From: Louise M. <lou...@gm...> - 2024-08-27 17:46:13
|
Hi,
I just installed simuPOP on Windows 10 Pro 22H2 with Anaconda 3 using
conda install -c conda-forge simuPOP
and then I tried to run a script that contained the single command
import simuPOP
and I got the following error:
Traceback (most recent call last):
File
"C:\ProgramData\miniconda3\Lib\site-packages\simuPOP\simuPOP_std.py", line
18, in swig_import_helper
return importlib.import_module(mname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ProgramData\miniconda3\Lib\importlib\__init__.py", line 90, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1324, in
_find_and_load_unlocked
ModuleNotFoundError: No module named 'simuPOP._simuPOP_std'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LFM\Dropbox\Clustering\St_Andrews\simupop_import.py", line
1, in <module>
import simuPOP as sim
File "C:\ProgramData\miniconda3\Lib\site-packages\simuPOP\__init__.py",
line 323, in <module>
from simuPOP.simuPOP_std import *
File
"C:\ProgramData\miniconda3\Lib\site-packages\simuPOP\simuPOP_std.py", line
21, in <module>
_simuPOP_std = swig_import_helper()
^^^^^^^^^^^^^^^^^^^^
File
"C:\ProgramData\miniconda3\Lib\site-packages\simuPOP\simuPOP_std.py", line
20, in swig_import_helper
return importlib.import_module('_simuPOP_std')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ProgramData\miniconda3\Lib\importlib\__init__.py", line 90, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named '_simuPOP_std'
What can I do to fix this? Thanks very much.
Louise
|