GithubHelp home page GithubHelp logo

Comments (11)

PangWuGui avatar PangWuGui commented on August 19, 2024 1

Ayo that did the trick! Thank you so much guys <3

from unusualvolumedetector.

a-github-username avatar a-github-username commented on August 19, 2024

This isn't an issue with the code, it's an issue with you.

from unusualvolumedetector.

Connor9994 avatar Connor9994 commented on August 19, 2024

The line:

import pip

should be used if you're trying it in a Windows CMD of Python.

from unusualvolumedetector.

PangWuGui avatar PangWuGui commented on August 19, 2024

The line:

import pip

should be used if you're trying it in a Windows CMD of Python.

Thanks Connor! When I do this, I get the same message, just substituting 'import' for pip, ie 'The term 'import' is not recognised etc.'

from unusualvolumedetector.

Connor9994 avatar Connor9994 commented on August 19, 2024

Ahh you're new, new. Yeah python is always a pain in the ass in console imo (so my actual suggestion would be to use a real IDE to edit/run the code).

If you want to run it in CMD, python will need to be in your environmental variables (windows) or you will need to call the python exe from its specific location.

Let's say it's already installed into the environment

Open CMD

python

`>>>> import pip

pip -install`

from unusualvolumedetector.

PangWuGui avatar PangWuGui commented on August 19, 2024

Yeah, sorry about the stupid questions -- I realise this is a me issue not a code issue.

I'm using VS Code and both it and python are installed into the environment. This is what I get now:

UVD

from unusualvolumedetector.

Connor9994 avatar Connor9994 commented on August 19, 2024

Ahh so you're actually in powershell which (in my experience) requires the .\ before the location to specify look for this file in this folder. A good way to find what the application wants is to type "r" TAB and see if the auto fill corrects it.
15962150834016841495968670964513

For instance in my root directory I typed t then TAB and it cycles through all of the files starting with t (they're folders so it adds the \ afterwards)

from unusualvolumedetector.

Jhongithubuser avatar Jhongithubuser commented on August 19, 2024

Hi Pang,
I had the same Problem u need to install phyton
https://www.python.org/downloads/
when installing go to customized installation

image

then on the next page you need to check "add Phyton to environmental variables"

image

let the program install

after installation

let this website guide you it helped me a lot:

https://code.visualstudio.com/docs/python/python-tutorial

when you have your phyton intepreter set up

open in vsc the market_scanner .py file click the run button
image
then you will get errors because he cant find the variables

then type in the terminal the line pip install -r requirements.txt the phyton intepreter has to be selected

image

then it should work and the script is running:)

BR

from unusualvolumedetector.

PangWuGui avatar PangWuGui commented on August 19, 2024

Mmmhhh so that didn't work either, I kept getting the same message and I couldn't get it to auto-fill/cycle through, but I tried pip install and then I copy-pasted the 7 lines of requirements, and 6 of them were installed but yfinance still not :( Now it's like this:

UVD1

from unusualvolumedetector.

PangWuGui avatar PangWuGui commented on August 19, 2024

Oh cheers Jhongithubuser, I'll try that out!

from unusualvolumedetector.

Jhongithubuser avatar Jhongithubuser commented on August 19, 2024

👍

from unusualvolumedetector.

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.