Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build PLY table. Please run setup.py #249

Open
khassibi opened this issue Jun 21, 2023 · 10 comments
Open

Failed to build PLY table. Please run setup.py #249

khassibi opened this issue Jun 21, 2023 · 10 comments

Comments

@khassibi
Copy link

khassibi commented Jun 21, 2023

I was given the advice by Apurva Badithela to install TuLiP by using these commands
$ git clone https://github.com/tulip-control/tulip-control.git
$ cd tulip-control
$ git checkout eeci2020
$ pip install wheel
$ pip install cvxopt
$ pip install -r requirements.txt
$ python setup.py install
(These directions were found towards the bottom of https://murray.cds.caltech.edu/EECI-IGSC_2020.)

I used a virtual environment (venv) when doing these commands. Everything worked well, except when running python setup.py install, I got the message
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Failed to build PLY table. Please run setup.py again.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

This issue was brought up in #132 (comment), where the advice was to disable pip's caching behavior with --no-cache-dir. I have tried adding this flag to the pip install's (pip install wheel, pip install cvxopt, pip install -r requirements.txt), but I still run into the same issue.

Does anyone know how to resolve this issue? Thank you!

@slivingston
Copy link
Member

Do you observe this on the main branch, too?

git checkout main

The code about minimum violation planning was merged into main after that workshop (#236).

@tichakornw
Copy link
Contributor

tichakornw commented Jun 22, 2023 via email

@khassibi
Copy link
Author

Thank you for the help!
I started over and tried following #249 (comment) exactly. I did the following in a virtual environment:
git clone https://github.com/tulip-control/tulip-control.git
cd tulip-control
pip install wheel
pip install cvxopt
pip install gr1py
pip install -r requirements.txt
python3.9 setup.py install
pip install numpy==1.19.1 scipy==1.5.2
python3.9 setup.py install

Everything went well, except in the very end, python3.9 setup.py install failed to build PLY table again. Below, I have included everything that was outputted from the python3.9 setup.py install command.

WARNING:polytope.solvers:polytope failed to import cvxopt.glpk.
WARNING:polytope.solvers:will use scipy.optimize.linprog
WARNING:omega.symbolic.symbolic:omega.symbolic.symbolic failed to import dd.cudd.
Will use dd.autoref.
WARNING: Token 'TRUE' defined, but not used
WARNING: Token 'FALSE' defined, but not used
WARNING: Token 'XOR' defined, but not used
WARNING: Token 'BIMP' defined, but not used
WARNING: Token 'EQUALS' defined, but not used
WARNING: Token 'NEQUALS' defined, but not used
WARNING: Token 'LT' defined, but not used
WARNING: Token 'LE' defined, but not used
WARNING: Token 'GT' defined, but not used
WARNING: Token 'GE' defined, but not used
WARNING: Token 'PLUS' defined, but not used
WARNING: Token 'MINUS' defined, but not used
WARNING: Token 'TIMES' defined, but not used
WARNING: Token 'DIV' defined, but not used
WARNING: Token 'SKIP' defined, but not used
WARNING: /Users/kimiahassibi/Desktop/Caltech/SURF2023/tulip-control/tulip/interfaces/ltl2ba.py:242: Rule 'empty' defined, but not used
WARNING: There are 15 unused tokens
WARNING: There is 1 unused rule
WARNING: Symbol 'empty' is unreachable
WARNING:tulip.abstract.find_controller:tulip failed to import cvxopt.
No quadratic cost for controller computation.
Generating LALR tables
Failed to build PLY tables: 'Parser' object has no attribute 'build'
No git info: Assume release.
INFO:root:running install
/usr/local/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/usr/local/lib/python3.9/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
INFO:root:running bdist_egg
INFO:root:running egg_info
INFO:root:creating tulip.egg-info
INFO:root:writing tulip.egg-info/PKG-INFO
INFO:root:writing dependency_links to tulip.egg-info/dependency_links.txt
INFO:root:writing requirements to tulip.egg-info/requires.txt
INFO:root:writing top-level names to tulip.egg-info/top_level.txt
INFO:root:writing manifest file 'tulip.egg-info/SOURCES.txt'
INFO:root:reading manifest file 'tulip.egg-info/SOURCES.txt'
INFO:root:reading manifest template 'MANIFEST.in'
INFO:root:adding license file 'LICENSE'
INFO:root:adding license file 'AUTHORS'
INFO:root:writing manifest file 'tulip.egg-info/SOURCES.txt'
INFO:root:installing library code to build/bdist.macosx-12-x86_64/egg
INFO:root:running install_lib
INFO:root:running build_py
INFO:root:creating build
INFO:root:creating build/lib
INFO:root:creating build/lib/tulip
INFO:root:copying tulip/graphics.py -> build/lib/tulip
INFO:root:copying tulip/synth.py -> build/lib/tulip
INFO:root:copying tulip/_version.py -> build/lib/tulip
INFO:root:copying tulip/hybrid.py -> build/lib/tulip
INFO:root:copying tulip/gridworld.py -> build/lib/tulip
INFO:root:copying tulip/dumpsmach.py -> build/lib/tulip
INFO:root:copying tulip/init.py -> build/lib/tulip
INFO:root:copying tulip/mvp.py -> build/lib/tulip
INFO:root:creating build/lib/tulip/transys
INFO:root:copying tulip/transys/mathfunc.py -> build/lib/tulip/transys
INFO:root:copying tulip/transys/automata.py -> build/lib/tulip/transys
INFO:root:copying tulip/transys/algorithms.py -> build/lib/tulip/transys
INFO:root:copying tulip/transys/machines.py -> build/lib/tulip/transys
INFO:root:copying tulip/transys/graph_algorithms.py -> build/lib/tulip/transys
INFO:root:copying tulip/transys/init.py -> build/lib/tulip/transys
INFO:root:copying tulip/transys/products.py -> build/lib/tulip/transys
INFO:root:copying tulip/transys/mathset.py -> build/lib/tulip/transys
INFO:root:copying tulip/transys/labeled_graphs.py -> build/lib/tulip/transys
INFO:root:copying tulip/transys/cost.py -> build/lib/tulip/transys
INFO:root:copying tulip/transys/transys.py -> build/lib/tulip/transys
INFO:root:copying tulip/transys/compositions.py -> build/lib/tulip/transys
INFO:root:creating build/lib/tulip/transys/export
INFO:root:copying tulip/transys/export/init.py -> build/lib/tulip/transys/export
INFO:root:copying tulip/transys/export/save_d3.py -> build/lib/tulip/transys/export
INFO:root:copying tulip/transys/export/graph2dot.py -> build/lib/tulip/transys/export
INFO:root:copying tulip/transys/export/machine2scxml.py -> build/lib/tulip/transys/export
INFO:root:copying tulip/transys/export/graph2promela.py -> build/lib/tulip/transys/export
INFO:root:creating build/lib/tulip/abstract
INFO:root:copying tulip/abstract/plot.py -> build/lib/tulip/abstract
INFO:root:copying tulip/abstract/discretization.py -> build/lib/tulip/abstract
INFO:root:copying tulip/abstract/init.py -> build/lib/tulip/abstract
INFO:root:copying tulip/abstract/find_controller.py -> build/lib/tulip/abstract
INFO:root:copying tulip/abstract/prop2partition.py -> build/lib/tulip/abstract
INFO:root:copying tulip/abstract/feasible.py -> build/lib/tulip/abstract
INFO:root:creating build/lib/tulip/spec
INFO:root:copying tulip/spec/ltl_parsetab.py -> build/lib/tulip/spec
INFO:root:copying tulip/spec/transformation.py -> build/lib/tulip/spec
INFO:root:copying tulip/spec/gr1_fragment.py -> build/lib/tulip/spec
INFO:root:copying tulip/spec/init.py -> build/lib/tulip/spec
INFO:root:copying tulip/spec/parser.py -> build/lib/tulip/spec
INFO:root:copying tulip/spec/lexyacc.py -> build/lib/tulip/spec
INFO:root:copying tulip/spec/form.py -> build/lib/tulip/spec
INFO:root:copying tulip/spec/translation.py -> build/lib/tulip/spec
INFO:root:copying tulip/spec/ast.py -> build/lib/tulip/spec
INFO:root:copying tulip/spec/prioritized_safety.py -> build/lib/tulip/spec
INFO:root:creating build/lib/tulip/interfaces
INFO:root:copying tulip/interfaces/gr1c.py -> build/lib/tulip/interfaces
INFO:root:copying tulip/interfaces/omega.py -> build/lib/tulip/interfaces
INFO:root:copying tulip/interfaces/lily.py -> build/lib/tulip/interfaces
INFO:root:copying tulip/interfaces/init.py -> build/lib/tulip/interfaces
INFO:root:copying tulip/interfaces/gr1py.py -> build/lib/tulip/interfaces
INFO:root:copying tulip/interfaces/_inspect.py -> build/lib/tulip/interfaces
INFO:root:copying tulip/interfaces/stormpy.py -> build/lib/tulip/interfaces
INFO:root:copying tulip/interfaces/ltl2ba.py -> build/lib/tulip/interfaces
INFO:root:copying tulip/interfaces/ltl2ba_parsetab.py -> build/lib/tulip/interfaces
INFO:root:copying tulip/interfaces/slugs.py -> build/lib/tulip/interfaces
INFO:root:creating build/bdist.macosx-12-x86_64
INFO:root:creating build/bdist.macosx-12-x86_64/egg
INFO:root:creating build/bdist.macosx-12-x86_64/egg/tulip
INFO:root:creating build/bdist.macosx-12-x86_64/egg/tulip/abstract
INFO:root:copying build/lib/tulip/abstract/plot.py -> build/bdist.macosx-12-x86_64/egg/tulip/abstract
INFO:root:copying build/lib/tulip/abstract/discretization.py -> build/bdist.macosx-12-x86_64/egg/tulip/abstract
INFO:root:copying build/lib/tulip/abstract/init.py -> build/bdist.macosx-12-x86_64/egg/tulip/abstract
INFO:root:copying build/lib/tulip/abstract/find_controller.py -> build/bdist.macosx-12-x86_64/egg/tulip/abstract
INFO:root:copying build/lib/tulip/abstract/prop2partition.py -> build/bdist.macosx-12-x86_64/egg/tulip/abstract
INFO:root:copying build/lib/tulip/abstract/feasible.py -> build/bdist.macosx-12-x86_64/egg/tulip/abstract
INFO:root:copying build/lib/tulip/graphics.py -> build/bdist.macosx-12-x86_64/egg/tulip
INFO:root:copying build/lib/tulip/synth.py -> build/bdist.macosx-12-x86_64/egg/tulip
INFO:root:copying build/lib/tulip/_version.py -> build/bdist.macosx-12-x86_64/egg/tulip
INFO:root:copying build/lib/tulip/hybrid.py -> build/bdist.macosx-12-x86_64/egg/tulip
INFO:root:copying build/lib/tulip/gridworld.py -> build/bdist.macosx-12-x86_64/egg/tulip
INFO:root:creating build/bdist.macosx-12-x86_64/egg/tulip/spec
INFO:root:copying build/lib/tulip/spec/ltl_parsetab.py -> build/bdist.macosx-12-x86_64/egg/tulip/spec
INFO:root:copying build/lib/tulip/spec/transformation.py -> build/bdist.macosx-12-x86_64/egg/tulip/spec
INFO:root:copying build/lib/tulip/spec/gr1_fragment.py -> build/bdist.macosx-12-x86_64/egg/tulip/spec
INFO:root:copying build/lib/tulip/spec/init.py -> build/bdist.macosx-12-x86_64/egg/tulip/spec
INFO:root:copying build/lib/tulip/spec/parser.py -> build/bdist.macosx-12-x86_64/egg/tulip/spec
INFO:root:copying build/lib/tulip/spec/lexyacc.py -> build/bdist.macosx-12-x86_64/egg/tulip/spec
INFO:root:copying build/lib/tulip/spec/form.py -> build/bdist.macosx-12-x86_64/egg/tulip/spec
INFO:root:copying build/lib/tulip/spec/translation.py -> build/bdist.macosx-12-x86_64/egg/tulip/spec
INFO:root:copying build/lib/tulip/spec/ast.py -> build/bdist.macosx-12-x86_64/egg/tulip/spec
INFO:root:copying build/lib/tulip/spec/prioritized_safety.py -> build/bdist.macosx-12-x86_64/egg/tulip/spec
INFO:root:copying build/lib/tulip/dumpsmach.py -> build/bdist.macosx-12-x86_64/egg/tulip
INFO:root:copying build/lib/tulip/init.py -> build/bdist.macosx-12-x86_64/egg/tulip
INFO:root:copying build/lib/tulip/mvp.py -> build/bdist.macosx-12-x86_64/egg/tulip
INFO:root:creating build/bdist.macosx-12-x86_64/egg/tulip/transys
INFO:root:copying build/lib/tulip/transys/mathfunc.py -> build/bdist.macosx-12-x86_64/egg/tulip/transys
INFO:root:copying build/lib/tulip/transys/automata.py -> build/bdist.macosx-12-x86_64/egg/tulip/transys
INFO:root:copying build/lib/tulip/transys/algorithms.py -> build/bdist.macosx-12-x86_64/egg/tulip/transys
INFO:root:copying build/lib/tulip/transys/machines.py -> build/bdist.macosx-12-x86_64/egg/tulip/transys
INFO:root:copying build/lib/tulip/transys/graph_algorithms.py -> build/bdist.macosx-12-x86_64/egg/tulip/transys
INFO:root:copying build/lib/tulip/transys/init.py -> build/bdist.macosx-12-x86_64/egg/tulip/transys
INFO:root:copying build/lib/tulip/transys/products.py -> build/bdist.macosx-12-x86_64/egg/tulip/transys
INFO:root:copying build/lib/tulip/transys/mathset.py -> build/bdist.macosx-12-x86_64/egg/tulip/transys
INFO:root:copying build/lib/tulip/transys/labeled_graphs.py -> build/bdist.macosx-12-x86_64/egg/tulip/transys
INFO:root:copying build/lib/tulip/transys/cost.py -> build/bdist.macosx-12-x86_64/egg/tulip/transys
INFO:root:creating build/bdist.macosx-12-x86_64/egg/tulip/transys/export
INFO:root:copying build/lib/tulip/transys/export/init.py -> build/bdist.macosx-12-x86_64/egg/tulip/transys/export
INFO:root:copying build/lib/tulip/transys/export/save_d3.py -> build/bdist.macosx-12-x86_64/egg/tulip/transys/export
INFO:root:copying build/lib/tulip/transys/export/graph2dot.py -> build/bdist.macosx-12-x86_64/egg/tulip/transys/export
INFO:root:copying build/lib/tulip/transys/export/machine2scxml.py -> build/bdist.macosx-12-x86_64/egg/tulip/transys/export
INFO:root:copying build/lib/tulip/transys/export/graph2promela.py -> build/bdist.macosx-12-x86_64/egg/tulip/transys/export
INFO:root:copying build/lib/tulip/transys/transys.py -> build/bdist.macosx-12-x86_64/egg/tulip/transys
INFO:root:copying build/lib/tulip/transys/compositions.py -> build/bdist.macosx-12-x86_64/egg/tulip/transys
INFO:root:creating build/bdist.macosx-12-x86_64/egg/tulip/interfaces
INFO:root:copying build/lib/tulip/interfaces/gr1c.py -> build/bdist.macosx-12-x86_64/egg/tulip/interfaces
INFO:root:copying build/lib/tulip/interfaces/omega.py -> build/bdist.macosx-12-x86_64/egg/tulip/interfaces
INFO:root:copying build/lib/tulip/interfaces/lily.py -> build/bdist.macosx-12-x86_64/egg/tulip/interfaces
INFO:root:copying build/lib/tulip/interfaces/init.py -> build/bdist.macosx-12-x86_64/egg/tulip/interfaces
INFO:root:copying build/lib/tulip/interfaces/gr1py.py -> build/bdist.macosx-12-x86_64/egg/tulip/interfaces
INFO:root:copying build/lib/tulip/interfaces/_inspect.py -> build/bdist.macosx-12-x86_64/egg/tulip/interfaces
INFO:root:copying build/lib/tulip/interfaces/stormpy.py -> build/bdist.macosx-12-x86_64/egg/tulip/interfaces
INFO:root:copying build/lib/tulip/interfaces/ltl2ba.py -> build/bdist.macosx-12-x86_64/egg/tulip/interfaces
INFO:root:copying build/lib/tulip/interfaces/ltl2ba_parsetab.py -> build/bdist.macosx-12-x86_64/egg/tulip/interfaces
INFO:root:copying build/lib/tulip/interfaces/slugs.py -> build/bdist.macosx-12-x86_64/egg/tulip/interfaces
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/abstract/plot.py to plot.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/abstract/discretization.py to discretization.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/abstract/init.py to init.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/abstract/find_controller.py to find_controller.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/abstract/prop2partition.py to prop2partition.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/abstract/feasible.py to feasible.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/graphics.py to graphics.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/synth.py to synth.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/_version.py to _version.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/hybrid.py to hybrid.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/gridworld.py to gridworld.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/spec/ltl_parsetab.py to ltl_parsetab.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/spec/transformation.py to transformation.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/spec/gr1_fragment.py to gr1_fragment.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/spec/init.py to init.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/spec/parser.py to parser.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/spec/lexyacc.py to lexyacc.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/spec/form.py to form.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/spec/translation.py to translation.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/spec/ast.py to ast.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/spec/prioritized_safety.py to prioritized_safety.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/dumpsmach.py to dumpsmach.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/init.py to init.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/mvp.py to mvp.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/transys/mathfunc.py to mathfunc.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/transys/automata.py to automata.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/transys/algorithms.py to algorithms.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/transys/machines.py to machines.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/transys/graph_algorithms.py to graph_algorithms.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/transys/init.py to init.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/transys/products.py to products.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/transys/mathset.py to mathset.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/transys/labeled_graphs.py to labeled_graphs.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/transys/cost.py to cost.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/transys/export/init.py to init.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/transys/export/save_d3.py to save_d3.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/transys/export/graph2dot.py to graph2dot.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/transys/export/machine2scxml.py to machine2scxml.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/transys/export/graph2promela.py to graph2promela.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/transys/transys.py to transys.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/transys/compositions.py to compositions.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/interfaces/gr1c.py to gr1c.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/interfaces/omega.py to omega.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/interfaces/lily.py to lily.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/interfaces/init.py to init.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/interfaces/gr1py.py to gr1py.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/interfaces/_inspect.py to _inspect.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/interfaces/stormpy.py to stormpy.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/interfaces/ltl2ba.py to ltl2ba.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/interfaces/ltl2ba_parsetab.py to ltl2ba_parsetab.cpython-39.pyc
INFO:root:byte-compiling build/bdist.macosx-12-x86_64/egg/tulip/interfaces/slugs.py to slugs.cpython-39.pyc
INFO:root:creating build/bdist.macosx-12-x86_64/egg/EGG-INFO
INFO:root:copying tulip.egg-info/PKG-INFO -> build/bdist.macosx-12-x86_64/egg/EGG-INFO
INFO:root:copying tulip.egg-info/SOURCES.txt -> build/bdist.macosx-12-x86_64/egg/EGG-INFO
INFO:root:copying tulip.egg-info/dependency_links.txt -> build/bdist.macosx-12-x86_64/egg/EGG-INFO
INFO:root:copying tulip.egg-info/requires.txt -> build/bdist.macosx-12-x86_64/egg/EGG-INFO
INFO:root:copying tulip.egg-info/top_level.txt -> build/bdist.macosx-12-x86_64/egg/EGG-INFO
WARNING:root:zip_safe flag not set; analyzing archive contents...
INFO:root:creating dist
INFO:root:creating 'dist/tulip-1.4.0-py3.9.egg' and adding 'build/bdist.macosx-12-x86_64/egg' to it
INFO:root:removing 'build/bdist.macosx-12-x86_64/egg' (and everything under it)
INFO:root:Processing tulip-1.4.0-py3.9.egg
INFO:root:Removing /usr/local/lib/python3.9/site-packages/tulip-1.4.0-py3.9.egg
INFO:root:Copying tulip-1.4.0-py3.9.egg to /usr/local/lib/python3.9/site-packages
INFO:root:tulip 1.4.0 is already the active version in easy-install.pth
INFO:root:
Installed /usr/local/lib/python3.9/site-packages/tulip-1.4.0-py3.9.egg
INFO:root:Processing dependencies for tulip==1.4.0
INFO:root:Searching for scipy==1.11.0rc2
INFO:root:Best match: scipy 1.11.0rc2
INFO:root:Processing scipy-1.11.0rc2-py3.9-macosx-12-x86_64.egg
INFO:root:scipy 1.11.0rc2 is already the active version in easy-install.pth
INFO:root:
Using /usr/local/lib/python3.9/site-packages/scipy-1.11.0rc2-py3.9-macosx-12-x86_64.egg
INFO:root:Searching for polytope==0.2.3
INFO:root:Best match: polytope 0.2.3
INFO:root:Processing polytope-0.2.3-py3.9.egg
INFO:root:polytope 0.2.3 is already the active version in easy-install.pth
INFO:root:
Using /usr/local/lib/python3.9/site-packages/polytope-0.2.3-py3.9.egg
INFO:root:Searching for ply==3.10
INFO:root:Best match: ply 3.10
INFO:root:Processing ply-3.10-py3.9.egg
INFO:root:ply 3.10 is already the active version in easy-install.pth
INFO:root:
Using /usr/local/lib/python3.9/site-packages/ply-3.10-py3.9.egg
INFO:root:Searching for omega==0.3.1
INFO:root:Best match: omega 0.3.1
INFO:root:Processing omega-0.3.1-py3.9.egg
INFO:root:omega 0.3.1 is already the active version in easy-install.pth
INFO:root:
Using /usr/local/lib/python3.9/site-packages/omega-0.3.1-py3.9.egg
INFO:root:Searching for numpy==1.25.0
INFO:root:Best match: numpy 1.25.0
INFO:root:Processing numpy-1.25.0-py3.9-macosx-12-x86_64.egg
INFO:root:numpy 1.25.0 is already the active version in easy-install.pth
INFO:root:Installing f2py script to /usr/local/bin
INFO:root:Installing f2py3 script to /usr/local/bin
INFO:root:Installing f2py3.9 script to /usr/local/bin
INFO:root:
Using /usr/local/lib/python3.9/site-packages/numpy-1.25.0-py3.9-macosx-12-x86_64.egg
INFO:root:Searching for networkx==3.1
INFO:root:Best match: networkx 3.1
INFO:root:Processing networkx-3.1-py3.9.egg
INFO:root:networkx 3.1 is already the active version in easy-install.pth
INFO:root:
Using /usr/local/lib/python3.9/site-packages/networkx-3.1-py3.9.egg
INFO:root:Searching for graphviz==0.20.1
INFO:root:Best match: graphviz 0.20.1
INFO:root:Processing graphviz-0.20.1-py3.9.egg
INFO:root:graphviz 0.20.1 is already the active version in easy-install.pth
INFO:root:
Using /usr/local/lib/python3.9/site-packages/graphviz-0.20.1-py3.9.egg
INFO:root:Searching for pydot==1.4.2
INFO:root:Best match: pydot 1.4.2
INFO:root:Processing pydot-1.4.2-py3.9.egg
INFO:root:pydot 1.4.2 is already the active version in easy-install.pth
INFO:root:
Using /usr/local/lib/python3.9/site-packages/pydot-1.4.2-py3.9.egg
INFO:root:Searching for natsort==8.4.0
INFO:root:Best match: natsort 8.4.0
INFO:root:Processing natsort-8.4.0-py3.9.egg
INFO:root:natsort 8.4.0 is already the active version in easy-install.pth
INFO:root:Installing natsort script to /usr/local/bin
INFO:root:
Using /usr/local/lib/python3.9/site-packages/natsort-8.4.0-py3.9.egg
INFO:root:Searching for humanize==4.6.0
INFO:root:Best match: humanize 4.6.0
INFO:root:Processing humanize-4.6.0-py3.9.egg
INFO:root:humanize 4.6.0 is already the active version in easy-install.pth
INFO:root:
Using /usr/local/lib/python3.9/site-packages/humanize-4.6.0-py3.9.egg
INFO:root:Searching for dd==0.5.7
INFO:root:Best match: dd 0.5.7
INFO:root:Processing dd-0.5.7-py3.9.egg
INFO:root:dd 0.5.7 is already the active version in easy-install.pth
INFO:root:
Using /usr/local/lib/python3.9/site-packages/dd-0.5.7-py3.9.egg
INFO:root:Searching for astutils==0.0.4
INFO:root:Best match: astutils 0.0.4
INFO:root:Processing astutils-0.0.4-py3.9.egg
INFO:root:astutils 0.0.4 is already the active version in easy-install.pth
INFO:root:
Using /usr/local/lib/python3.9/site-packages/astutils-0.0.4-py3.9.egg
INFO:root:Searching for pyparsing==3.1.0
INFO:root:Best match: pyparsing 3.1.0
INFO:root:Processing pyparsing-3.1.0-py3.9.egg
INFO:root:pyparsing 3.1.0 is already the active version in easy-install.pth
INFO:root:
Using /usr/local/lib/python3.9/site-packages/pyparsing-3.1.0-py3.9.egg
INFO:root:Searching for setuptools==65.6.3
INFO:root:Best match: setuptools 65.6.3
INFO:root:Adding setuptools 65.6.3 to easy-install.pth file
INFO:root:
Using /usr/local/lib/python3.9/site-packages
INFO:root:Searching for psutil==5.9.4
INFO:root:Best match: psutil 5.9.4
INFO:root:Adding psutil 5.9.4 to easy-install.pth file
INFO:root:
Using /Users/kimiahassibi/Library/Python/3.9/lib/python/site-packages
INFO:root:Finished processing dependencies for tulip==1.4.0
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Failed to build PLY table. Please run setup.py again.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

@khassibi khassibi closed this as not planned Won't fix, can't repro, duplicate, stale Jun 22, 2023
@khassibi khassibi reopened this Jun 22, 2023
@slivingston
Copy link
Member

@khassibi Are you certain that python3.9 is running in the virtual environment? Usually it is named python. You can confirm which program is running by comparing

which python3.9

and

which python

@tichakornw
Copy link
Contributor

tichakornw commented Jun 23, 2023 via email

@khassibi
Copy link
Author

So my virtual environment uses python 3.8. When I do python setup.py install, I get the following output.

WARNING: no p_error() function is defined
WARNING: Token 'COMMENT' defined, but not used
WARNING: Token 'EVENTUALLY_OP' defined, but not used
WARNING: Token 'newline' defined, but not used
WARNING: There are 3 unused tokens
Generating LALR tables
WARNING: 16 shift/reduce conflicts
WARNING:omega.symbolic.symbolic:omega.symbolic.symbolic failed to import dd.cudd.
Will use dd.autoref.
WARNING: Token 'BIMP' defined, but not used
WARNING: Token 'DIV' defined, but not used
WARNING: Token 'EQUALS' defined, but not used
WARNING: Token 'FALSE' defined, but not used
WARNING: Token 'GE' defined, but not used
WARNING: Token 'GT' defined, but not used
WARNING: Token 'LE' defined, but not used
WARNING: Token 'LT' defined, but not used
WARNING: Token 'MINUS' defined, but not used
WARNING: Token 'NEQUALS' defined, but not used
WARNING: Token 'PLUS' defined, but not used
WARNING: Token 'SKIP' defined, but not used
WARNING: Token 'TIMES' defined, but not used
WARNING: Token 'TRUE' defined, but not used
WARNING: Token 'XOR' defined, but not used
WARNING: /Users/kimiahassibi/Desktop/Caltech/SURF2023/tulip-control/tulip/interfaces/ltl2ba.py:242: Rule 'empty' defined, but not used
WARNING: There are 15 unused tokens
WARNING: There is 1 unused rule
WARNING: Symbol 'empty' is unreachable
Generating LALR tables
Failed to build PLY tables: 'Parser' object has no attribute 'build'
No git info: Assume release.
running install
running bdist_egg
running egg_info
writing tulip.egg-info/PKG-INFO
writing dependency_links to tulip.egg-info/dependency_links.txt
writing requirements to tulip.egg-info/requires.txt
writing top-level names to tulip.egg-info/top_level.txt
adding license file 'LICENSE' (matched pattern 'LICEN[CS]E*')
adding license file 'AUTHORS' (matched pattern 'AUTHORS*')
reading manifest file 'tulip.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'tulip.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.9-x86_64/egg
running install_lib
running build_py
copying tulip/_version.py -> build/lib/tulip
copying tulip/spec/ltl_parsetab.py -> build/lib/tulip/spec
copying tulip/interfaces/ltl2ba_parsetab.py -> build/lib/tulip/interfaces
creating build/bdist.macosx-10.9-x86_64/egg
creating build/bdist.macosx-10.9-x86_64/egg/tulip
creating build/bdist.macosx-10.9-x86_64/egg/tulip/abstract
copying build/lib/tulip/abstract/plot.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/abstract
copying build/lib/tulip/abstract/discretization.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/abstract
copying build/lib/tulip/abstract/init.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/abstract
copying build/lib/tulip/abstract/find_controller.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/abstract
copying build/lib/tulip/abstract/prop2partition.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/abstract
copying build/lib/tulip/abstract/feasible.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/abstract
copying build/lib/tulip/graphics.py -> build/bdist.macosx-10.9-x86_64/egg/tulip
copying build/lib/tulip/synth.py -> build/bdist.macosx-10.9-x86_64/egg/tulip
copying build/lib/tulip/_version.py -> build/bdist.macosx-10.9-x86_64/egg/tulip
copying build/lib/tulip/hybrid.py -> build/bdist.macosx-10.9-x86_64/egg/tulip
copying build/lib/tulip/gridworld.py -> build/bdist.macosx-10.9-x86_64/egg/tulip
creating build/bdist.macosx-10.9-x86_64/egg/tulip/spec
copying build/lib/tulip/spec/ltl_parsetab.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/spec
copying build/lib/tulip/spec/transformation.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/spec
copying build/lib/tulip/spec/gr1_fragment.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/spec
copying build/lib/tulip/spec/init.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/spec
copying build/lib/tulip/spec/parser.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/spec
copying build/lib/tulip/spec/lexyacc.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/spec
copying build/lib/tulip/spec/form.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/spec
copying build/lib/tulip/spec/translation.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/spec
copying build/lib/tulip/spec/ast.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/spec
copying build/lib/tulip/spec/prioritized_safety.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/spec
copying build/lib/tulip/dumpsmach.py -> build/bdist.macosx-10.9-x86_64/egg/tulip
copying build/lib/tulip/init.py -> build/bdist.macosx-10.9-x86_64/egg/tulip
copying build/lib/tulip/mvp.py -> build/bdist.macosx-10.9-x86_64/egg/tulip
creating build/bdist.macosx-10.9-x86_64/egg/tulip/transys
copying build/lib/tulip/transys/mathfunc.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/transys
copying build/lib/tulip/transys/automata.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/transys
copying build/lib/tulip/transys/algorithms.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/transys
copying build/lib/tulip/transys/machines.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/transys
copying build/lib/tulip/transys/graph_algorithms.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/transys
copying build/lib/tulip/transys/init.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/transys
copying build/lib/tulip/transys/products.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/transys
copying build/lib/tulip/transys/mathset.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/transys
copying build/lib/tulip/transys/labeled_graphs.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/transys
copying build/lib/tulip/transys/cost.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/transys
creating build/bdist.macosx-10.9-x86_64/egg/tulip/transys/export
copying build/lib/tulip/transys/export/init.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/transys/export
copying build/lib/tulip/transys/export/save_d3.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/transys/export
copying build/lib/tulip/transys/export/graph2dot.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/transys/export
copying build/lib/tulip/transys/export/machine2scxml.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/transys/export
copying build/lib/tulip/transys/export/graph2promela.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/transys/export
copying build/lib/tulip/transys/transys.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/transys
copying build/lib/tulip/transys/compositions.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/transys
creating build/bdist.macosx-10.9-x86_64/egg/tulip/interfaces
copying build/lib/tulip/interfaces/gr1c.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/interfaces
copying build/lib/tulip/interfaces/omega.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/interfaces
copying build/lib/tulip/interfaces/lily.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/interfaces
copying build/lib/tulip/interfaces/init.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/interfaces
copying build/lib/tulip/interfaces/gr1py.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/interfaces
copying build/lib/tulip/interfaces/_inspect.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/interfaces
copying build/lib/tulip/interfaces/stormpy.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/interfaces
copying build/lib/tulip/interfaces/ltl2ba.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/interfaces
copying build/lib/tulip/interfaces/ltl2ba_parsetab.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/interfaces
copying build/lib/tulip/interfaces/slugs.py -> build/bdist.macosx-10.9-x86_64/egg/tulip/interfaces
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/abstract/plot.py to plot.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/abstract/discretization.py to discretization.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/abstract/init.py to init.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/abstract/find_controller.py to find_controller.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/abstract/prop2partition.py to prop2partition.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/abstract/feasible.py to feasible.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/graphics.py to graphics.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/synth.py to synth.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/_version.py to _version.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/hybrid.py to hybrid.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/gridworld.py to gridworld.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/spec/ltl_parsetab.py to ltl_parsetab.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/spec/transformation.py to transformation.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/spec/gr1_fragment.py to gr1_fragment.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/spec/init.py to init.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/spec/parser.py to parser.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/spec/lexyacc.py to lexyacc.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/spec/form.py to form.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/spec/translation.py to translation.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/spec/ast.py to ast.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/spec/prioritized_safety.py to prioritized_safety.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/dumpsmach.py to dumpsmach.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/init.py to init.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/mvp.py to mvp.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/transys/mathfunc.py to mathfunc.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/transys/automata.py to automata.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/transys/algorithms.py to algorithms.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/transys/machines.py to machines.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/transys/graph_algorithms.py to graph_algorithms.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/transys/init.py to init.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/transys/products.py to products.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/transys/mathset.py to mathset.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/transys/labeled_graphs.py to labeled_graphs.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/transys/cost.py to cost.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/transys/export/init.py to init.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/transys/export/save_d3.py to save_d3.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/transys/export/graph2dot.py to graph2dot.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/transys/export/machine2scxml.py to machine2scxml.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/transys/export/graph2promela.py to graph2promela.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/transys/transys.py to transys.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/transys/compositions.py to compositions.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/interfaces/gr1c.py to gr1c.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/interfaces/omega.py to omega.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/interfaces/lily.py to lily.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/interfaces/init.py to init.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/interfaces/gr1py.py to gr1py.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/interfaces/_inspect.py to _inspect.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/interfaces/stormpy.py to stormpy.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/interfaces/ltl2ba.py to ltl2ba.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/interfaces/ltl2ba_parsetab.py to ltl2ba_parsetab.cpython-38.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/tulip/interfaces/slugs.py to slugs.cpython-38.pyc
creating build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
copying tulip.egg-info/PKG-INFO -> build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
copying tulip.egg-info/SOURCES.txt -> build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
copying tulip.egg-info/dependency_links.txt -> build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
copying tulip.egg-info/requires.txt -> build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
copying tulip.egg-info/top_level.txt -> build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/tulip-1.4.0-py3.8.egg' and adding 'build/bdist.macosx-10.9-x86_64/egg' to it
removing 'build/bdist.macosx-10.9-x86_64/egg' (and everything under it)
Processing tulip-1.4.0-py3.8.egg
Removing /Users/kimiahassibi/Desktop/Caltech/SURF2023/env/lib/python3.8/site-packages/tulip-1.4.0-py3.8.egg
Copying tulip-1.4.0-py3.8.egg to /Users/kimiahassibi/Desktop/Caltech/SURF2023/env/lib/python3.8/site-packages
tulip 1.4.0 is already the active version in easy-install.pth

Installed /Users/kimiahassibi/Desktop/Caltech/SURF2023/env/lib/python3.8/site-packages/tulip-1.4.0-py3.8.egg
Processing dependencies for tulip==1.4.0
Searching for scipy==1.5.2
Best match: scipy 1.5.2
Adding scipy 1.5.2 to easy-install.pth file

Using /Users/kimiahassibi/Desktop/Caltech/SURF2023/env/lib/python3.8/site-packages
Searching for polytope==0.2.3
Best match: polytope 0.2.3
Processing polytope-0.2.3-py3.8.egg
polytope 0.2.3 is already the active version in easy-install.pth

Using /Users/kimiahassibi/Desktop/Caltech/SURF2023/env/lib/python3.8/site-packages/polytope-0.2.3-py3.8.egg
Searching for ply==3.10
Best match: ply 3.10
Processing ply-3.10-py3.8.egg
ply 3.10 is already the active version in easy-install.pth

Using /Users/kimiahassibi/Desktop/Caltech/SURF2023/env/lib/python3.8/site-packages/ply-3.10-py3.8.egg
Searching for omega==0.3.1
Best match: omega 0.3.1
Processing omega-0.3.1-py3.8.egg
omega 0.3.1 is already the active version in easy-install.pth

Using /Users/kimiahassibi/Desktop/Caltech/SURF2023/env/lib/python3.8/site-packages/omega-0.3.1-py3.8.egg
Searching for numpy==1.19.1
Best match: numpy 1.19.1
Adding numpy 1.19.1 to easy-install.pth file
Installing f2py script to /Users/kimiahassibi/Desktop/Caltech/SURF2023/env/bin
Installing f2py3 script to /Users/kimiahassibi/Desktop/Caltech/SURF2023/env/bin
Installing f2py3.8 script to /Users/kimiahassibi/Desktop/Caltech/SURF2023/env/bin

Using /Users/kimiahassibi/Desktop/Caltech/SURF2023/env/lib/python3.8/site-packages
Searching for networkx==3.1
Best match: networkx 3.1
Processing networkx-3.1-py3.8.egg
networkx 3.1 is already the active version in easy-install.pth

Using /Users/kimiahassibi/Desktop/Caltech/SURF2023/env/lib/python3.8/site-packages/networkx-3.1-py3.8.egg
Searching for graphviz==0.20.1
Best match: graphviz 0.20.1
Processing graphviz-0.20.1-py3.8.egg
graphviz 0.20.1 is already the active version in easy-install.pth

Using /Users/kimiahassibi/Desktop/Caltech/SURF2023/env/lib/python3.8/site-packages/graphviz-0.20.1-py3.8.egg
Searching for pydot==1.4.2
Best match: pydot 1.4.2
Processing pydot-1.4.2-py3.8.egg
pydot 1.4.2 is already the active version in easy-install.pth

Using /Users/kimiahassibi/Desktop/Caltech/SURF2023/env/lib/python3.8/site-packages/pydot-1.4.2-py3.8.egg
Searching for natsort==8.4.0
Best match: natsort 8.4.0
Processing natsort-8.4.0-py3.8.egg
natsort 8.4.0 is already the active version in easy-install.pth
Installing natsort script to /Users/kimiahassibi/Desktop/Caltech/SURF2023/env/bin

Using /Users/kimiahassibi/Desktop/Caltech/SURF2023/env/lib/python3.8/site-packages/natsort-8.4.0-py3.8.egg
Searching for humanize==4.6.0
Best match: humanize 4.6.0
Processing humanize-4.6.0-py3.8.egg
humanize 4.6.0 is already the active version in easy-install.pth

Using /Users/kimiahassibi/Desktop/Caltech/SURF2023/env/lib/python3.8/site-packages/humanize-4.6.0-py3.8.egg
Searching for dd==0.5.7
Best match: dd 0.5.7
Processing dd-0.5.7-py3.8.egg
dd 0.5.7 is already the active version in easy-install.pth

Using /Users/kimiahassibi/Desktop/Caltech/SURF2023/env/lib/python3.8/site-packages/dd-0.5.7-py3.8.egg
Searching for astutils==0.0.4
Best match: astutils 0.0.4
Processing astutils-0.0.4-py3.8.egg
astutils 0.0.4 is already the active version in easy-install.pth

Using /Users/kimiahassibi/Desktop/Caltech/SURF2023/env/lib/python3.8/site-packages/astutils-0.0.4-py3.8.egg
Searching for pyparsing==3.1.0
Best match: pyparsing 3.1.0
Processing pyparsing-3.1.0-py3.8.egg
pyparsing 3.1.0 is already the active version in easy-install.pth

Using /Users/kimiahassibi/Desktop/Caltech/SURF2023/env/lib/python3.8/site-packages/pyparsing-3.1.0-py3.8.egg
Searching for setuptools==56.0.0
Best match: setuptools 56.0.0
Adding setuptools 56.0.0 to easy-install.pth file

Using /Users/kimiahassibi/Desktop/Caltech/SURF2023/env/lib/python3.8/site-packages
Searching for psutil==5.9.5
Best match: psutil 5.9.5
Processing psutil-5.9.5-py3.8-macosx-10.9-x86_64.egg
psutil 5.9.5 is already the active version in easy-install.pth

Using /Users/kimiahassibi/Desktop/Caltech/SURF2023/env/lib/python3.8/site-packages/psutil-5.9.5-py3.8-macosx-10.9-x86_64.egg
Finished processing dependencies for tulip==1.4.0
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Failed to build PLY table. Please run setup.py again.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

@khassibi khassibi reopened this Jun 25, 2023
@khassibi
Copy link
Author

khassibi commented Jun 26, 2023

Hi, so I figured out that if I do the following commands in the main branch, then I get the error shown above, but if I do the commands in the eeci2020 branch, everything is successfully installed. Is the eeci2020 branch outdated, or is it fine for me to use?

pip install wheel
pip install cvxopt
pip install gr1py
pip install -r requirements.txt
python setup.py install
pip install numpy==1.19.1 scipy==1.5.2
python setup.py install

@slivingston
Copy link
Member

@khassibi It is outdated, but possibly not in a way that is significant for your work.

I am going to explore this issue more today. I will try a new Tulip installation on a MacBook with macOS 13.4.1 and arm64 (Apple Silicon).

@abadithela
Copy link

Hi @slivingston, has this issue been resolved? I'm happy to help fix it if it has not.

@slivingston
Copy link
Member

@abadithela Sorry, I missed your message. It is not resolved. If you have some time, your investigating it is welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants