You should consider upgrading via the '/Users/mc/Documents/PhD/Code/keras_spiking_env/Users/mc/Documents/PhD/Code/keras_spiking_env/bin/python3 -m pip install -upgrade pip' command. WARNING: You are using pip version 22.0.4 however, version 22.3.1 is available. keras_spiking_env/Users/mc/Documents/PhD/Code/keras_spiking_env/lib/python3.9/site-packages (from keras-spiking=0.3.1.dev0) (1.24.1)ĮRROR: Could not find a version that satisfies the requirement tensorflow>=2.1.0 (from keras-spiking) (from versions: none)ĮRROR: No matching distribution found for tensorflow>=2.1.0 Requirement already satisfied: numpy>=1.16.0 in. keras_spiking_env/Users/mc/Documents/PhD/Code/keras_spiking_env/lib/python3.9/site-packages (from keras-spiking=0.3.1.dev0) (23.0) Requirement already satisfied: packaging>=20.0 in. Preparing editable metadata (pyproject.toml). Obtaining file:///Users/mc/Documents/PhD/Code/keras-spikingĬhecking if build backend supports build_editable. (keras_spiking_env) (base) Code % pip install -e /Users/mc/Documents/PhD/Code/keras-spiking I got this error cause it does not find tensorflow as I installed tensorflow-macos and tensorflow-metal but not the simple tensorflow: However, when I am running the last install: I tried to follow your steps and used venv instead of conda. If you have any further questions, please reach out However, as you’re using anaconda you may face another issue. That’s how I got the Jupyter notebook running on my M1 machine. py file as usual: import tensorflow as tf Does VS Code run on Mac M1 machinesAnaconda command prompt mac. Now you can simply import the packages in your. How do I install Anaconda on a Mac 1 Answer 1. Pip install -e /path/to/keras-spiking # installs local copy of keras-spiking repo with adjusted setup.py Pip install tensorflow-metal # GPU support for Apple Silicon chips Pip install tensorflow-macos # installs Apple Silicon-compatible tensorflow package Source venv/bin/activate # activates the venv venv # creates the virtual environment in the current project folder Thus, I had to create a temporal workaround ( see).Īfter changing the setup.py (see above PR), my procedure was: python3 -m venv. This is due to the fact that tensorflow-macos is not recognized as tensorflow. I’ve initially had issues with installing keras-spiking on my Apple Silicon machine using a virtual environment and pip install keras-spiking.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |