#python #pip
#python #pip
Вопрос:
Итак, я запускал этот ноутбук jupyter, когда получил следующую ошибку: InstallError: The SDD library is not available. Please install the PySDD package..
Затем я попытался установить PySDD, используя приведенные здесь инструкции . Я начал с pip install pysdd
и получил огромное сообщение об ошибке в командной строке, содержащее ERROR: Failed building wheel for PySDD
и Running setup.py clean for pysdd Failed to build pysdd Installing collected packages: pysdd Running setup.py install for pysdd ... error
. Я тоже пытался pip install -vvv --upgrade --force-reinstall --no-deps pysdd
, но это тоже не помогло.
Кроме того, как здесь предлагается, у меня также установлен Cython. Я был бы признателен за любую помощь или подсказку. Спасибо.
Редактировать: как было предложено в комментариях, это вывод для pip install -vvv pysdd
:
ERROR: Failed building wheel for pysdd
Running setup.py clean for pysdd
Running command 'c:usersmynameappdatalocalprogramspythonpython38python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\myname\AppData\Local\Temp\pip-install-4k4__tdk\pysdd\setup.py'"'"'; __file__='"'"'C:\Users\myname\AppData\Local\Temp\pip-install-4k4__tdk\pysdd\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
cysignals not found
No module named 'cysignals'
running clean
removing 'buildlib.win-amd64-3.8' (and everything under it)
'buildbdist.win-amd64' does not exist -- can't clean it
'buildscripts-3.8' does not exist -- can't clean it
removing 'build'
Failed to build pysdd
Installing collected packages: pysdd
Created temporary directory: C:UsersmynameAppDataLocalTemppip-record-ii5gatby
Running command 'c:usersmynameappdatalocalprogramspythonpython38python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\myname\AppData\Local\Temp\pip-install-4k4__tdk\pysdd\setup.py'"'"'; __file__='"'"'C:\Users\myname\AppData\Local\Temp\pip-install-4k4__tdk\pysdd\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:UsersmynameAppDataLocalTemppip-record-ii5gatbyinstall-record.txt' --single-version-externally-managed --compile --install-headers 'c:usersmynameappdatalocalprogramspythonpython38Includepysdd'
cysignals not found
No module named 'cysignals'
running install
running build
running build_py
creating build
creating buildlib.win-amd64-3.8
creating buildlib.win-amd64-3.8pysdd
copying pysddcli.py -> buildlib.win-amd64-3.8pysdd
copying pysdditerator.py -> buildlib.win-amd64-3.8pysdd
copying pysddutil.py -> buildlib.win-amd64-3.8pysdd
copying pysddwmcstochastic.py -> buildlib.win-amd64-3.8pysdd
copying pysdd__init__.py -> buildlib.win-amd64-3.8pysdd
copying pysdd__main__.py -> buildlib.win-amd64-3.8pysdd
running egg_info
writing PySDD.egg-infoPKG-INFO
writing dependency_links to PySDD.egg-infodependency_links.txt
writing entry points to PySDD.egg-infoentry_points.txt
writing requirements to PySDD.egg-inforequires.txt
writing top-level names to PySDD.egg-infotop_level.txt
reading manifest file 'PySDD.egg-infoSOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'PySDD.egg-infoSOURCES.txt'
copying pysddcompiler_c.pxd -> buildlib.win-amd64-3.8pysdd
copying pysddfnf_c.pxd -> buildlib.win-amd64-3.8pysdd
copying pysddio_c.pxd -> buildlib.win-amd64-3.8pysdd
copying pysddsdd.c -> buildlib.win-amd64-3.8pysdd
copying pysddsdd.pyx -> buildlib.win-amd64-3.8pysdd
copying pysddsddapi_c.pxd -> buildlib.win-amd64-3.8pysdd
creating buildlib.win-amd64-3.8pysddlib
creating buildlib.win-amd64-3.8pysddliblibsdd-2.0
copying pysddliblibsdd-2.0sddapi.h -> buildlib.win-amd64-3.8pysddliblibsdd-2.0
creating buildlib.win-amd64-3.8pysddliblibsdd-2.0build
copying pysddliblibsdd-2.0buildlibsdd.a -> buildlib.win-amd64-3.8pysddliblibsdd-2.0build
creating buildlib.win-amd64-3.8pysddliblibsdd-2.0debug
copying pysddliblibsdd-2.0debuglibsdd.a -> buildlib.win-amd64-3.8pysddliblibsdd-2.0debug
creating buildlib.win-amd64-3.8pysddliblibsdd-2.0include
copying pysddliblibsdd-2.0includeiterators.h -> buildlib.win-amd64-3.8pysddliblibsdd-2.0include
copying pysddliblibsdd-2.0includemacros.h -> buildlib.win-amd64-3.8pysddliblibsdd-2.0include
copying pysddliblibsdd-2.0includeparameters.h -> buildlib.win-amd64-3.8pysddliblibsdd-2.0include
copying pysddliblibsdd-2.0includesdd.h -> buildlib.win-amd64-3.8pysddliblibsdd-2.0include
copying pysddliblibsdd-2.0includestacks.h -> buildlib.win-amd64-3.8pysddliblibsdd-2.0include
creating buildlib.win-amd64-3.8pysddliblibsdd-2.0src
copying pysddliblibsdd-2.0srcutil.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0src
copying pysddliblibsdd-2.0srcverify.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0src
copying pysddliblibsdd-2.0srcversion.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0src
creating buildlib.win-amd64-3.8pysddliblibsdd-2.0srcbasic
copying pysddliblibsdd-2.0srcbasiccomputed.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcbasic
copying pysddliblibsdd-2.0srcbasiccount_and_size.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcbasic
copying pysddliblibsdd-2.0srcbasicgc.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcbasic
copying pysddliblibsdd-2.0srcbasichash.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcbasic
copying pysddliblibsdd-2.0srcbasicmemory.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcbasic
copying pysddliblibsdd-2.0srcbasicmultiply.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcbasic
copying pysddliblibsdd-2.0srcbasicnodes.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcbasic
copying pysddliblibsdd-2.0srcbasicpartitions.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcbasic
copying pysddliblibsdd-2.0srcbasicreferences.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcbasic
copying pysddliblibsdd-2.0srcbasicreplace.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcbasic
copying pysddliblibsdd-2.0srcbasicshadows.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcbasic
copying pysddliblibsdd-2.0srcbasicsort.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcbasic
creating buildlib.win-amd64-3.8pysddliblibsdd-2.0srcfnf
copying pysddliblibsdd-2.0srcfnfio.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcfnf
creating buildlib.win-amd64-3.8pysddliblibsdd-2.0srcmanager
copying pysddliblibsdd-2.0srcmanagercopy.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcmanager
copying pysddliblibsdd-2.0srcmanagerinterface.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcmanager
copying pysddliblibsdd-2.0srcmanagermanager.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcmanager
copying pysddliblibsdd-2.0srcmanagerstats.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcmanager
copying pysddliblibsdd-2.0srcmanagervariables.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcmanager
creating buildlib.win-amd64-3.8pysddliblibsdd-2.0srcsdds
copying pysddliblibsdd-2.0srcsddsapply.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcsdds
copying pysddliblibsdd-2.0srcsddsbits.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcsdds
copying pysddliblibsdd-2.0srcsddscardinality.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcsdds
copying pysddliblibsdd-2.0srcsddscondition.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcsdds
copying pysddliblibsdd-2.0srcsddscopy.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcsdds
copying pysddliblibsdd-2.0srcsddscount.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcsdds
copying pysddliblibsdd-2.0srcsddsessential_vars.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcsdds
copying pysddliblibsdd-2.0srcsddsexists.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcsdds
copying pysddliblibsdd-2.0srcsddsexists_multiple.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcsdds
copying pysddliblibsdd-2.0srcsddsexists_multiple_static.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcsdds
copying pysddliblibsdd-2.0srcsddsforall.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcsdds
copying pysddliblibsdd-2.0srcsddsio.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcsdds
copying pysddliblibsdd-2.0srcsddsmodel_count.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcsdds
copying pysddliblibsdd-2.0srcsddsrename_vars.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcsdds
copying pysddliblibsdd-2.0srcsddssize.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcsdds
copying pysddliblibsdd-2.0srcsddswmc.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcsdds
creating buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtree_fragments
copying pysddliblibsdd-2.0srcvtree_fragmentsconstruction.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtree_fragments
copying pysddliblibsdd-2.0srcvtree_fragmentsmoves.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtree_fragments
copying pysddliblibsdd-2.0srcvtree_fragmentsoperations.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtree_fragments
creating buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtree_operations
copying pysddliblibsdd-2.0srcvtree_operationscartesian_product.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtree_operations
copying pysddliblibsdd-2.0srcvtree_operationsdissect.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtree_operations
copying pysddliblibsdd-2.0srcvtree_operationslimits.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtree_operations
copying pysddliblibsdd-2.0srcvtree_operationsop_left_rotate.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtree_operations
copying pysddliblibsdd-2.0srcvtree_operationsop_right_rotate.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtree_operations
copying pysddliblibsdd-2.0srcvtree_operationsop_swap.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtree_operations
copying pysddliblibsdd-2.0srcvtree_operationsrollback.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtree_operations
copying pysddliblibsdd-2.0srcvtree_operationssplit.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtree_operations
copying pysddliblibsdd-2.0srcvtree_operationsvtree_ops.h -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtree_operations
creating buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtree_search
copying pysddliblibsdd-2.0srcvtree_searchauto.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtree_search
copying pysddliblibsdd-2.0srcvtree_searchsearch.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtree_search
copying pysddliblibsdd-2.0srcvtree_searchstate.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtree_search
creating buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtrees
copying pysddliblibsdd-2.0srcvtreescompare.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtrees
copying pysddliblibsdd-2.0srcvtreesedit.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtrees
copying pysddliblibsdd-2.0srcvtreesio.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtrees
copying pysddliblibsdd-2.0srcvtreesmaps.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtrees
copying pysddliblibsdd-2.0srcvtreesmoves.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtrees
copying pysddliblibsdd-2.0srcvtreesstatic.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtrees
copying pysddliblibsdd-2.0srcvtreesvtree.c -> buildlib.win-amd64-3.8pysddliblibsdd-2.0srcvtrees
creating buildlib.win-amd64-3.8pysddlibsdd-2.0
creating buildlib.win-amd64-3.8pysddlibsdd-2.0examples
creating buildlib.win-amd64-3.8pysddlibsdd-2.0examplessrc
copying pysddlibsdd-2.0examplessrccircuit-gc.c -> buildlib.win-amd64-3.8pysddlibsdd-2.0examplessrc
copying pysddlibsdd-2.0examplessrccircuit.c -> buildlib.win-amd64-3.8pysddlibsdd-2.0examplessrc
copying pysddlibsdd-2.0examplessrctest-1.c -> buildlib.win-amd64-3.8pysddlibsdd-2.0examplessrc
copying pysddlibsdd-2.0examplessrctest-2.c -> buildlib.win-amd64-3.8pysddlibsdd-2.0examplessrc
copying pysddlibsdd-2.0examplessrctest-3.c -> buildlib.win-amd64-3.8pysddlibsdd-2.0examplessrc
copying pysddlibsdd-2.0examplessrctest-4.c -> buildlib.win-amd64-3.8pysddlibsdd-2.0examplessrc
copying pysddlibsdd-2.0examplessrctest-5.c -> buildlib.win-amd64-3.8pysddlibsdd-2.0examplessrc
creating buildlib.win-amd64-3.8pysddlibsdd-2.0include
copying pysddlibsdd-2.0includecompiler.h -> buildlib.win-amd64-3.8pysddlibsdd-2.0include
copying pysddlibsdd-2.0includefnf.h -> buildlib.win-amd64-3.8pysddlibsdd-2.0include
copying pysddlibsdd-2.0includeio.h -> buildlib.win-amd64-3.8pysddlibsdd-2.0include
copying pysddlibsdd-2.0includesddapi.h -> buildlib.win-amd64-3.8pysddlibsdd-2.0include
creating buildlib.win-amd64-3.8pysddlibsdd-2.0lib
creating buildlib.win-amd64-3.8pysddlibsdd-2.0libDarwin
copying pysddlibsdd-2.0libDarwinlibsdd.a -> buildlib.win-amd64-3.8pysddlibsdd-2.0libDarwin
creating buildlib.win-amd64-3.8pysddlibsdd-2.0libDarwindebug
copying pysddlibsdd-2.0libDarwindebuglibsdd.a -> buildlib.win-amd64-3.8pysddlibsdd-2.0libDarwindebug
creating buildlib.win-amd64-3.8pysddlibsdd-2.0libLinux
copying pysddlibsdd-2.0libLinuxlibsdd.a -> buildlib.win-amd64-3.8pysddlibsdd-2.0libLinux
copying pysddlibsdd-2.0libLinuxlibsdd.so -> buildlib.win-amd64-3.8pysddlibsdd-2.0libLinux
creating buildlib.win-amd64-3.8pysddlibsdd-2.0libWindows
copying pysddlibsdd-2.0libWindowslibsdd.a -> buildlib.win-amd64-3.8pysddlibsdd-2.0libWindows
creating buildlib.win-amd64-3.8pysddlibsdd-2.0src
copying pysddlibsdd-2.0srcgetopt.c -> buildlib.win-amd64-3.8pysddlibsdd-2.0src
copying pysddlibsdd-2.0srcmain.c -> buildlib.win-amd64-3.8pysddlibsdd-2.0src
creating buildlib.win-amd64-3.8pysddlibsdd-2.0srcfnf
copying pysddlibsdd-2.0srcfnfcompiler.c -> buildlib.win-amd64-3.8pysddlibsdd-2.0srcfnf
copying pysddlibsdd-2.0srcfnffnf.c -> buildlib.win-amd64-3.8pysddlibsdd-2.0srcfnf
copying pysddlibsdd-2.0srcfnfio.c -> buildlib.win-amd64-3.8pysddlibsdd-2.0srcfnf
copying pysddlibsdd-2.0srcfnfutils.c -> buildlib.win-amd64-3.8pysddlibsdd-2.0srcfnf
running build_ext
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:UsersmynameAppDataLocalTemppip-install-4k4__tdkpysddsetup.py", line 181, in <module>
setup(
File "c:usersmynameappdatalocalprogramspythonpython38libsite-packagessetuptools__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "c:usersmynameappdatalocalprogramspythonpython38libdistutilscore.py", line 148, in setup
dist.run_commands()
File "c:usersmynameappdatalocalprogramspythonpython38libdistutilsdist.py", line 966, in run_commands
self.run_command(cmd)
File "c:usersmynameappdatalocalprogramspythonpython38libdistutilsdist.py", line 985, in run_command
cmd_obj.run()
File "c:usersmynameappdatalocalprogramspythonpython38libsite-packagessetuptoolscommandinstall.py", line 61, in run
return orig.install.run(self)
File "c:usersmynameappdatalocalprogramspythonpython38libdistutilscommandinstall.py", line 545, in run
self.run_command('build')
File "c:usersmynameappdatalocalprogramspythonpython38libdistutilscmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:usersmynameappdatalocalprogramspythonpython38libdistutilsdist.py", line 985, in run_command
cmd_obj.run()
File "c:usersmynameappdatalocalprogramspythonpython38libdistutilscommandbuild.py", line 135, in run
self.run_command(cmd_name)
File "c:usersmynameappdatalocalprogramspythonpython38libdistutilscmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:usersmynameappdatalocalprogramspythonpython38libdistutilsdist.py", line 985, in run_command
cmd_obj.run()
File "c:usersmynameappdatalocalprogramspythonpython38libsite-packagessetuptoolscommandbuild_ext.py", line 79, in run
_build_ext.run(self)
File "c:usersmynameappdatalocalprogramspythonpython38libsite-packagesCythonDistutilsold_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "c:usersmynameappdatalocalprogramspythonpython38libdistutilscommandbuild_ext.py", line 340, in run
self.build_extensions()
File "C:UsersmynameAppDataLocalTemppip-install-4k4__tdkpysddsetup.py", line 107, in build_extensions
compiler_name = self.compiler.compiler[0]
AttributeError: 'MSVCCompiler' object has no attribute 'compiler'
Compiler type: msvc
Running setup.py install for pysdd ... error
ERROR: Command errored out with exit status 1: 'c:usersmynameappdatalocalprogramspythonpython38python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\myname\AppData\Local\Temp\pip-install-4k4__tdk\pysdd\setup.py'"'"'; __file__='"'"'C:\Users\myname\AppData\Local\Temp\pip-install-4k4__tdk\pysdd\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:UsersmynameAppDataLocalTemppip-record-ii5gatbyinstall-record.txt' --single-version-externally-managed --compile --install-headers 'c:usersmynameappdatalocalprogramspythonpython38Includepysdd' Check the logs for full command output.
Exception information:
Traceback (most recent call last):
File "c:usersmynameappdatalocalprogramspythonpython38libsite-packagespip_internalreqreq_install.py", line 838, in install
success = install_legacy(
File "c:usersmynameappdatalocalprogramspythonpython38libsite-packagespip_internaloperationsinstalllegacy.py", line 86, in install
raise LegacyInstallFailure
pip._internal.operations.install.legacy.LegacyInstallFailure
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:usersmynameappdatalocalprogramspythonpython38libsite-packagespip_internalclibase_command.py", line 228, in _main
status = self.run(options, args)
File "c:usersmynameappdatalocalprogramspythonpython38libsite-packagespip_internalclireq_command.py", line 182, in wrapper
return func(self, options, args)
File "c:usersmynameappdatalocalprogramspythonpython38libsite-packagespip_internalcommandsinstall.py", line 397, in run
installed = install_given_reqs(
File "c:usersmynameappdatalocalprogramspythonpython38libsite-packagespip_internalreq__init__.py", line 82, in install_given_reqs
requirement.install(
File "c:usersmynameappdatalocalprogramspythonpython38libsite-packagespip_internalreqreq_install.py", line 856, in install
six.reraise(*exc.parent)
File "c:usersmynameappdatalocalprogramspythonpython38libsite-packagespip_vendorsix.py", line 703, in reraise
raise value
File "c:usersmynameappdatalocalprogramspythonpython38libsite-packagespip_internaloperationsinstalllegacy.py", line 74, in install
runner(
File "c:usersmynameappdatalocalprogramspythonpython38libsite-packagespip_internalutilssubprocess.py", line 273, in runner
call_subprocess(
File "c:usersmynameappdatalocalprogramspythonpython38libsite-packagespip_internalutilssubprocess.py", line 242, in call_subprocess
raise InstallationError(exc_msg)
pip._internal.exceptions.InstallationError: Command errored out with exit status 1: 'c:usersmynameappdatalocalprogramspythonpython38python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\myname\AppData\Local\Temp\pip-install-4k4__tdk\pysdd\setup.py'"'"'; __file__='"'"'C:\Users\myname\AppData\Local\Temp\pip-install-4k4__tdk\pysdd\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:UsersmynameAppDataLocalTemppip-record-ii5gatbyinstall-record.txt' --single-version-externally-managed --compile --install-headers 'c:usersmynameappdatalocalprogramspythonpython38Includepysdd' Check the logs for full command output.
Removed build tracker: 'C:\Users\myname\AppData\Local\Temp\pip-req-tracker-9oiecj10'
Комментарии:
1. В соответствии с инструкциями по установке : у вас есть пакет SDD ? PySDD — это всего лишь оболочка Python для SDD, поэтому у вас должен быть установлен SDD.
2. Также, пожалуйста, покажите полный текст вывода
pip install -vvv pysdd
3. Спасибо. Я добавил сообщение об ошибке, которое получаю при попытке выполнить ваше предложение. Кроме того, что касается пакета SDD, я попробовал
pip install SDD
. Не решил проблему.4. Теперь я не уверен, что
pip install SDD
это то, что мне нужно. Здесь , гдеpip install SDD
рекомендуется, SDD означает социальную дистанцию, в то время как SDD в pySDD обозначает диаграммы последовательных решений.5.
pip install SDD
это, конечно, не то, что вы хотите . Он устанавливает SDD пакета Python , в то время как вам нужен SDD пакета C.
Ответ №1:
Попробуйте обновить версию pip: pip install — обновить pip
Комментарии:
1. Спасибо, но вот что я получил: «Требование уже обновлено: pip в c:usersmynameappdatalocalprogramspythonpython38libsite-packages (20.2.4)», и все равно получаю ту же ошибку при установке PySDD.
2. это может быть ваша операционная система. Я не уверен, что он может работать в Windows. когда я попытался установить его в Windows, это не удалось, но в Linux (с использованием docker) он был установлен гладко. Я видел в документации SSD, что он работает только на Linux и Mac