Comments (16)
Glad to hear that. I am working on building a method to download and extract all ENDF data after installing OpenMC. Then, I will create a method that allows us to choose which ENDF library we would like to use from the terminal. You can check the develop branch.
from nukebox.
Hi @Sabyaro, I apologize for the inconvenience during the installation process. It appears that pymoab
is not compatible with the latest Cython v3. I'm considering creating a pull request to address this issue and fix it.
from nukebox.
Hi @Sabyaro, you can try now. I have downgraded Cython
to v0.29. Let me know if you encounter any other issues during the installation process.
from nukebox.
The previous problem has been solved. But again it shows some error message:
make[2]: *** [CMakeFiles/G4NDL.dir/build.make:98: Externals/G4NDL-4.7/src/G4NDL-stamp/G4NDL-download] Error 1
make[1]: *** [CMakeFiles/Makefile2:943: CMakeFiles/G4NDL.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
If you be able to solve this please help me in this regard.
from nukebox.
The Error 1
and Error 2
are generic indications that something went wrong during the build. To diagnose and solve the issue, we'll need more information about the context and the steps you've taken so far.
from nukebox.
It shows some errors like:
[1 bytes data]
[16320 bytes data]
TLSv1.2 (IN), TLS header, Supplemental data (23):
[5 bytes data]
[1 bytes data]
[16384 bytes data]
TLSv1.2 (IN), TLS header, Supplemental data (23):
[5 bytes data]
[1 bytes data]
[16320 bytes data]
TLSv1.2 (IN), TLS header, Supplemental data (23):
[5 bytes data]
[1 bytes data]
[16384 bytes data]
TLSv1.2 (IN), TLS header, Supplemental data (23):
[5 bytes data]
[1 bytes data]
[16320 bytes data]
TLSv1.2 (IN), TLS header, Supplemental data (23):
[5 bytes data]
[1 bytes data]
[16384 bytes data]
TLSv1.2 (IN), TLS header, Supplemental data (23):
[5 bytes data]
[1 bytes data]
[16320 bytes data]
TLSv1.2 (IN), TLS header, Supplemental data (23):
[5 bytes data]
[1 bytes data]
[16384 bytes data]
TLSv1.2 (IN), TLS header, Supplemental data (23):
[5 bytes data]
[1 bytes data]
[16320 bytes data]
TLSv1.2 (IN), TLS header, Supplemental data (23):
[5 bytes data]
[1 bytes data]
[16384 bytes data]
TLSv1.2 (IN), TLS header, Supplemental data (23):
[5 bytes data]
[1 bytes data]
[16320 bytes data]
I have followed the in installation script as you have mentioned in the script. I think the problem is creating while installation of geant4.
from nukebox.
It looks like the data you've provided is a sequence of TLS (Transport Layer Security) records. These are not errors. Can you provide me last 100 lines of the log. However, the log is difficult to read, not sure, but assuming you are using a custom terminal or font?
from nukebox.
sorry but it shows sequentially in this way. How can I get myself out from this problem?
Screencast from 26-8-23 11:02:03 পূর্বাহ্ণ +06.webm
I have no idea about TLS. I have tried several times running the code as you have given in the script but failed.
from nukebox.
Can you provide me the error logs above the TLS log?
from nukebox.
I think you have a network issue. Try Install Geant4 data? (y/n): n.
you may need to download Geant4 data manually after installation from their website and extract them to your desired folder later.
from nukebox.
Yes sir Geant4 has installed correctly. but now it shows some problems like:
ERROR: Exception:
Traceback (most recent call last):
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher
yield
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 519, in read
data = self._fp.read(amt) if not fp_closed else b""
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 90, in read
data = self.__fp.read(amt)
File "/usr/lib/python3.10/http/client.py", line 466, in read
s = self.fp.read(amt)
File "/usr/lib/python3.10/socket.py", line 705, in readinto
return self._sock.recv_into(b)
File "/usr/lib/python3.10/ssl.py", line 1274, in recv_into
return self.read(nbytes, buffer)
File "/usr/lib/python3.10/ssl.py", line 1130, in read
return self._sslobj.read(len, buffer)
TimeoutError: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 165, in exc_logging_wrapper
status = run_func(*args)
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper
return func(self, options, args)
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 339, in run
requirement_set = resolver.resolve(
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 94, in resolve
result = self._result = resolver.resolve(
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 481, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 373, in resolve
failure_causes = self._attempt_to_pin_criterion(name)
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 213, in _attempt_to_pin_criterion
criteria = self._get_updated_criteria(candidate)
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 204, in _get_updated_criteria
self._add_to_criteria(criteria, requirement, parent=candidate)
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 172, in _add_to_criteria
if not criterion.candidates:
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_vendor/resolvelib/structs.py", line 151, in __bool__
return bool(self._sequence)
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__
return any(self)
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in <genexpr>
return (c for c in iterator if id(c) not in self._incompatible_ids)
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built
candidate = func()
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 215, in _make_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 288, in __init__
super().__init__(
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 158, in __init__
self.dist = self._prepare()
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 227, in _prepare
dist = self._prepare_distribution()
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 299, in _prepare_distribution
return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 487, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 532, in _prepare_linked_requirement
local_file = unpack_url(
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 214, in unpack_url
file = get_http_url(
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 94, in get_http_url
from_path, content_type = download(link, temp_dir.path)
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_internal/network/download.py", line 146, in __call__
for chunk in chunks:
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_internal/cli/progress_bars.py", line 304, in _rich_progress_bar
for chunk in iterable:
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_internal/network/utils.py", line 63, in response_chunks
for chunk in response.raw.stream(
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 576, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 512, in read
with self._error_catcher():
File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
self.gen.throw(typ, value, traceback)
File "/home/dresden/NuclearBoy/nuclear-boy/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 443, in _error_catcher
raise ReadTimeoutError(self._pool, None, "Read timed out.")
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
Is this happened due to network issue?
from nukebox.
Yes. Your network connection was lost.
from nukebox.
Ok thank you sir. I am trying it for another time
from nukebox.
To expedite, you can annotate the script with comments highlighting the packages already installed.
main() {
detect_os
detect_version_id
echo "Welcome to the Nuclear Boy installer!"
echo "This script will install the PyNE, OpenMC, DAGMC and Geant4 on your system."
echo
set_install_directory
set_env_name
#set_geant4_data_lib
#auto_install_geant4_data
get_sudo_password
#setup_dependencies
#setup_python_env
source $env_dir/bin/activate
set_ld_library_path
#install_moab
#install_geant4
install_dagmc
install_openmc
install_pyne
create_program_file
create_shortcut
echo "==============================================="
echo "Nuclear Boy installation finished"
echo "To activate Nuclear Boy in your terminal type:"
echo "source ${env_name}"
echo "Recommended packages can be installed through:"
echo "pip3 install -r packages.txt --default-timeout=0"
echo "================================================"
}
main
from nukebox.
ok sir. that's helpful for me. Thanks a lot sir
from nukebox.
Thank you, sir. I have successfully installed it.
from nukebox.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nukebox.