Closed cameronbrown100 closed 1 year ago
Could you let me know what led up to this issue?
I managed to work around using Ubuntu in WSL doing the following:
Create new environment
Install packages individually
Run
conda install -c conda-forge --file requirements.txt
Run
python setup.py develop
Add the following to the start of scripts:
import os
os.environ['NUMPY_EXPERIMENTAL_DTYPE_API'] = '1'
This seems to work in Python from the terminal and Jupyter Notebook. However, the examples call
path_phys = '../data/compound_database.json'
which doesn't seem to be included in the repository.
Thanks for the update. I'm closing this issue as resolved for now. Updating the .bat file and uploading the compounds_database.json file shortly.
When installing on Windows executing InstallOnWindows.bat ends with the following error and the pharmapy environment isn't created.
[1/1] Cythonizing assimulo\solvers\euler.pyx C:\ProgramData\Anaconda3\lib\site-packages\Cython\Compiler\Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: C:\Users\\AppData\Local\Temp\easy_install-s9rd0icw\Assimulo-3.0\assimulo\solvers\euler.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
non-existing path in '': 'assimulo\thirdparty\hairer\dopri5.pyf'
non-existing path in '': 'assimulo\thirdparty\hairer\rodas_decsol.pyf'
non-existing path in '': 'assimulo\thirdparty\hairer\radau_decsol.pyf'
non-existing path in '': 'assimulo\thirdparty\hairer\radar5.pyf'
non-existing path in '': 'assimulo\thirdparty\odepack\odepack.pyf'
non-existing path in '': 'assimulo\thirdparty\odassl\odassl.pyf'
Could not find Blas or Lapack, disabling support for the solver GLIMDA.
target build\src.win-amd64-3.9\assimulo\thirdparty\hairer\dopri5module.c does not exist:
Assuming dopri5module.c was generated with "build_src --inplace" command.
error: Setup script exited with error: 'assimulo\thirdparty\hairer\dopri5module.c' missing
Done!