Skip to content

It seems like the package on test.pypi needs to be updated - when running qsimcirq_test.py from a Docker image, I'm seeing the following error: #21

@iamvamsikrishnad

Description

@iamvamsikrishnad

@iamvamsikrishnad: It seems like the package on test.pypi needs to be updated - when running qsimcirq_test.py from a Docker image, I'm seeing the following error:

qsim-install      | ______________________ ERROR collecting qsimcirq_test.py _______________________
qsim-install      | ImportError while importing test module '/qsim/interfaces/tests/qsimcirq_test.py'.
qsim-install      | Hint: make sure your test modules/packages have valid Python names.
qsim-install      | Traceback:
qsim-install      | qsimcirq_test.py:18: in <module>
qsim-install      |     import qsimcirq.qsim_simulator as qsimSimulator
qsim-install      | /usr/local/lib/python3.7/dist-packages/qsimcirq/qsim_simulator.py:19: in <module>
qsim-install      |     import qsim
qsim-install      | E   ModuleNotFoundError: No module named 'qsim'

(note that import qsim has been replaced with from qsimcirq import qsim in the current version of qsim_simulator.py)

The Dockerfile in question can be seen in PR #20. The tests in that PR pass when the package is built from HEAD.

Originally posted by @95-martin-orion in #18 (comment)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions