Giter Site home page Giter Site logo

portfolio-optimization's People

Contributors

areed1192 avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

portfolio-optimization's Issues

Installation of repo.

Good morning and thanks for your awesome tutorials and repos.

Here to say that I'm sorry but there is now way to have 'pip install' working in the Visual studio Code + Python installation as by your precise indication in your 4 videos serie regarding installing, Using .\ pip it starts to install but ot stops showing a long list of Not availabilities files.

PS D:\documenti\python\portfolio-optimization> .\pip install -e.
Obtaining file:///D:/documenti/python/portfolio-optimization
Collecting requests==2.24.0
Using cached requests-2.24.0-py2.py3-none-any.whl (61 kB)
Collecting matplotlib==3.3.0
Using cached matplotlib-3.3.0-cp39-cp39-win_amd64.whl (8.8 MB)
Collecting numpy==1.19.0
Using cached numpy-1.19.0.zip (7.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\cinet\appdata\local\programs\python\python39\python.exe' 'c:\users\cinet\appdata\local\programs\python\python39\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\cinet\AppData\Local\Temp\tmputrfbdj9'
cwd: C:\Users\cinet\AppData\Local\Temp\pip-install-gfrmj2rn\numpy_2c3a6f2179a647888c43dd1fd588f5e8
Complete output (200 lines):
Running from numpy source directory.
setup.py:460: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
run_build = parse_setuppy_commands()
Processing numpy/random_bounded_integers.pxd.in
Processing numpy/random\bit_generator.pyx
Processing numpy/random\mtrand.pyx
Processing numpy/random_bounded_integers.pyx.in
Processing numpy/random_common.pyx
Processing numpy/random_generator.pyx
Processing numpy/random_mt19937.pyx
Processing numpy/random_pcg64.pyx
Processing numpy/random_philox.pyx
Processing numpy/random_sfc64.pyx
Cythonizing sources
blas_opt_info:
blas_mkl_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries mkl_rt not found in ['c:\users\cinet\appdata\local\programs\python\python39\lib', 'C:\', 'c:\users\cinet\appdata\local\programs\python\python39\libs']
NOT AVAILABLE

blis_info:
  libraries blis not found in ['c:\\users\\cinet\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\cinet\\appdata\\local\\programs\\python\\python39\\libs']
  NOT AVAILABLE

openblas_info:
  libraries openblas not found in ['c:\\users\\cinet\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\cinet\\appdata\\local\\programs\\python\\python39\\libs']
get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
customize GnuFCompiler
Could not locate executable g77
Could not locate executable f77
customize IntelVisualFCompiler
Could not locate executable ifort
Could not locate executable ifl
customize AbsoftFCompiler
Could not locate executable f90
customize CompaqVisualFCompiler
Could not locate executable DF
customize IntelItaniumVisualFCompiler
Could not locate executable efl
customize Gnu95FCompiler
Could not locate executable gfortran
Could not locate executable f95
customize G95FCompiler
Could not locate executable g95
customize IntelEM64VisualFCompiler
customize IntelEM64TFCompiler
Could not locate executable efort
Could not locate executable efc
customize PGroupFlangCompiler
Could not locate executable flang
don't know how to compile Fortran code on platform 'nt'
  NOT AVAILABLE

atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries tatlas not found in ['c:\\users\\cinet\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\cinet\\appdata\\local\\programs\\python\\python39\\libs']
  NOT AVAILABLE

atlas_3_10_blas_info:
  libraries satlas not found in ['c:\\users\\cinet\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\cinet\\appdata\\local\\programs\\python\\python39\\libs']
  NOT AVAILABLE

Note: IT KEEPS WITH SEVERAL OTHER ERROR MESSAGES.


It also indicates as error in the console for client.py: "Import "fake_useragent" could not be resolved." . }" If there are other installations to do please indicated it. Many thanks. {
"resource": "/d:/documenti/python/portfolio-optimization/pyopt/client.py",
"owner": "generated_diagnostic_collection_name#1",
"code": {
"value": "reportMissingImports",
"target": {
"$mid": 1,
"external": "https://github.com/microsoft/pylance-release/blob/main/DIAGNOSTIC_SEVERITY_RULES.md#diagnostic-severity-rules",
"path": "/microsoft/pylance-release/blob/main/DIAGNOSTIC_SEVERITY_RULES.md",
"scheme": "https",
"authority": "github.com",
"fragment": "diagnostic-severity-rules"
}
},
"severity": 4,
"message": "Import "fake_useragent" could not be resolved",
"source": "Pylance",
"startLineNumber": 12,
"startColumn": 6,
"endLineNumber": 12,
"endColumn": 20

Error on running

Hello, when runs, the script, copied by the video on Yt, finds this error:

NameError: name 'UserAgent' is not defined

NameError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_11624/522131220.py in
11 price_history_client = PriceHistory(
12 symbols = symbols,
---> 13 user_agent=UserAgent().edge
14 )
15

NameError: name 'UserAgent' is not defined

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.