Giter Club home page Giter Club logo

Comments (8)

usmcamp0811 avatar usmcamp0811 commented on May 27, 2024 4

apt-get install gcc g++ cmake

worked for me in a container I just built..

from multicore-tsne.

aCampello avatar aCampello commented on May 27, 2024 2

Installing cmake first with

pip install cmake

fixed it for met.

from multicore-tsne.

DmitryUlyanov avatar DmitryUlyanov commented on May 27, 2024 1

Would it be possible that you (@DmitryUlyanov) add cmake to requirements.txt (like cmake>=3.17.0 )? This would be great for automatic dependency solving and package builds and avoids issues as described above.

Thanks in advance!

Added!

from multicore-tsne.

peter24lin avatar peter24lin commented on May 27, 2024

Yea. I'm having a same error on my windows 10 system

from multicore-tsne.

fhausmann avatar fhausmann commented on May 27, 2024

Would it be possible that you (@DmitryUlyanov) add cmake to requirements.txt (like cmake>=3.17.0 )? This would be great for automatic dependency solving and package builds and avoids issues as described above.

Thanks in advance!

from multicore-tsne.

fhausmann avatar fhausmann commented on May 27, 2024

Would it be possible that you (@DmitryUlyanov) add cmake to requirements.txt (like cmake>=3.17.0 )? This would be great for automatic dependency solving and package builds and avoids issues as described above.
Thanks in advance!

Added!

Thanks a lot!

from multicore-tsne.

sruthi-hub avatar sruthi-hub commented on May 27, 2024

Installing cmake first with

pip install cmake

fixed it for met.

This doesn't fix the issue for me. I also followed instructions by @deepchatterjeevns from
#47

I have windows 10, python 3.7.0

Can someone provide any insight?

