Code Monkey home page Code Monkey logo

Comments (8)

TakeoIschiFan avatar TakeoIschiFan commented on June 12, 2024

Probable duplicate of #35 when not running the script inside the main code folder.

Try issueing a cd c:/Users/kevin/OneDrive/Documents/Automated-HoloCure-Fishing-master command first, or open a command line in the holocure fishing folder.
Let me know if that solves the issue.

from automated-holocure-fishing.

PandHerisson avatar PandHerisson commented on June 12, 2024

Sorry i used visual studio for the code so i don't know how i am supposed open a command line in the holocure fishing folder or do the first option and i'm not good at coding etc. But I saw that NopeAnon said in #35 that i could use the launch_python.bat by it just don't work like my screen flash the command console and then nothing.

from automated-holocure-fishing.

aap007freak avatar aap007freak commented on June 12, 2024

I'll try to be a bit more explicit:

  1. Open the Automated-HoloCure-Fishing folder in file explorer.
  2. In the top adress bar, remove the path, type "cmd" and press enter. A terminal window should now pop up.
  3. You should check that the terminal is indeed in the correct folder (the path is displayed before the ">" in the terminal).
  4. Type "prepare.bat" and press enter. This will execute the prepare.bat script (same thing as double clicking it)
  5. After the script finishes use should see a (.venv) prefix before the ">"
  6. type "python holocure_fishing.py". This should execute the main program.

Let me know if you fail at any of these steps. I agree the setup steps in the readme are bit confusing I am working on improving them.

from automated-holocure-fishing.

PandHerisson avatar PandHerisson commented on June 12, 2024

It gave me an error saying that there is no module named "cv2"

from automated-holocure-fishing.

TakeoIschiFan avatar TakeoIschiFan commented on June 12, 2024

It gave me an error saying that there is no module named "cv2"

At step 6? You sure you typed prepare.bat in the terminal first first?

from automated-holocure-fishing.

PandHerisson avatar PandHerisson commented on June 12, 2024

Capture d'écran 2023-10-14 223009

from automated-holocure-fishing.

TakeoIschiFan avatar TakeoIschiFan commented on June 12, 2024

That's really weird, I think its mixing up your global python environment and the virtual environment?
@PandHerisson Can you try opening up a terminal in the holocure fishing folder again, delete the .venv folder if it exists and execute the following commands:

  • python -m venv .venv
  • .venv\Scripts\pip.exe install -r requirements.txt
  • .venv\Scripts\python.exe holocure_fishing.py

if that doesn't fix it then I have no idea tbf

from automated-holocure-fishing.

PandHerisson avatar PandHerisson commented on June 12, 2024

Thank you so much it finally worked

from automated-holocure-fishing.

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.