![]() ![]() ✔ Successfully created virtual environment! Seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/Users//Library/Application Support/virtualenv)Īdded seed packages: pip=21.0.1, setuptools=52.0.0, wheel=0.36.2Īctivators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator ⠦ Creating virtual environment.created virtual environment CPython3.8.2.final.0-64 in 410msĬreator CPython3macOsFramework(dest=/Users//.local/share/virtualenvs/jupyter-l45QZaht, clear=False, no_vcs_ignore=False, global=False) Using /usr/bin/python3 (3.8.2) to create virtualenv. % pipenv install jupyterlabĬreating a virtualenv for this project. Then try it by running pipenv, and it works. Over at, I follow their install command: % pip install -user pipenv When I reopen the terminal and run pip, it works as expected. This is strange, why does it say that it installed pip 21, then tells me I am using pip 19?Īnyway, to finish I add Python's bin folder to the path with vim. You should consider upgrading via the '/Applications/Xcode.app/Contents/Developer/usr/bin/python3 -m pip install -upgrade pip' command. WARNING: You are using pip version 19.2.3 however, version 21.0.1 is available. WARNING: The scripts pip, pip3 and pip3.8 are installed in '/Users//Library/Python/3.8/bin' which is not on PATH.Ĭonsider adding this directory to PATH or, if you prefer to suppress this warning, use -no-warn-script-location. ![]() Instead I had to run python3 get-pip.py: % python3 get-pip.pyĭefaulting to user installation because normal site-packages is not writeableĭownloading pip-21.0.1-p圓-none-any.whl (1.5 MB) ![]() However, running python get-pip.py returned this error: ERROR: This script does not work on Python 2.7 The minimum supported Python version is 3.6. Installing pipįirst I had to install pip. If you're interested, you can read my notes of how I ended up with this solution. 1.20.* is known to not play well with TensorFlow. The only difference is, it forces numpy to use 1.19.5 instead of 1.20.*. You can skip the virtual env steps (assuming you have a virtual env activated through Conda) and just go straight to the pip install as mentioned above (steps 3 and later).Instead of using the provided yml, you should use this yml: name: apple_tensorflow Note: If you are using anaconda, the above will also work. ![]() If there is no 'zsh illegal hardware instruction" error you should be good to go. Step 4 Type python which will bring up >in your terminal and type > import tensorflow Pip install ~/Downloads/tensorflow-2.4.1-p圓-none-any.whl in your activated virtual environment Step 3.1 Assuming you simply installed the wheel to downloads run Step 3 Install the tensorflow wheel called tensorflow-2.4.1-p圓-none-any.whl located at this public google drive link Step 2.2 Activate that virtual environment by running source ENV/bin/activate Step 2.1 Create a virtual environment by running virtualenv ENV Step 2 Install virtualenv via pip install virtualenv Step 1.2 Once you have python version 3.8.5 running which you can check by running python -V which should output: Python 3.8.5 Step 1.1 Use this post( ) if you have troubles running pyenv in zsh. Step 1 Using pyenv install python version 3.8.5 and set it as your default python version. This worked for me after trying a bunch of solutions to no avail. ![]()
0 Comments
Leave a Reply. |