using colab code locally with Anaconda3 #101
Unanswered
StefanoGarzoni
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried to copy and paste the colab code concerning the video to count the vehicles during the detect with yolov8 (https://www.youtube.com/watch?v=OS5qI9YBkfk) and then to install the relative libraries in the environment Anaconda3, but when I try to install byteTrack (after importing the "library" code from github to my local folder), I follow this ladder:
pip3 install -q -r requirements.txt
python3 setup.py -q develop
pip install -q cython_bbox
pip install -q onemetric
for the first point he doesn't give me an answer and I think everything is ok, but
at the second point (python3 setup.py -q develop) it starts giving me the following error:
No CUDA runtime is found, using CUDA_HOME='C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7'
C:\ProgramData\Anaconda3\envs\countingYolo\lib\site-packages\setuptools\command\easy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
EasyInstallDeprecationWarning,
C:\ProgramData\Anaconda3\envs\countingYolo\lib\site-packages\setuptools\command\install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
error: can't create or remove files in install directory
The following error occurred while trying to add or remove files in the
install directory:
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
Perhaps your account does not have write access to this directory? If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account. If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.
For information on other options, you may wish to consult the
documentation at:
https://setuptools.pypa.io/en/latest/deprecated/easy_install.html
Please make the appropriate changes for your system and try again.
I'm still a beginner, but this world fascinates me a lot and I would love to be able to solve this problem with your help, what I would like to do is replicate the code and then try it locally with VScode and Anaconda and if anyone has suggestions on how to face, try to add also the way to do this detect in real time with different objects.
To anyone who can help me, thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions