anand@euler:~$ pip install coolprop
Collecting coolprop
Downloading CoolProp-6.0.0.tar.gz (6.6MB)
100% |████████████████████████████████| 6.6MB 182kB/s
Building wheels for collected packages: coolprop
Running setup.py bdist_wheel for coolprop ... done
Stored in directory: /home/anand/.cache/pip/wheels/ab/cf/14/f69d19adcc31183f2ce7b16d2d651c6f025a74906fc133b889
Successfully built coolprop
Installing collected packages: coolprop
Successfully installed coolprop-6.0.0
anand@euler:~$ python
Python 3.6.0 |Anaconda 4.3.0 (64-bit)| (default, Dec 23 2016, 12:22:00)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import CoolProp
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/anand/anaconda3/lib/python3.6/site-packages/CoolProp/__init__.py", line 16, in <module>
from .CoolProp import AbstractState
ImportError: /home/anand/anaconda3/lib/python3.6/site-packages/CoolProp/CoolProp.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE
anand@euler:~$ python -m pip install coolpropMy default python is python3 from anaconda(If I am not wrong), I also have python2 which came with the debian system.
Requirement already satisfied: coolprop in ./anaconda3/lib/python3.6/site-packages
anand@euler:~$ pip -V
pip 9.0.1 from /home/anand/anaconda3/lib/python3.6/site-packages (python 3.6)
--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-users+unsubscribe@googlegroups.com.
To post to this group, send email to coolprop-users@googlegroups.com.
Visit this group at https://groups.google.com/group/coolprop-users.
For more options, visit https://groups.google.com/d/optout.
anand@euler:~/git/CoolProp/wrappers/Python$ sudo /home/anand/anaconda3/bin/python setup.py install
.
.
.
Installed /home/anand/anaconda3/lib/python3.6/site-packages/CoolProp-6.1.1.dev0-py3.6-linux-x86_64.egg
Processing dependencies for CoolProp==6.1.1.dev0
Finished processing dependencies for CoolProp==6.1.1.dev0
files removed.
anand@euler:~/git/CoolProp/wrappers/Python$ python
Python 3.6.0 |Anaconda 4.3.0 (64-bit)| (default, Dec 23 2016, 12:22:00)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import CoolProp
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/anand/git/CoolProp/wrappers/Python/CoolProp/__init__.py", line 5, in <module>
from . import constants
File "/home/anand/git/CoolProp/wrappers/Python/CoolProp/constants.py", line 5, in <module>
from . import _constants
ImportError: cannot import name '_constants'
>>> exit()
anand@euler:~/git/CoolProp/wrappers/Python$ cd
anand@euler:~$ python
Python 3.6.0 |Anaconda 4.3.0 (64-bit)| (default, Dec 23 2016, 12:22:00)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import CoolProp
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/anand/anaconda3/lib/python3.6/site-packages/CoolProp-6.1.1.dev0-py3.6-linux-x86_64.egg/CoolProp/__init__.py", line 5, in <module>
from . import constants
File "/home/anand/anaconda3/lib/python3.6/site-packages/CoolProp-6.1.1.dev0-py3.6-linux-x86_64.egg/CoolProp/constants.py", line 5, in <module>
from . import _constants
ImportError: /home/anand/anaconda3/lib/python3.6/site-packages/CoolProp-6.1.1.dev0-py3.6-linux-x86_64.egg/CoolProp/_constants.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZdlPvm
>>> exit()
We don't have working manylinux wheels for python 3.6. Can you use python 3.5? Or force coolprop==6.1,which will do a build from source. Those options should work I think. We need to get the 3.6 manylinux wheels working. You could also check out the sources and do a python setup.py install from wrappers/PythonIan
On Wed, Mar 1, 2017 at 8:40 AM, Anand Takawale <anand.t...@gmail.com> wrote:
Thank you Matthis for you reply, here is what I getanand@euler:~$ python -m pip install coolpropMy default python is python3 from anaconda(If I am not wrong), I also have python2 which came with the debian system.
Requirement already satisfied: coolprop in ./anaconda3/lib/python3.6/site-packages
anand@euler:~$ pip -V
pip 9.0.1 from /home/anand/anaconda3/lib/python3.6/site-packages (python 3.6)
On Wednesday, March 1, 2017 at 3:47:57 PM UTC+1, Matthis Thorade wrote:Do you also have system python installed?
Is the error anything different if you use
python -m pip install coolprop
instead?
https://docs.python.org/3/installing/#work-with-multiple-versions-of-python-installed-in-parallel
--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-user...@googlegroups.com.
To post to this group, send email to coolpro...@googlegroups.com.
ImportError:
/home/anand/anaconda3/lib/python3.6/site-packages/CoolProp-6.1.1.dev0-py3.6-linux-x86_64.egg/CoolProp/_constants.cpython-36m-x86_64-linux-gnu.so:
undefined symbol: _ZdlPvmTo post to this group, send email to coolpr...@googlegroups.com.
apt-get install cmake git g++ p7zip libpython-dev
pip install six Cython
cd ~/anaconda3/
git clone https://github.com/CoolProp/CoolProp --recursive
cd CoolProp/wrappers/pythonpython setup.py install --user
:
import sysprint(sys.version)
Output:3.6.0 |Anaconda custom (64-bit)| (default, Dec 23 2016, 12:22:00)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]
import CoolProp
print(CoolProp.__version__)
6.1.1devTo unsubscribe from this group and stop receiving emails from it, send an email to coolprop-users+unsubscribe@googlegroups.com.
To post to this group, send email to coolprop-users@googlegroups.com.