Hey Tom! We installed compas last Friday. Now we tried to reinstall numpy and scipy as you recommended:
(base) C:\Windows\system32>conda remove numpy scipy
Collecting package metadata: done
Solving environment: done
Package Plan
environment location: C:\Users\gabri\Anaconda3
removed specs:
- numpy
- scipy
The following packages will be downloaded:
package | build
---------------------------|-----------------
ca-certificates-2019.3.9 | hecc5488_0 184 KB conda-forge
certifi-2019.3.9 | py37_0 149 KB conda-forge
openssl-1.1.1b | hfa6e2cd_1 4.7 MB conda-forge
------------------------------------------------------------
Total: 5.1 MB
The following packages will be REMOVED:
anaconda-2018.12-py37_0
astropy-3.1-py37he774522_0
bkcharts-0.2-py37_0
blaze-0.11.3-py37_0
bokeh-1.0.2-py37_0
bottleneck-1.2.1-py37h452e1ab_1
compas-0.5.0-py37_0
dask-1.0.0-py37_0
datashape-0.5.4-py37_1
h5py-2.8.0-py37h3bdd7fb_2
imageio-2.4.1-py37_0
matplotlib-3.0.2-py37hc8f65d3_0
numba-0.41.0-py37hf9181ef_0
numexpr-2.6.8-py37hdce8814_0
numpy-1.15.4-py37h19fb1c0_0
odo-0.5.1-py37_0
pandas-0.23.4-py37h830ac7b_0
patsy-0.5.1-py37_0
pytables-3.4.4-py37he6f6034_0
pytest-arraydiff-0.3-py37h39e3cac_0
pytest-astropy-0.5.0-py37_0
pytest-doctestplus-0.2.0-py37_0
pywavelets-1.0.1-py37h8c2d366_0
scikit-image-0.14.1-py37ha925a31_0
scikit-learn-0.20.1-py37h343c172_0
scipy-1.1.0-py37h29ff71c_2
seaborn-0.9.0-py37_0
statsmodels-0.9.0-py37h452e1ab_0
The following packages will be UPDATED:
ca-certificates pkgs/main::ca-certificates-2018.03.07~ → conda-forge::ca-certificates-2019.3.9-hecc5488_0
certifi pkgs/main::certifi-2018.11.29-py37_0 → conda-forge::certifi-2019.3.9-py37_0
openssl pkgs/main::openssl-1.1.1a-he774522_0 → conda-forge::openssl-1.1.1b-hfa6e2cd_1
Proceed ([y]/n)? y
Downloading and Extracting Packages
ca-certificates-2019 | 184 KB | ############################################################################ | 100%
certifi-2019.3.9 | 149 KB | ############################################################################ | 100%
openssl-1.1.1b | 4.7 MB | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(base) C:\Windows\system32>conda install numpy=1.16 scipy=1.2
Collecting package metadata: done
Solving environment: done
Package Plan
environment location: C:\Users\gabri\Anaconda3
added / updated specs:
- numpy=1.16
- scipy=1.2
The following packages will be downloaded:
package | build
---------------------------|-----------------
numpy-1.16.2 | py37h19fb1c0_0 49 KB
numpy-base-1.16.2 | py37hc3f5095_0 4.1 MB
scipy-1.2.1 | py37h29ff71c_0 14.0 MB
------------------------------------------------------------
Total: 18.2 MB
The following NEW packages will be INSTALLED:
numpy pkgs/main/win-64::numpy-1.16.2-py37h19fb1c0_0
scipy pkgs/main/win-64::scipy-1.2.1-py37h29ff71c_0
The following packages will be UPDATED:
numpy-base 1.15.4-py37hc3f5095_0 → 1.16.2-py37hc3f5095_0
Proceed ([y]/n)? y
Downloading and Extracting Packages
scipy-1.2.1 | 14.0 MB | ################################################################################################################################################# | 100%
numpy-1.16.2 | 49 KB | ################################################################################################################################################# | 100%
numpy-base-1.16.2 | 4.1 MB | ################################################################################################################################################# | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(base) C:\Windows\system32>conda install COMPAS
Collecting package metadata: done
Solving environment: done
Package Plan
environment location: C:\Users\gabri\Anaconda3
added / updated specs:
- compas
The following packages will be downloaded:
package | build
---------------------------|-----------------
compas-0.5.0 | py37_2 2.0 MB conda-forge
matplotlib-3.0.3 | py37_0 6 KB conda-forge
matplotlib-base-3.0.3 | py37h3e3dc42_0 6.5 MB conda-forge
------------------------------------------------------------
Total: 8.6 MB
The following NEW packages will be INSTALLED:
compas conda-forge/win-64::compas-0.5.0-py37_2
matplotlib conda-forge/win-64::matplotlib-3.0.3-py37_0
matplotlib-base conda-forge/win-64::matplotlib-base-3.0.3-py37h3e3dc42_0
numba pkgs/main/win-64::numba-0.41.0-py37hf9181ef_0
…
(base) C:\Windows\system32>python -m compas_rhino.install
Installing COMPAS packages to Rhino 6.0 IronPython lib:
compas OK
compas_rhino OK
compas_ghpython OK
compas_bootstrapper OK
Completed.
Afterwards I tried runnnng rhino6 again (example: https://compas-dev.github.io/main/api/generated/compas.utilities.XFunc.html#compas.utilities.XFunc)
and got the answer:
Message: Traceback (most recent call last):
File “”, line 51, in
File “C:\Users\gabri\Anaconda3\lib\importlib_init_.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1006, in _gcd_import
File “”, line 983, in _find_and_load
File “”, line 967, in _find_and_load_unlocked
File “”, line 677, in load_unlocked
File “”, line 728, in exec_module
File “”, line 219, in call_with_frames_removed
File "C:\Users\gabri\Anaconda3\lib\site-packages\compas\numerical_init.py", line 109, in
from .linalg import *
File “C:\Users\gabri\Anaconda3\lib\site-packages\compas\numerical\linalg.py”, line 36, in
compas.raise_if_not_ironpython()
File “C:\Users\gabri\Anaconda3\lib\site-packages\compas\numerical\linalg.py”, line 11, in
from numpy import array
File "C:\Users\gabri\Anaconda3\lib\site-packages\numpy_init.py", line 140, in
from . import _distributor_init
File “C:\Users\gabri\Anaconda3\lib\site-packages\numpy_distributor_init.py”, line 34, in
from . import _mklinit
ImportError: DLL load failed: The specified module could not be found.
Traceback:
line 410, in call, “C:\Users\gabri\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\compas\utilities\xfunc.py”
line 26, in , “C:\Users\gabri\Documents\master-thesis\Example_Xfunc_test.py”
also this from anaconda prompt:
(base) C:\Windows\system32>python
Python 3.7.1 (default, Dec 10 2018, 22:54:23) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type “help”, “copyright”, “credits” or “license” for more information.
import anaconda
Traceback (most recent call last):
File “”, line 1, in
ModuleNotFoundError: No module named ‘anaconda’
Is it something wrong with the Paths or do I have to reinstall anaconda packages?
Since it seems like from the log that it removed alot of packages…
Best, Gabriel