danielkoll / PyRADS-shortwave

A line-by-line radiation code for planetary atmospheres. Now with shortwave radiative transfer.
MIT License
8 stars 4 forks source link

Help! Python 3.10 #3

Open masayoshi-kiguchi opened 1 year ago

masayoshi-kiguchi commented 1 year ago

Github and python and numpy are totally new to me. I tried to setup PyRADS-shortwave-master on Linux abhidharmakosa 5.15.80-gentoo-x86_64 #1 SMP Tue Dec 6 21:02:05 JST 2022 x\ 86_64 Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz GenuineIntel GNU/Linux as follows:

`cd ~/WorkBench mkdir venv cd venv unzip -d .~/WorkBench/github-work/PyRADS-shortwave-master.zip find ~/WorkBench/venv/PyRADS-shortwave-master -name *.py -exec 2to3 -w '{}' \; cd ~/WorkBench virtualenv -p 3.10 venv . venv/bin/activate cd ~/WorkBench/venv pip install numpy cd PyRADS-shortwave-master/pyDISORT-master python setup.py install '

but it didn't work. I will attach the log file at that time.

created virtual environment CPython3.10.9.final.0-64 in 194ms creator CPython3Posix(dest=/home/kiguchi/WorkBench/venv, clear=False, no_vcs_\ ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundl\ e, via=copy, app_data_dir=/home/kiguchi/.local/share/virtualenv) added seed packages: pip==22.3.1, setuptools==65.6.3, wheel==0.38.4 activators BashActivator,CShellActivator,FishActivator,NushellActivator,Power\ ShellActivator,PythonActivator Collecting numpy Using cached numpy-1.23.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86\ _64.whl (17.1 MB) Installing collected packages: numpy Successfully installed numpy-1.23.5 WARN: Could not locate executable armflang Using gnu95 compiler Extension _disort.so is up to date [] running install running build running config_cc IINFO: unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc INFO: unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_py running install_lib creating /home/kiguchi/WorkBench/venv/lib/python3.10/site-packages/disort copying build/lib/disort/_disort.so -> /home/kiguchi/WorkBench/venv/lib/python3.10/site-packages/disort copying build/lib/disort/__version__.py -> /home/kiguchi/WorkBench/venv/lib/python3.10/site-packages/disort copying build/lib/disort/__init__.py -> /home/kiguchi/WorkBench/venv/lib/python3.10/site-packages/disort copying build/lib/disort/__init__.py.bak -> /home/kiguchi/WorkBench/venv/lib/python3.10/site-packages/disort byte-compiling /home/kiguchi/WorkBench/venv/lib/python3.10/site-packages/disort/__version__.py to __version__.cpython-310.pyc byte-compiling /home/kiguchi/WorkBench/venv/lib/python3.10/site-packages/disort/__init__.py to __init__.cpython-310.pyc running install_egg_info running egg_info running build_src INFO: build_src creating lib/disort.egg-info writing lib/disort.egg-info/PKG-INFO writing dependency_links to lib/disort.egg-info/dependency_links.txt writing top-level names to lib/disort.egg-info/top_level.txt writing manifest file 'lib/disort.egg-info/SOURCES.txt' reading manifest file 'lib/disort.egg-info/SOURCES.txt' writing manifest file 'lib/disort.egg-info/SOURCES.txt' Copying lib/disort.egg-info to /home/kiguchi/WorkBench/venv/lib/python3.10/site-packages/disort-0.0.1-py3.10.egg-info running install_scripts running install_clib INFO: customize UnixCCompiler

Please tell me how to customize UnixCCompiler.

[