`(base) C:\Users\sruth>pip install --user MulticoreTSNE
Collecting MulticoreTSNE
Using cached MulticoreTSNE-0.1.tar.gz (20 kB)
Requirement already satisfied: numpy in c:\users\sruth\appdata\local\continuum\anaconda3\lib\site-packages (from MulticoreTSNE) (1.18.1)
Requirement already satisfied: cffi in c:\users\sruth\appdata\local\continuum\anaconda3\lib\site-packages (from MulticoreTSNE) (1.11.5)
Requirement already satisfied: pycparser in c:\users\sruth\appdata\local\continuum\anaconda3\lib\site-packages (from cffi->MulticoreTSNE) (2.18)
Building wheels for collected packages: MulticoreTSNE
Building wheel for MulticoreTSNE (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\sruth\appdata\local\continuum\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\sruth\AppData\Local\Temp\pip-install-hr0pqbio\multicoretsne\setup.py'"'"'; file='"'"'C:\Users\sruth\AppData\Local\Temp\pip-install-hr0pqbio\multicoretsne\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\sruth\AppData\Local\Temp\pip-wheel-hw97cm0g'
cwd: C:\Users\sruth\AppData\Local\Temp\pip-install-hr0pqbio\multicoretsne
Complete output (46 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\MulticoreTSNE
copying MulticoreTSNE_init_.py -> build\lib.win-amd64-3.7\MulticoreTSNE
creating build\lib.win-amd64-3.7\MulticoreTSNE\tests
copying MulticoreTSNE\tests\test_base.py -> build\lib.win-amd64-3.7\MulticoreTSNE\tests
copying MulticoreTSNE\tests_init_.py -> build\lib.win-amd64-3.7\MulticoreTSNE\tests
running egg_info
writing MulticoreTSNE.egg-info\PKG-INFO
writing dependency_links to MulticoreTSNE.egg-info\dependency_links.txt
writing requirements to MulticoreTSNE.egg-info\requires.txt
writing top-level names to MulticoreTSNE.egg-info\top_level.txt
reading manifest file 'MulticoreTSNE.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'MulticoreTSNE.egg-info\SOURCES.txt'
running build_ext
cmake version 3.18.4

CMake suite maintained and supported by Kitware (kitware.com/cmake).
-- Building for: NMake Makefiles
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:1 (PROJECT):
The CMAKE_CXX_COMPILER:

  cl

is not a full path and was not found in the PATH.

To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line.  This environment is
unable to invoke the cl compiler.  To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).

Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!
See also "C:/Users/sruth/AppData/Local/Temp/pip-install-hr0pqbio/multicoretsne/build/temp.win-amd64-3.7/Release/CMakeFiles/CMakeOutput.log".
See also "C:/Users/sruth/AppData/Local/Temp/pip-install-hr0pqbio/multicoretsne/build/temp.win-amd64-3.7/Release/CMakeFiles/CMakeError.log".

ERROR: Cannot generate Makefile. See above errors.

ERROR: Failed building wheel for MulticoreTSNE
Running setup.py clean for MulticoreTSNE
Failed to build MulticoreTSNE
Installing collected packages: MulticoreTSNE
Running setup.py install for MulticoreTSNE ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\sruth\appdata\local\continuum\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\sruth\AppData\Local\Temp\pip-install-hr0pqbio\multicoretsne\setup.py'"'"'; file='"'"'C:\Users\sruth\AppData\Local\Temp\pip-install-hr0pqbio\multicoretsne\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\sruth\AppData\Local\Temp\pip-record-c9ab2iz1\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\sruth\AppData\Roaming\Python\Python37\Include\MulticoreTSNE'
cwd: C:\Users\sruth\AppData\Local\Temp\pip-install-hr0pqbio\multicoretsne
Complete output (46 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\MulticoreTSNE
copying MulticoreTSNE_init_.py -> build\lib.win-amd64-3.7\MulticoreTSNE
creating build\lib.win-amd64-3.7\MulticoreTSNE\tests
copying MulticoreTSNE\tests\test_base.py -> build\lib.win-amd64-3.7\MulticoreTSNE\tests
copying MulticoreTSNE\tests_init_.py -> build\lib.win-amd64-3.7\MulticoreTSNE\tests
running egg_info
writing MulticoreTSNE.egg-info\PKG-INFO
writing dependency_links to MulticoreTSNE.egg-info\dependency_links.txt
writing requirements to MulticoreTSNE.egg-info\requires.txt
writing top-level names to MulticoreTSNE.egg-info\top_level.txt
reading manifest file 'MulticoreTSNE.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'MulticoreTSNE.egg-info\SOURCES.txt'
running build_ext
cmake version 3.18.4

CMake suite maintained and supported by Kitware (kitware.com/cmake).
-- Building for: NMake Makefiles
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:1 (PROJECT):
  The CMAKE_CXX_COMPILER:

    cl

  is not a full path and was not found in the PATH.

  To use the NMake generator with Visual C++, cmake must be run from a shell
  that can use the compiler cl from the command line.  This environment is
  unable to invoke the cl compiler.  To fix this problem, run cmake from the
  Visual Studio Command Prompt (vcvarsall.bat).

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
See also "C:/Users/sruth/AppData/Local/Temp/pip-install-hr0pqbio/multicoretsne/build/temp.win-amd64-3.7/Release/CMakeFiles/CMakeOutput.log".
See also "C:/Users/sruth/AppData/Local/Temp/pip-install-hr0pqbio/multicoretsne/build/temp.win-amd64-3.7/Release/CMakeFiles/CMakeError.log".

ERROR: Cannot generate Makefile. See above errors.
----------------------------------------

ERROR: Command errored out with exit status 1: 'c:\users\sruth\appdata\local\continuum\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\sruth\AppData\Local\Temp\pip-install-hr0pqbio\multicoretsne\setup.py'"'"'; file='"'"'C:\Users\sruth\AppData\Local\Temp\pip-install-hr0pqbio\multicoretsne\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\sruth\AppData\Local\Temp\pip-record-c9ab2iz1\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\sruth\AppData\Roaming\Python\Python37\Include\MulticoreTSNE' Check the logs for full command output.
WARNING: You are using pip version 20.2.4; however, version 20.3.3 is available.
You should consider upgrading via the 'c:\users\sruth\appdata\local\continuum\anaconda3\python.exe -m pip install --upgrade pip' command.
`

from multicore-tsne.

ShayeghB avatar ShayeghB commented on May 27, 2024

I have same issue

from multicore-tsne.

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.