Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
scripts pysmt, pysmt-shell, pysmt-install fail with import errors #48
I did pip install pysmt, but when I run any of the scripts, I get an import error.
On running pysmt or pysmt-shell: ImportError: No module named shell
Did you guys simply miss including install.py, shell.py while building the pypi package? I'm seeing the following diff between
diff -rq pysmt-0.2.3-github/ pysmt-0.2.3-pypi/
Indeed it seems that install.py and shell.py are not distributed:
Thanks for such a quick fix, Marco and Andrea! I'm looking forward to using pySMT. I came to it while looking for python interface for CVC4. What you're building is even better: a simple expression language, and a solver-agnostic interface. I'm hoping it to be quite useful in my project.
Also, I stumbled upon the above bug when trying to build a conda package for pySMT. You might be aware that conda is (yet another) package manager, which comes with the Anaconda python distribution. With the bug fixed, I was able to build a pySMT package for conda, using the following commands:
I uploaded the resulting package at https://binstar.org/rhishi/pysmt. It can be installed using the following command: