Comments (5)
Building topologicPy on Windows 10 used to work fine
Well, there hasn't been a fresh release for almost 2 months, so definitively nothing changed recently.
As-is, I can't make heads or tails from the error messages: on the one hand, the line numbers and specifics do NOT line up with the actual cppyy-cling code, so for sure, you're not running anything I released. :)
As for where it could then have come from, I note that upstream code (ROOT/meta) has made exactly the changes that would cause errors like the above, but that would not install under cppyy-backend and it would not show CppyyLegacy. Nevertheless, that somehow seems to be the most plausible explanation.
What I also don't understand is that the installation directory from cppyy-backend appears to be base and not python-versioned? Did you (try to) install in base?
What does conda info
show?
from cppyy.
C:\Users\wassi\topologicbim\topologicPy\cpython>conda activate Blender293
(Blender293) C:\Users\wassi\topologicbim\topologicPy\cpython>python setup.py install
running install
running bdist_egg
running egg_info
writing topologic.egg-info\PKG-INFO
writing dependency_links to topologic.egg-info\dependency_links.txt
writing requirements to topologic.egg-info\requires.txt
writing top-level names to topologic.egg-info\top_level.txt
reading manifest file 'topologic.egg-info\SOURCES.txt'
writing manifest file 'topologic.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
creating build\bdist.win-amd64\egg
creating build\bdist.win-amd64\egg\topologic
copying build\lib\topologic\__init__.py -> build\bdist.win-amd64\egg\topologic
byte-compiling build\bdist.win-amd64\egg\topologic\__init__.py to __init__.cpython-39.pyc
creating build\bdist.win-amd64\egg\EGG-INFO
copying topologic.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
copying topologic.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying topologic.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying topologic.egg-info\requires.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying topologic.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO
zip_safe flag not set; analyzing archive contents...
topologic.__pycache__.__init__.cpython-39: module references __file__
creating 'dist\topologic-0.5-py3.9.egg' and adding 'build\bdist.win-amd64\egg' to it
removing 'build\bdist.win-amd64\egg' (and everything under it)
Processing topologic-0.5-py3.9.egg
creating c:\users\wassi\anaconda3\envs\blender293\lib\site-packages\topologic-0.5-py3.9.egg
Extracting topologic-0.5-py3.9.egg to c:\users\wassi\anaconda3\envs\blender293\lib\site-packages
Adding topologic 0.5 to easy-install.pth file
Installed c:\users\wassi\anaconda3\envs\blender293\lib\site-packages\topologic-0.5-py3.9.egg
Processing dependencies for topologic==0.5
Searching for cppyy>=1.9.4
Reading https://pypi.org/simple/cppyy/
Downloading https://files.pythonhosted.org/packages/e8/24/3f956ffa96ae33e0ce8ac27ffa19b4467755115b6701315efb55508fc7c5/cppyy-2.1.0.tar.gz#sha256=e5feb67fe6af2314da8ced934b2966ec3dd55a4649462b21607a2f51de1d0b27
Best match: cppyy 2.1.0
Processing cppyy-2.1.0.tar.gz
Writing C:\Users\wassi\AppData\Local\Temp\easy_install-vvhvxdnk\cppyy-2.1.0\setup.cfg
Running cppyy-2.1.0\setup.py -q bdist_egg --dist-dir C:\Users\wassi\AppData\Local\Temp\easy_install-vvhvxdnk\cppyy-2.1.0\egg-dist-tmp-88h1l36a
no previously-included directories found matching 'test'
no previously-included directories found matching 'doc'
creating c:\users\wassi\anaconda3\envs\blender293\lib\site-packages\cppyy-2.1.0-py3.9.egg
Extracting cppyy-2.1.0-py3.9.egg to c:\users\wassi\anaconda3\envs\blender293\lib\site-packages
Adding cppyy 2.1.0 to easy-install.pth file
Installed c:\users\wassi\anaconda3\envs\blender293\lib\site-packages\cppyy-2.1.0-py3.9.egg
Searching for cppyy-cling==6.25.1
Reading https://pypi.org/simple/cppyy-cling/
Downloading https://files.pythonhosted.org/packages/85/74/44734dc6163e97736beb29aa71d39ccf1b90969d3a722f5ad17b37a4a19a/cppyy_cling-6.25.1-py2.py3-none-win_amd64.whl#sha256=da5fd43598bf643fbfed9bbc2f8b044058c30517e556eabf418159deb86c8884
Best match: cppyy-cling 6.25.1
Processing cppyy_cling-6.25.1-py2.py3-none-win_amd64.whl
Installing cppyy_cling-6.25.1-py2.py3-none-win_amd64.whl to c:\users\wassi\anaconda3\envs\blender293\lib\site-packages
Adding cppyy-cling 6.25.1 to easy-install.pth file
Installing cling-config-script.py script to C:\Users\wassi\anaconda3\envs\Blender293\Scripts
Installing cling-config.exe script to C:\Users\wassi\anaconda3\envs\Blender293\Scripts
Installing cppyy-generator-script.py script to C:\Users\wassi\anaconda3\envs\Blender293\Scripts
Installing cppyy-generator.exe script to C:\Users\wassi\anaconda3\envs\Blender293\Scripts
Installing genreflex-script.py script to C:\Users\wassi\anaconda3\envs\Blender293\Scripts
Installing genreflex.exe script to C:\Users\wassi\anaconda3\envs\Blender293\Scripts
Installing rootcling-script.py script to C:\Users\wassi\anaconda3\envs\Blender293\Scripts
Installing rootcling.exe script to C:\Users\wassi\anaconda3\envs\Blender293\Scripts
Installed c:\users\wassi\anaconda3\envs\blender293\lib\site-packages\cppyy_cling-6.25.1-py3.9-win-amd64.egg
Searching for cppyy-backend==1.14.6
Reading https://pypi.org/simple/cppyy-backend/
Downloading https://files.pythonhosted.org/packages/c6/81/fda1986538c6c9135fb528abacccab717fab988c010f1d9edf7aab613ed2/cppyy-backend-1.14.6.tar.gz#sha256=42598fc1f578ccd389a8c5a5410f57809726dce758185585c3a2ab1d72bd4ed3
Best match: cppyy-backend 1.14.6
Processing cppyy-backend-1.14.6.tar.gz
Writing C:\Users\wassi\AppData\Local\Temp\easy_install-mh_m5ilh\cppyy-backend-1.14.6\setup.cfg
Running cppyy-backend-1.14.6\setup.py -q bdist_egg --dist-dir C:\Users\wassi\AppData\Local\Temp\easy_install-mh_m5ilh\cppyy-backend-1.14.6\egg-dist-tmp-cmhjxt_d
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
clingwrapper.cxx
C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\cppyy_cling-6.25.1-py3.9-win-amd64.egg\cppyy_backend\include\TObjArray.h(124): warning C4996: 'std::iterator<std::bidirectional_iterator_tag,CppyyLegacy::TObject *,ptrdiff_t,const CppyyLegacy::TObject **,const CppyyLegacy::TObject *&>': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The <iterator> header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include\xutility(5680): note: see declaration of 'std::iterator'
C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\cppyy_cling-6.25.1-py3.9-win-amd64.egg\cppyy_backend\include\TList.h(200): warning C4996: 'std::iterator<std::bidirectional_iterator_tag,CppyyLegacy::TObject *,ptrdiff_t,const CppyyLegacy::TObject **,const CppyyLegacy::TObject *&>': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The <iterator> header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include\xutility(5680): note: see declaration of 'std::iterator'
Traceback (most recent call last):
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\sandbox.py", line 152, in save_modules
yield saved
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\sandbox.py", line 193, in setup_context
yield
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\sandbox.py", line 254, in run_setup
_execfile(setup_script, ns)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\sandbox.py", line 43, in _execfile
exec(code, globals, locals)
File "C:\Users\wassi\AppData\Local\Temp\easy_install-mh_m5ilh\cppyy-backend-1.14.6\setup.py", line 182, in <module>
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\command\bdist_egg.py", line 164, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\command\bdist_egg.py", line 150, in call_command
self.run_command(cmdname)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\command\install_lib.py", line 11, in run
self.build()
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\command\install_lib.py", line 107, in build
self.run_command('build_ext')
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\command\build_ext.py", line 340, in run
self.build_extensions()
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\command\build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "C:\Users\wassi\AppData\Local\Temp\easy_install-mh_m5ilh\cppyy-backend-1.14.6\setup.py", line 105, in build_extension
File "C:\Users\wassi\AppData\Local\Temp\easy_install-mh_m5ilh\cppyy-backend-1.14.6\setup.py", line 45, in _get_linker_options
ModuleNotFoundError: No module named 'cppyy_backend'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\wassi\topologicbim\topologicPy\cpython\setup.py", line 25, in <module>
setup(
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\command\install.py", line 67, in run
self.do_egg_install()
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\command\install.py", line 117, in do_egg_install
cmd.run(show_deprecation=False)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\command\easy_install.py", line 408, in run
self.easy_install(spec, not self.no_deps)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\command\easy_install.py", line 650, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\command\easy_install.py", line 697, in install_item
self.process_distribution(spec, dist, deps)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\command\easy_install.py", line 744, in process_distribution
distros = WorkingSet([]).resolve(
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\pkg_resources\__init__.py", line 766, in resolve
dist = best[req.key] = env.best_match(
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\pkg_resources\__init__.py", line 1051, in best_match
return self.obtain(req, installer)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\pkg_resources\__init__.py", line 1063, in obtain
return installer(requirement)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\command\easy_install.py", line 669, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\command\easy_install.py", line 695, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\command\easy_install.py", line 890, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\command\easy_install.py", line 1162, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\command\easy_install.py", line 1146, in run_setup
run_setup(setup_script, args)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\sandbox.py", line 257, in run_setup
raise
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\contextlib.py", line 135, in __exit__
self.gen.throw(type, value, traceback)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\sandbox.py", line 193, in setup_context
yield
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\contextlib.py", line 135, in __exit__
self.gen.throw(type, value, traceback)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\sandbox.py", line 164, in save_modules
saved_exc.resume()
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\sandbox.py", line 139, in resume
raise exc.with_traceback(self._tb)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\sandbox.py", line 152, in save_modules
yield saved
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\sandbox.py", line 193, in setup_context
yield
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\sandbox.py", line 254, in run_setup
_execfile(setup_script, ns)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\sandbox.py", line 43, in _execfile
exec(code, globals, locals)
File "C:\Users\wassi\AppData\Local\Temp\easy_install-mh_m5ilh\cppyy-backend-1.14.6\setup.py", line 182, in <module>
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\command\bdist_egg.py", line 164, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\command\bdist_egg.py", line 150, in call_command
self.run_command(cmdname)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\site-packages\setuptools\command\install_lib.py", line 11, in run
self.build()
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\command\install_lib.py", line 107, in build
self.run_command('build_ext')
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\command\build_ext.py", line 340, in run
self.build_extensions()
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\command\build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "C:\Users\wassi\anaconda3\envs\Blender293\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "C:\Users\wassi\AppData\Local\Temp\easy_install-mh_m5ilh\cppyy-backend-1.14.6\setup.py", line 105, in build_extension
File "C:\Users\wassi\AppData\Local\Temp\easy_install-mh_m5ilh\cppyy-backend-1.14.6\setup.py", line 45, in _get_linker_options
ModuleNotFoundError: No module named 'cppyy_backend'
(Blender293) C:\Users\wassi\topologicbim\topologicPy\cpython>pip install cppyy_backend
Collecting cppyy_backend
Downloading cppyy-backend-1.14.6.tar.gz (32 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Requirement already satisfied: cppyy-cling>=6.25.1 in c:\users\wassi\anaconda3\envs\blender293\lib\site-packages\cppyy_cling-6.25.1-py3.9-win-amd64.egg (from cppyy_backend) (6.25.1)
Building wheels for collected packages: cppyy-backend
Building wheel for cppyy-backend (PEP 517) ... done
Created wheel for cppyy-backend: filename=cppyy_backend-1.14.6-py2.py3-none-win_amd64.whl size=83501 sha256=eb67b2610a0680f7e849ee100335edb46bea9de1587b02c40c9c44435af20dca
Stored in directory: c:\users\wassi\appdata\local\pip\cache\wheels\fd\e4\c1\a262aae0c81e4c09dc45e662ce9b019782ff9637a4f8ced3b4
Successfully built cppyy-backend
Installing collected packages: cppyy-backend
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
cppyy 2.1.0 requires CPyCppyy==1.12.7, which is not installed.
Successfully installed cppyy-backend-1.14.6
(Blender293) C:\Users\wassi\topologicbim\topologicPy\cpython>python setup.py install
running install
running bdist_egg
running egg_info
writing topologic.egg-info\PKG-INFO
writing dependency_links to topologic.egg-info\dependency_links.txt
writing requirements to topologic.egg-info\requires.txt
writing top-level names to topologic.egg-info\top_level.txt
reading manifest file 'topologic.egg-info\SOURCES.txt'
writing manifest file 'topologic.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
creating build\bdist.win-amd64\egg
creating build\bdist.win-amd64\egg\topologic
copying build\lib\topologic\__init__.py -> build\bdist.win-amd64\egg\topologic
byte-compiling build\bdist.win-amd64\egg\topologic\__init__.py to __init__.cpython-39.pyc
creating build\bdist.win-amd64\egg\EGG-INFO
copying topologic.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
copying topologic.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying topologic.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying topologic.egg-info\requires.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying topologic.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO
zip_safe flag not set; analyzing archive contents...
topologic.__pycache__.__init__.cpython-39: module references __file__
creating 'dist\topologic-0.5-py3.9.egg' and adding 'build\bdist.win-amd64\egg' to it
removing 'build\bdist.win-amd64\egg' (and everything under it)
Processing topologic-0.5-py3.9.egg
removing 'c:\users\wassi\anaconda3\envs\blender293\lib\site-packages\topologic-0.5-py3.9.egg' (and everything under it)
creating c:\users\wassi\anaconda3\envs\blender293\lib\site-packages\topologic-0.5-py3.9.egg
Extracting topologic-0.5-py3.9.egg to c:\users\wassi\anaconda3\envs\blender293\lib\site-packages
topologic 0.5 is already the active version in easy-install.pth
Installed c:\users\wassi\anaconda3\envs\blender293\lib\site-packages\topologic-0.5-py3.9.egg
Processing dependencies for topologic==0.5
Searching for CPyCppyy==1.12.7
Reading https://pypi.org/simple/CPyCppyy/
Downloading https://files.pythonhosted.org/packages/6b/87/7764e625da33638b2dda41154798f95230d2fb427bcc83e10cbde908e5fd/CPyCppyy-1.12.7.tar.gz#sha256=2c55a5c0d3ce13c6c120288d78fff09447dc4cb29b337f4a90fae6fb83fd9e3c
Best match: CPyCppyy 1.12.7
Processing CPyCppyy-1.12.7.tar.gz
Writing C:\Users\wassi\AppData\Local\Temp\easy_install-ay0pp1_3\CPyCppyy-1.12.7\setup.cfg
Running CPyCppyy-1.12.7\setup.py -q bdist_egg --dist-dir C:\Users\wassi\AppData\Local\Temp\easy_install-ay0pp1_3\CPyCppyy-1.12.7\egg-dist-tmp-cpylcfla
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
API.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
CPPClassMethod.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
CPPConstructor.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
CPPDataMember.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
CPPEnum.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
CPPExcInstance.cxx
src\CPPExcInstance.cxx(226): warning C4273: 'CPyCppyy::CPPExcInstance_Type': inconsistent dll linkage
C:\Users\wassi\AppData\Local\Temp\easy_install-ay0pp1_3\CPyCppyy-1.12.7\src\CPPExcInstance.h(23): note: see previous definition of 'CPPExcInstance_Type'
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
CPPFunction.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
CPPGetSetItem.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
CPPInstance.cxx
src\CPPInstance.cxx(910): warning C4273: 'CPyCppyy::CPPInstance_Type': inconsistent dll linkage
C:\Users\wassi\AppData\Local\Temp\easy_install-ay0pp1_3\CPyCppyy-1.12.7\src\CPPInstance.h(117): note: see previous definition of 'CPPInstance_Type'
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
CPPMethod.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
CPPOperator.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
CPPOverload.cxx
src\CPPOverload.cxx(983): warning C4273: 'CPyCppyy::CPPOverload_Type': inconsistent dll linkage
C:\Users\wassi\AppData\Local\Temp\easy_install-ay0pp1_3\CPyCppyy-1.12.7\src\CPPOverload.h(81): note: see previous definition of 'CPPOverload_Type'
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
CPPScope.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
CPyCppyyModule.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
CallContext.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
Converters.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
CustomPyTypes.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
DispatchPtr.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
Dispatcher.cxx
src\Dispatcher.cxx(54): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
Executors.cxx
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include\ccomplex(22): warning C4996: '_Header_ccomplex': warning STL4004: <ccomplex>, <cstdalign>, <cstdbool>, and <ctgmath> are deprecated in C++17. You can define _SILENCE_CXX17_C_HEADER_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
LowLevelViews.cxx
src\LowLevelViews.cxx(770): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data
src\LowLevelViews.cxx(977): warning C4244: '=': conversion from 'CPyCppyy::dim_t' to 'int', possible loss of data
src\LowLevelViews.cxx(1034): note: see reference to function template instantiation 'PyObject *CreateLowLevelViewT<bool>(T *,CPyCppyy::cdims_t)' being compiled
with
[
T=bool
]
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
MemoryRegulator.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
ProxyWrappers.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
PyException.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
PyResult.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
PyStrings.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
Pythonize.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
TPyArg.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
TPyClassGenerator.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
TemplateProxy.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
TupleOfInstances.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
TypeManip.cxx
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
Utility.cxx
LINK : fatal error LNK1181: cannot open input file 'libcppyy_backend.lib'
error: Setup script exited with error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.26.28801\\bin\\HostX86\\x64\\link.exe' failed with exit code 1181
(Blender293) C:\Users\wassi\topologicbim\topologicPy\cpython>conda info
active environment : Blender293
active env location : C:\Users\wassi\anaconda3\envs\Blender293
shell level : 1
user config file : C:\Users\wassi\.condarc
populated config files : C:\Users\wassi\.condarc
conda version : 4.10.3
conda-build version : 3.20.5
python version : 3.8.5.final.0
virtual packages : __cuda=11.0=0
__win=0=0
__archspec=1=x86_64
base environment : C:\Users\wassi\anaconda3 (writable)
conda av data dir : C:\Users\wassi\anaconda3\etc\conda
conda av metadata url : None
channel URLs : https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
package cache : C:\Users\wassi\anaconda3\pkgs
C:\Users\wassi\.conda\pkgs
C:\Users\wassi\AppData\Local\conda\conda\pkgs
envs directories : C:\Users\wassi\anaconda3\envs
C:\Users\wassi\.conda\envs
C:\Users\wassi\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.10.3 requests/2.24.0 CPython/3.8.5 Windows/10 Windows/10.0.19041
administrator : False
netrc file : None
offline mode : False
(Blender293) C:\Users\wassi\topologicbim\topologicPy\cpython>
from cppyy.
The complexity of it all is simply too much for someone like me who is not a computer scientist.
from cppyy.
But now you do something else: you activated an environment? Still, an environment is always on top of base, so if there's some different installation there, clashes can still occur. You're also mixing the use of setup.py (setuptools) and pip, which may use setuptools under the hood, which would be okay, but in the case of cppyy doesn't quite, since pip started to push hard for toml files, see: https://www.python.org/dev/peps/pep-0518/ (which is from 2016; and cppyy started using toml in August last year, so not recent either).
Personally, I'd either use pip unistall cppyy-cling cppyy-backend CPyCppyy cppyy
in base (yes in base; not sure whether there's an easy way to clean base up completely), or reinstall anaconda (in case there were more non-anaconda packages installed). And then never ever pip-install anything in base again. :)
A Windows version on Conda will appear once upstream releases a 64b build of Cling. It's not there b/c upstream only supports 32b Windows, which Conda in turn does not support.
from cppyy.
Thank you. Yes that worked
from cppyy.
Related Issues (20)
- ImportError: Failed to load header file HOT 1
- std::vector<Vector3f> to NumPy? HOT 6
- Does cppyy support C++ libraries that use MPI? HOT 3
- Types with operator bool() won't check for nullptr HOT 3
- Conda package for Windows not available HOT 3
- How to add include path via -isystem HOT 2
- Fatal Python error: notimplemented_dealloc: deallocating NotImplemented HOT 10
- Hide exposure to internally loaded namespaces HOT 3
- libcppyy_backend.so installed in the wrong location on Fedora
- Complex template metaprogramming succeeds via `cppyy.cppdef`, but not with Python bindings HOT 2
- char * arrays don't work like they used to (3.0.0 vs 2.4.2) HOT 3
- convert np array to std::span fails. ( Cppyy::SizeOf("const int") returning 0 ) HOT 4
- Initialization of an std::string fails in version 3.0.0 HOT 3
- Broken argument passing when threading HOT 1
- Compile-from-source failure, drawing on 3.0.0 from PyPI HOT 6
- Support for Python3.11? HOT 6
- Template class + SFINAE member function with variadic template arguments HOT 2
- CMake tools failing HOT 1
- how to include QT ? HOT 5
- using Parent::method while overriding all overloads prevents access to any further methods
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 cppyy.