Hi Isuru,
I am on a Windows 10 with Python 2.7.12, Anaconda 4.3.9 (64-bit) and trying
to install symengine using:
conda install python-symengine -c symengine -c conda-forge
And I get the following error in the command prompt:
UnsatisfiableError: The following specifications were found to be in
conflict:
- python 2.7*
- python-symengine -> python 3.5*
Use "conda info <package>" to see the dependencies for each package.
Any ideas what the problem might be? As another data point, when trying pip
install symengine I get:
Collecting symengine
Using cached symengine-0.2.0.tar.gz
Building wheels for collected packages: symengine
Running setup.py bdist_wheel for symengine ... error
Complete output from command c:\users\miles\anaconda2\python.exe -u -c
"import
setuptools,
tokenize;__file__='c:\\users\\miles\\appdata\\local\\temp\\pip-build-1nl9hj\\symengine\\setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d c:\
users\miles\appdata\local\temp\tmp0qzblepip-wheel- --python-tag cp27:
running bdist_wheel
running build
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_C_COMPILER could be found.
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_CXX_COMPILER could be found.
-- Configuring incomplete, errors occurred!
See also
"C:/Users/miles/AppData/Local/Temp/pip-build-1nl9hj/symengine/CMakeFiles/CMakeOutput.log"
.
See also
"C:/Users/miles/AppData/Local/Temp/pip-build-1nl9hj/symengine/CMakeFiles/CMakeError.log"
.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"c:\users\miles\appdata\local\temp\pip-build-1nl9hj\symengine\setup.py",
line 202, in <module>
'Programming Language :: Python :: 3.5',
File "c:\users\miles\anaconda2\lib\distutils\core.py", line 151, in
setup
dist.run_commands()
File "c:\users\miles\anaconda2\lib\distutils\dist.py", line 953, in
run_commands
self.run_command(cmd)
File "c:\users\miles\anaconda2\lib\distutils\dist.py", line 972, in
run_command
cmd_obj.run()
File "c:\users\miles\anaconda2\lib\site-packages\wheel\bdist_wheel.py",
line 179, in run
self.run_command('build')
File "c:\users\miles\anaconda2\lib\distutils\cmd.py", line 326, in
run_command
self.distribution.run_command(command)
File "c:\users\miles\anaconda2\lib\distutils\dist.py", line 972, in
run_command
cmd_obj.run()
File
"c:\users\miles\appdata\local\temp\pip-build-1nl9hj\symengine\setup.py",
line 110, in run
self.cmake_build()
File
"c:\users\miles\appdata\local\temp\pip-build-1nl9hj\symengine\setup.py",
line 87, in cmake_build
raise EnvironmentError("error calling cmake")
EnvironmentError: error calling cmake
----------------------------------------
Failed building wheel for symengine
Running setup.py clean for symengine
Failed to build symengine
Installing collected packages: symengine
Running setup.py install for symengine ... error
Complete output from command c:\users\miles\anaconda2\python.exe -u -c
"import
setuptools,
tokenize;__file__='c:\\users\\miles\\appdata\\local\\temp\\pip-build-1nl9hj\\symengine\\setup.py';f=getattr(tokenize,
'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record c:\
users\miles\appdata\local\temp\pip-ptswk6-record\install-record.txt --single
-version-externally-managed --compile:
running install
running build
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_C_COMPILER could be found.
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_CXX_COMPILER could be found.
-- Configuring incomplete, errors occurred!
See also
"C:/Users/miles/AppData/Local/Temp/pip-build-1nl9hj/symengine/CMakeFiles/CMakeOutput.log"
.
See also
"C:/Users/miles/AppData/Local/Temp/pip-build-1nl9hj/symengine/CMakeFiles/CMakeError.log"
.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"c:\users\miles\appdata\local\temp\pip-build-1nl9hj\symengine\setup.py",
line 202, in <module>
'Programming Language :: Python :: 3.5',
File "c:\users\miles\anaconda2\lib\distutils\core.py", line 151, in
setup
dist.run_commands()
File "c:\users\miles\anaconda2\lib\distutils\dist.py", line 953, in
run_commands
self.run_command(cmd)
File "c:\users\miles\anaconda2\lib\distutils\dist.py", line 972, in
run_command
cmd_obj.run()
File
"c:\users\miles\appdata\local\temp\pip-build-1nl9hj\symengine\setup.py",
line 171, in run
_install.run(self)
File
"c:\users\miles\anaconda2\lib\site-packages\setuptools-27.2.0-py2.7.egg\setuptools\command\install.py"
, line 61, in run
File "c:\users\miles\anaconda2\lib\distutils\command\install.py",
line 563, in run
self.run_command('build')
File "c:\users\miles\anaconda2\lib\distutils\cmd.py", line 326, in
run_command
self.distribution.run_command(command)
File "c:\users\miles\anaconda2\lib\distutils\dist.py", line 972, in
run_command
cmd_obj.run()
File
"c:\users\miles\appdata\local\temp\pip-build-1nl9hj\symengine\setup.py",
line 110, in run
self.cmake_build()
File
"c:\users\miles\appdata\local\temp\pip-build-1nl9hj\symengine\setup.py",
line 87, in cmake_build
raise EnvironmentError("error calling cmake")
EnvironmentError: error calling cmake
----------------------------------------
Command "c:\users\miles\anaconda2\python.exe -u -c "import setuptools,
tokenize;__file__=
'c:\\users\\miles\\appdata\\local\\temp\\pip-build-1nl9hj\\symengine\\setup.py'
;f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n',
'\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
c:\users\miles\appdata\local\temp\pip-ptswk6-record\install-record.txt
--single-version-externally-managed --compile" failed with error code 1 in c
:\users\miles\appdata\local\temp\pip-build-1nl9hj\symengine\
Thanks for any help on this. I did make sure CMake is installed, so I'm not
sure what the CMake errors are all about.
Miles
On Tuesday, September 27, 2016 at 10:49:55 PM UTC-6, Isuru Fernando wrote:
>
> symengine.py v0.2.0 has been released. You can try it out by doing
>
> conda install python-symengine -c symengine -c conda-forge
>
> or if you are on ubuntu 14.04 or 15.10 or 16.04
>
> add-apt-repository ppa:symengine/ppa
> apt-get update
> apt-get install python-symengine # or python3-symengine if using python3
>
> You can also install via pip if you have libsymengine and other
> dependencies installed. See README.md
> <https://github.com/symengine/symengine.py/blob/master/README.md> for
> more info.
>
> This version has a sympy compatibility layer you can import by doing
>
> from symengine.sympy_compat import *
>
> We also have an experimental setup for using symengine within sympy. By
> setting env var USE_SYMENGINE=1, sympy.physics.mechanics will switch to
> using symengine as the backend instead of sympy once PR#11002
> <https://github.com/sympy/sympy/pull/11002> is merged in. We hope to get
> more submodules to optionally use symengine.
>
> Please let us know if you run into any trouble installing or using
> symengine.
>
>
> Regards,
>
> Isuru Fernando
>
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/33ff7b68-d962-4056-b5f0-eb2613b85b6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.