Skip to content

File not found error on Windows 10: setup script problem? #1

@jcrozum

Description

@jcrozum

I cannot get this to work; I get a FileNotFoundError. Here is an example.

PS C:\Users\jcroz\models> python
Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 16:30:00) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import stablemotifs
>>> sm = stablemotifs.load("test2.txt")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\jcroz\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\stablemotifs\__init__.py", line 112, in load
    stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 800, in __init__
    restore_signals, start_new_session)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1207, in _execute_child
    startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
>>> quit()
PS C:\Users\jcroz\models> cat test2.txt
xA*= xB
xB*= xA
xC*= xA or not xD
xD*= xC
xE*= xB and xF
xF*= xE

I installed via pip and the setup script output is

PS C:\Users\jcroz\AppData\Roaming> python -m stablemotifs_setup
# checking for stablemotifs
# installing colomoto/stablemotifs in C:\Users\jcroz\AppData\Roaming
downloading http://api.anaconda.org/download/colomoto/stablemotifs/1/noarch/stablemotifs-1-1.tar.bz2
installing C:\Users\jcroz\AppData\Roaming\opt/StableMotifs/README.TXT
installing C:\Users\jcroz\AppData\Roaming\opt/StableMotifs/lib/QuineMcCluskeyAlgorithm.jar
installing C:\Users\jcroz\AppData\Roaming\opt/StableMotifs/lib/FileClasses.jar
installing C:\Users\jcroz\AppData\Roaming\opt/StableMotifs/lib/JohnsonCycleAlgorithm.jar
installing C:\Users\jcroz\AppData\Roaming\opt/StableMotifs/StableMotifs.jar
installing C:\Users\jcroz\AppData\Roaming\opt/StableMotifs/lib/jgrapht-jdk1.6.jar
installing C:\Users\jcroz\AppData\Roaming\bin/StableMotifs

However, the supposedly installed files listed do not exist:

PS C:\Users\jcroz\AppData\Roaming> ls | grep opt
PS C:\Users\jcroz\AppData\Roaming> ls | grep bin
PS C:\Users\jcroz\AppData\Roaming> ls | grep StableMotifs
PS C:\Users\jcroz\AppData\Roaming>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions