question in the pyne installation

37 views
Skip to first unread message

xiaoh...@163.com

unread,
Dec 7, 2023, 7:29:50 AM12/7/23
to pyne...@googlegroups.com
Hello,
I am trying to install PYNE in WSL2. But I am running into some issues as follows:

[ 11%] Building CXX object src/CMakeFiles/pyne.dir/atomic_data.cpp.o
[ 12%] Building CXX object src/CMakeFiles/pyne.dir/data.cpp.o
In file included from /mnt/c/Users/Administrator/anaconda3/Library/include/hdf5.h:22,
                 from /mnt/e/Calculation_soft/PYNE/pyne-0.7.6/src/data.h:20,
                 from /mnt/e/Calculation_soft/PYNE/pyne-0.7.6/src/data.cpp:3:
/mnt/c/Users/Administrator/anaconda3/Library/include/H5public.h:247:19: error: conflicting declaration ‘typedef long long int ssize_t’
  247 | typedef long long ssize_t;
      |                   ^~~~~~~
In file included from /usr/include/stdlib.h:394,
                 from /usr/include/c++/9/cstdlib:75,
                 from /usr/include/c++/9/ext/string_conversions.h:41,
                 from /usr/include/c++/9/bits/basic_string.h:6496,
                 from /usr/include/c++/9/string:55,
                 from /usr/include/c++/9/bits/locale_classes.h:40,
                 from /usr/include/c++/9/bits/ios_base.h:41,
                 from /usr/include/c++/9/ios:42,
                 from /usr/include/c++/9/ostream:38,
                 from /usr/include/c++/9/iostream:39,
                 from /mnt/e/Calculation_soft/PYNE/pyne-0.7.6/src/data.h:8,
                 from /mnt/e/Calculation_soft/PYNE/pyne-0.7.6/src/data.cpp:3:
/usr/include/x86_64-linux-gnu/sys/types.h:108:19: note: previous declaration as ‘typedef __ssize_t ssize_t’
  108 | typedef __ssize_t ssize_t;
      |                   ^~~~~~~
