Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
scikit-tensor package
#1
Hello,

I'm tring to install scikit-tensor package but iI have this problem

C:\>pip install scikit-tensor
Collecting scikit-tensor
Using cached scikit-tensor-0.1.tar.gz (42 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
ERROR: Can not execute setup.py since setuptools is not available in the build environment.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

I'm running with Python 3.9

Thank you very much!
Reply
#2
I messed around with this first thinking that you may not have an environment set up including setuptools but there are other, bigger problems. The version you are trying to install is for Python 2.7 (clue, got an error on installation about a malformed print statement missing parentheses). There is a version scikit-tensor-py3 that is for Python 3.5+. However I kept running into incompatible Numpy versions in my environment (conda, set up special test environ, installed numpy and pandas then this, python 3.8).
Not sure if others have solution but this is as far as I got, suspect you might do better with a different tensor system (tensorflow with keras is what I use)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Executing Scipy Tensor Product John_Doe 1 2,412 Dec-06-2019, 10:28 AM
Last Post: paul18fr
  Install tensor flow for Python 2.7 in Windows 10 ErnestTBass 4 6,697 Jul-26-2019, 02:11 PM
Last Post: ThomasL
  SciKit vs Dynamo vs Grasshopper/Dodo for A.I. Planner Project Julian 1 2,897 Jun-10-2019, 02:41 AM
Last Post: Larz60+
  Can you help me with this error? IndexError: invalid index of a 0-dim tensor. DerBerliner 1 4,196 Feb-28-2019, 05:47 PM
Last Post: Larz60+
  keras tensor mainpulation output to next input JohnyBeGood 0 2,053 Nov-21-2018, 03:30 PM
Last Post: JohnyBeGood
  Attribute Error while using tensor flow pratheep 2 6,628 Mar-16-2018, 10:50 AM
Last Post: pratheep
  Cannot run scikit-image in Python 3.6 newmanf 6 9,730 Feb-22-2018, 05:30 AM
Last Post: AjManoj
  Possible Scikit-Learn Import Issue? BlackHeart 2 7,194 Oct-26-2017, 04:07 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020