Giter Site home page Giter Site logo

Comments (12)

panandreou avatar panandreou commented on August 16, 2024

Cannot install deeptime.
----- Installing 'deeptime==0.4.2' -----
Collecting deeptime==0.4.2
Using cached deeptime-0.4.2.tar.gz (390 kB)
Installing build dependencies: started
Installing build dependencies: still running...
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: threadpoolctl in c:\users\pandreou\appdata\local\programs\python\python310\lib\site-packages (from deeptime==0.4.2) (3.1.0)
Requirement already satisfied: scipy in c:\users\pandreou\appdata\local\programs\python\python310\lib\site-packages (from deeptime==0.4.2) (1.9.0)
Requirement already satisfied: numpy in c:\users\pandreou\appdata\local\programs\python\python310\lib\site-packages (from deeptime==0.4.2) (1.23.2)
Requirement already satisfied: scikit-learn in c:\users\pandreou\appdata\local\programs\python\python310\lib\site-packages (from deeptime==0.4.2) (1.1.2)
Requirement already satisfied: joblib>=1.0.0 in c:\users\pandreou\appdata\local\programs\python\python310\lib\site-packages (from scikit-learn->deeptime==0.4.2) (1.1.0)
Building wheels for collected packages: deeptime
Building wheel for deeptime (pyproject.toml): started
Building wheel for deeptime (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error

Building wheel for deeptime (pyproject.toml) did not run successfully.
exit code: 1

[295 lines of output]
C:\Users\pandreou\AppData\Local\Temp\pip-build-env-nhmdyqlg\overlay\Lib\site-packages\setuptools\config_apply_pyprojecttoml.py:196: UserWarning: install_requires overwritten in pyproject.toml (dependencies)
warnings.warn(msg)


-- Trying "Ninja (Visual Studio 17 2022 x64 v143)" generator






--
Not searching for unused variables given on the command line.
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
-- Configuring incomplete, errors occurred!
See also "C:/Users/pandreou/AppData/Local/Temp/pip-install-dpfr52i_/deeptime_34db8d17a86042198c72f43c5b8e0ad5/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".







-- Trying "Ninja (Visual Studio 17 2022 x64 v143)" generator - failure


-- Trying "Visual Studio 17 2022 x64 v143" generator






--
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Generator

  Visual Studio 17 2022

could not find any instance of Visual Studio.

-- Configuring incomplete, errors occurred!
See also "C:/Users/pandreou/AppData/Local/Temp/pip-install-dpfr52i_/deeptime_34db8d17a86042198c72f43c5b8e0ad5/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".







-- Trying "Visual Studio 17 2022 x64 v143" generator - failure


-- Trying "Ninja (Visual Studio 16 2019 x64 v142)" generator






--
Not searching for unused variables given on the command line.
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
-- Configuring incomplete, errors occurred!
See also "C:/Users/pandreou/AppData/Local/Temp/pip-install-dpfr52i_/deeptime_34db8d17a86042198c72f43c5b8e0ad5/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".







-- Trying "Ninja (Visual Studio 16 2019 x64 v142)" generator - failure


-- Trying "Visual Studio 16 2019 x64 v142" generator






--
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Generator

  Visual Studio 16 2019

could not find any instance of Visual Studio.

-- Configuring incomplete, errors occurred!
See also "C:/Users/pandreou/AppData/Local/Temp/pip-install-dpfr52i_/deeptime_34db8d17a86042198c72f43c5b8e0ad5/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".







-- Trying "Visual Studio 16 2019 x64 v142" generator - failure


-- Trying "Ninja (Visual Studio 15 2017 x64 v141)" generator






--
Not searching for unused variables given on the command line.
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
-- Configuring incomplete, errors occurred!
See also "C:/Users/pandreou/AppData/Local/Temp/pip-install-dpfr52i_/deeptime_34db8d17a86042198c72f43c5b8e0ad5/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".







-- Trying "Ninja (Visual Studio 15 2017 x64 v141)" generator - failure


-- Trying "Visual Studio 15 2017 x64 v141" generator






--
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Generator

  Visual Studio 15 2017

could not find any instance of Visual Studio.

-- Configuring incomplete, errors occurred!
See also "C:/Users/pandreou/AppData/Local/Temp/pip-install-dpfr52i_/deeptime_34db8d17a86042198c72f43c5b8e0ad5/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".







-- Trying "Visual Studio 15 2017 x64 v141" generator - failure


-- Trying "NMake Makefiles (Visual Studio 17 2022 x64 v143)" generator






--
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Running

Failed to build deeptime
'nmake' '-?'

failed with:

 The system cannot find the file specified

-- Configuring incomplete, errors occurred!
See also "C:/Users/pandreou/AppData/Local/Temp/pip-install-dpfr52i_/deeptime_34db8d17a86042198c72f43c5b8e0ad5/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".







-- Trying "NMake Makefiles (Visual Studio 17 2022 x64 v143)" generator - failure


-- Trying "NMake Makefiles (Visual Studio 16 2019 x64 v142)" generator






--
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Running

 'nmake' '-?'

failed with:

 The system cannot find the file specified

-- Configuring incomplete, errors occurred!
See also "C:/Users/pandreou/AppData/Local/Temp/pip-install-dpfr52i_/deeptime_34db8d17a86042198c72f43c5b8e0ad5/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".







-- Trying "NMake Makefiles (Visual Studio 16 2019 x64 v142)" generator - failure


-- Trying "NMake Makefiles (Visual Studio 15 2017 x64 v141)" generator






--
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:2 (PROJECT):
Running

 'nmake' '-?'

failed with:

 The system cannot find the file specified

-- Configuring incomplete, errors occurred!
See also "C:/Users/pandreou/AppData/Local/Temp/pip-install-dpfr52i_/deeptime_34db8d17a86042198c72f43c5b8e0ad5/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".







-- Trying "NMake Makefiles (Visual Studio 15 2017 x64 v141)" generator - failure


scikit-build could not get a working generator for your system. Aborting build.

Building windows wheels for Python 3.10 requires Microsoft Visual Studio 2022.
Get it with "Visual Studio 2017":

https://visualstudio.microsoft.com/vs/

Or with "Visual Studio 2019":

https://visualstudio.microsoft.com/vs/

Or with "Visual Studio 2022":

https://visualstudio.microsoft.com/vs/

[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for deeptime
ERROR: Could not build wheels for deeptime, which is required to install pyproject.toml-based projects
----- Failed to install 'deeptime==0.4.2' -----

from deeptime.

clonker avatar clonker commented on August 16, 2024

Hi, if you try to install deeptime with pip, it will locally compile the code. This only works, if you have visual studio installed (as indicated by the error message). Alternatively, you can use the precompiled binaries shipped by anaconda with conda install -c conda-forge deeptime.

from deeptime.

panandreou avatar panandreou commented on August 16, 2024

from deeptime.

clonker avatar clonker commented on August 16, 2024

Hey, could you post the entire error message? and/or invoke with pip install deeptime -v? you can also attach it here as text file (drag and drop).

from deeptime.

panandreou avatar panandreou commented on August 16, 2024

from deeptime.

panandreou avatar panandreou commented on August 16, 2024

from deeptime.

clonker avatar clonker commented on August 16, 2024

Hey thanks for this information! It still looks like Visual Studio is not set up correctly. In any case, I went ahead and compiled the trunk version of deeptime on windows for you, it is attached to this post. You can install it by first unzipping and then with pip install deeptime-0.4.2+14.g153d9f6-cp310-cp310-win_amd64.whl. Let me know if that worked 🙂

deeptime-0.4.2+14.g153d9f6-cp310-cp310-win_amd64.zip

from deeptime.

panandreou avatar panandreou commented on August 16, 2024

from deeptime.

panandreou avatar panandreou commented on August 16, 2024

from deeptime.

clonker avatar clonker commented on August 16, 2024

Great, you're welcome!

from deeptime.

panandreou avatar panandreou commented on August 16, 2024

from deeptime.

clonker avatar clonker commented on August 16, 2024

Hi there, this looks like your whole environment is somehow broken. I recommend removing anaconda and installing miniforge. Then simply conda install deeptime. 🙂

from deeptime.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.