make[2]: *** [src/CMakeFiles/pyne.dir/build.make:86: src/CMakeFiles/pyne.dir/data.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:225: src/CMakeFiles/pyne.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

--------------------

If you are having issues building pyne, please report your problem to pyne...@googlegroups.com or look for help at http://pyne.io

--------------------
Traceback (most recent call last):
  File "setup.py", line 419, in <module>
    main()
  File "setup.py", line 403, in main
    main_safe(ns)
  File "setup.py", line 395, in main_safe
    main_body(ns)
  File "setup.py", line 378, in main_body
    rtn = subprocess.check_call(['make'] + ns.make_args, cwd=ns.build_dir)
  File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make']' returned non-zero exit status 2.

The installing method is refer to this paper as follows. The version of pyne is 0.7.7

Thanks for your help.

Best Wishes !

Xiaohe

xiaoh...@163.com

unread,
Dec 8, 2023, 11:52:37 PM12/8/23
to pyne...@googlegroups.com
Hello,
When I uninstall anaconda from windows, this problem is solved.

However, when I use "python setup.py install --user", anohter problem is occured.



So, how can this problem be solved?

Thanks for your help.

Best Wishes !

Xiaohe




-------- Forwarding messages --------
From: "xiaoh...@163.com" <xiaoh...@163.com>
Date: 2023-12-07 19:14:10
To: pyne...@googlegroups.com
Subject: question in the pyne installation

Ahnaf Tahmid

unread,
Dec 9, 2023, 4:26:26 AM12/9/23
to PyNE
Hi Xiaohe,

You may not have installed all the dependencies.

There is a related issue available on Github
Link: https://github.com/pyne/pyne/issues/1487


Tahmid

Paul Wilson

unread,
Dec 10, 2023, 8:12:02 PM12/10/23
to pyne...@googlegroups.com

Hello,

 

First, I have to say that we don’t officially support building PyNE on Windows with the version you are attempting.

 

That said, I’d definitely need to see more of your build process to better understand what’s happening.  I’d like to know the full command you are using to try to build PyNE and all the output up to this point of failure.

 

Thanks,

Paul

 

-- 
-- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ --
Paul P.H. Wilson (he/him/his)
Grainger Professor of Nuclear Engineering
Chair, Department of Nuclear Engineering & Engineering Physics
o: 608-263-0807, c: 608-469-9615
paul....@wisc.edu
153 Engineering Research Bldg
1500 Engineering Dr, Madison, WI 53706
Zoom Meeting Room: https://uwmadison.zoom.us/j/6082630807
Zoom Phone Access: +1-929-205-6099, Access code: 6082630807

Computational Nuclear Engineering Research Group

 

 

 

--

---
You received this message because you are subscribed to the Google Groups "PyNE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyne-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyne-dev/21344635.eb9.18c4729356d.Coremail.xiaoheyaya%40163.com.

Donkiss Zidane

unread,
Jun 3, 2024, 4:32:31 AMJun 3
to PyNE
We are a legitimate online psychedelics dispensary.
We ship Overnight Discreetly inside the United States, Europe, Canada and Australia.
Buy Psychedelic Drugs Online  For depression, anxiety, and post-traumatic stress disorder.
Magic Mushrooms, DMT, K2 Spice, LSD and more are available.
and much more.Visit Our Business Channel:https://t.me/trippyworld710


Buy Badder Online
https://t.me/trippyworld710/679?single
Buy Melts 2g Disposable Online 
https://t.me/trippyworld710/676
Candy For Sale 
https://t.me/trippyworld710/671
Buy Mad Labs 2g Disposables Online 
https://t.me/trippyworld710/649?single
Buy Mushrooms Online 
https://t.me/trippyworld710/648
Lsd Sheets For Sale Online 
https://t.me/trippyworld710/647
Buy Authentic Cake Wax Online 
https://t.me/trippyworld710/646
Buy DMT Powder Online 
https://t.me/trippyworld710/642
Buy Top Quality Moonrocks Online 
https://t.me/trippyworld710/642
Order Packwood x Runtz 1g Disposable 
https://t.me/trippyworld710/621?single
Buy Penis Envy Mushroom Online 
https://t.me/trippyworld710/617
Muha 2g Live Resin Disposables 
https://t.me/trippyworld710/595
Muha Meds Pre-Rolls For Sale 
https://t.me/trippyworld710/552?single
Buy Snow Ball Online 
https://t.me/trippyworld710/547
Muha Meds Carts For Sale 
https://t.me/trippyworld710/537
Buy DMT Cartridges Online 
https://t.me/trippyworld710/522
Ak47 For Sale 
https://t.me/trippyworld710/519?single
Cake 3g Disposable For Sale 
https://t.me/trippyworld710/519?single
Big Chief Cartridges 
https://t.me/trippyworld710/468?single
Packman 2g Disposable For Sale 
https://t.me/trippyworld710/453
Moonrocks For Sale 
https://t.me/trippyworld710/452
Buy Coke Online 
https://t.me/trippyworld710/448?single
Buy Hash Online 
https://t.me/trippyworld710/446
Buy Mushroom Chocolate bars Online 
https://t.me/trippyworld710/244
Buy Xanax Online 
https://t.me/trippyworld710/211
Mushroom Edibles For Sale 
https://t.me/trippyworld710/167
Clone Card For Sale Online 
https://t.me/trippyworld710/115
Acid Gel Tabs For Sale 
https://t.me/trippyworld710/58
https://t.me/trippyworld710/365?single
https://t.me/trippyworld710/363?single
https://t.me/trippyworld710/307
https://t.me/trippyworld710/306
https://t.me/trippyworld710/298
https://t.me/trippyworld710/241
https://t.me/trippyworld710/235?single
https://t.me/trippyworld710/231?single
https://t.me/trippyworld710/219?single
https://t.me/trippyworld710/215?single
https://t.me/trippyworld710/164
https://t.me/trippyworld710/98
https://t.me/trippyworld710/83?single
https://t.me/trippyworld710/63?single
https://t.me/trippyworld710/33
https://t.me/trippyworld710/30
https://t.me/trippyworld710/28
https://t.me/trippyworld710/6


Contact: (424)-250-0221
Telegram Usernames: @Jamesbrown71

Donkiss Zidane

unread,
Jun 3, 2024, 4:33:46 AMJun 3
to PyNE
Reply all
Reply to author
Forward
0 new messages