GithubHelp home page GithubHelp logo

Comments (2)

rbodo avatar rbodo commented on July 24, 2024

You are missing a spinnaker-related dependency. You can try installing it from here:
https://devpick.io/project?name=pabogdan/keras_rewiring
This code has been contributed by the spinnaker team and I can't offer support for it, please contact them directly in case of issues.

from snn_toolbox.

sauravtii avatar sauravtii commented on July 24, 2024

I followed the instructions mentioned in the link but faced the following issues while installing it:

After using python setup.py develop

running develop
/home/saurav/miniconda3/envs/tf/lib/python3.9/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/home/saurav/miniconda3/envs/tf/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running egg_info
creating keras_rewiring.egg-info
writing keras_rewiring.egg-info/PKG-INFO
writing dependency_links to keras_rewiring.egg-info/dependency_links.txt
writing requirements to keras_rewiring.egg-info/requires.txt
writing top-level names to keras_rewiring.egg-info/top_level.txt
writing manifest file 'keras_rewiring.egg-info/SOURCES.txt'
reading manifest file 'keras_rewiring.egg-info/SOURCES.txt'
writing manifest file 'keras_rewiring.egg-info/SOURCES.txt'
running build_ext
Creating /home/saurav/miniconda3/envs/tf/lib/python3.9/site-packages/keras-rewiring.egg-link (link to .)
Adding keras-rewiring 0.0.1 to easy-install.pth file

Installed /home/saurav/keras_rewiring
Processing dependencies for keras-rewiring==0.0.1
Searching for colorama
Reading https://pypi.org/simple/colorama/
/home/saurav/miniconda3/envs/tf/lib/python3.9/site-packages/pkg_resources/__init__.py:122: PkgResourcesDeprecationWarning:  is an invalid version and will not be supported in a future release
  warnings.warn(
Downloading https://files.pythonhosted.org/packages/77/8b/7550e87b2d308a1b711725dfaddc19c695f8c5fa413c640b2be01662f4e6/colorama-0.4.5-py2.py3-none-any.whl#sha256=854bf444933e37f5824ae7bfc1e98d5bce2ebe4160d46b5edf346a89358e99da
Best match: colorama 0.4.5
Processing colorama-0.4.5-py2.py3-none-any.whl
Installing colorama-0.4.5-py2.py3-none-any.whl to /home/saurav/miniconda3/envs/tf/lib/python3.9/site-packages
Adding colorama 0.4.5 to easy-install.pth file

Installed /home/saurav/miniconda3/envs/tf/lib/python3.9/site-packages/colorama-0.4.5-py3.9.egg
Searching for statsmodel
Reading https://pypi.org/simple/statsmodel/
Couldn't find index page for 'statsmodel' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.org/simple/
No local packages or working download links found for statsmodel
error: Could not find suitable distribution for Requirement.parse('statsmodel')

After using python setup.py install

running install
/home/saurav/miniconda3/envs/tf/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/home/saurav/miniconda3/envs/tf/lib/python3.9/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running bdist_egg
running egg_info
writing keras_rewiring.egg-info/PKG-INFO
writing dependency_links to keras_rewiring.egg-info/dependency_links.txt
writing requirements to keras_rewiring.egg-info/requires.txt
writing top-level names to keras_rewiring.egg-info/top_level.txt
reading manifest file 'keras_rewiring.egg-info/SOURCES.txt'
writing manifest file 'keras_rewiring.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
warning: install_lib: 'build/lib' does not exist -- no Python modules to install

creating build
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying keras_rewiring.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying keras_rewiring.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying keras_rewiring.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying keras_rewiring.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying keras_rewiring.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/keras_rewiring-0.0.1-py3.9.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing keras_rewiring-0.0.1-py3.9.egg
Copying keras_rewiring-0.0.1-py3.9.egg to /home/saurav/miniconda3/envs/tf/lib/python3.9/site-packages
Removing keras-rewiring 0.0.1 from easy-install.pth file
Adding keras-rewiring 0.0.1 to easy-install.pth file

Installed /home/saurav/miniconda3/envs/tf/lib/python3.9/site-packages/keras_rewiring-0.0.1-py3.9.egg
Processing dependencies for keras-rewiring==0.0.1
Searching for statsmodel
Reading https://pypi.org/simple/statsmodel/
Couldn't find index page for 'statsmodel' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.org/simple/
No local packages or working download links found for statsmodel
error: Could not find suitable distribution for Requirement.parse('statsmodel')

I have also raied this query on the official group of SpiNNaker, but trying it over here as well if anyone might know the solution to it.

from snn_toolbox.

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.