MikeM711 / Deep-Learning-Handwriting-Recognition

A React/Django web app that converts handwriting to text, using pre-trained deep learning neural network models (Python/Tensorflow/Keras)
https://handwriting-recognition-py-js.herokuapp.com/
33 stars 22 forks source link

how solve python version stock #13

Open johnfelipe opened 3 years ago

johnfelipe commented 3 years ago
root@uno-ubuntu-s-8vcpu-16gb-nyc1-01:~/Deep-Learning-Handwriting-Recognition# pipenv shell
Warning: Python 3.6 was not found on your system...
Neither 'pyenv' nor 'asdf' could be found to install Python.
You can specify specific versions of Python with:
$ pipenv --python path/to/python
johnfelipe commented 3 years ago

is not possible do it in 3.7?

johnfelipe commented 3 years ago
cd Deep-Learning-Handwriting-Recognition
npm install
npm audit fix
sudo -H pip install pipenv
python3 -m virtualenv --python=/usr/local/bin/python3.7 .venv

created virtual environment CPython3.7.5.final.0-64 in 163ms creator CPython3Posix(dest=/root/Deep-Learning-Handwriting-Recognition/.venv, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/root/.local/share/virtualenv) added seed packages: pip==21.1.2, setuptools==57.0.0, wheel==0.36.2 activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator

Activating the virtualenv

source .venv/bin/activate

Test the python path and version

which python

/root/Deep-Learning-Handwriting-Recognition/.venv/bin/Python python --version Python 3.7.5

pipenv shell

Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead. You can set PIPENV_VERBOSITY=-1 to suppress this warning. Launching subshell in virtual environment... root@two-ubuntu-s-8vcpu-16gb-nyc1-01:~/Deep-Learning-Handwriting-Recognition# . /root/Deep-Learning-Handwriting-Recognition/.venv/bin/activate

pip install -r requirements.txt

and this is errors

https://paste.md-5.net/ovayifiyuj.sql