Code Monkey home page Code Monkey logo

Comments (10)

Marigold avatar Marigold commented on June 23, 2024

Hey @sabirjana, python 3.9+ is not yet supported. Can you try 3.8 (using e.g. pyenv)? I'll see if I can update libraries to support 3.9+ this week.

from universal-portfolios.

Marigold avatar Marigold commented on June 23, 2024

Can you try updating to 0.4.9 on PyPI? I've updated dependencies.

from universal-portfolios.

sabirjana avatar sabirjana commented on June 23, 2024

Hi @Marigold, Appreciate your response however I am still facing the issue. Please see the below error.

    LINK : fatal error LNK1181: cannot open input file 'm.lib'
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\link.exe' failed with exit code 1181
    ----------------------------------------
  Rolling back uninstall of cvxopt
  Moving to c:\programdata\anaconda3\lib\site-packages\cvxopt-1.3.0.dist-info\
   from C:\ProgramData\Anaconda3\Lib\site-packages\~vxopt-1.3.0.dist-info
  Moving to c:\programdata\anaconda3\lib\site-packages\cvxopt\
   from C:\ProgramData\Anaconda3\Lib\site-packages\~vxopt
ERROR: Command errored out with exit status 1: 'C:\ProgramData\Anaconda3\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Sabir Jana\\AppData\\Local\\Temp\\pip-install-qs8m45zl\\cvxopt_ee84c1009af14e588b9a863a322050ae\\setup.py'"'"'; __file__='"'"'C:\\Users\\Sabir Jana\\AppData\\Local\\Temp\\pip-install-qs8m45zl\\cvxopt_ee84c1009af14e588b9a863a322050ae\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Sabir Jana\AppData\Local\Temp\pip-record-ryx3urbi\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\ProgramData\Anaconda3\Include\cvxopt' Check the logs for full command output.

from universal-portfolios.

Marigold avatar Marigold commented on June 23, 2024

Can you install pip install cvxopt separately without errors? If yes, I can try updating to the latest version, if not then the problem is somewhere on your end (I don't have windows machine to debug).

from universal-portfolios.

sabirjana avatar sabirjana commented on June 23, 2024

It is already there however still the error.

(base) C:\windows\system32>pip install cvxopt
Requirement already satisfied: cvxopt in c:\programdata\anaconda3\lib\site-packages (1.3.0)

(base) C:\windows\system32>

from universal-portfolios.

sabirjana avatar sabirjana commented on June 23, 2024

@Marigold, Any idea? Appreciate your help. Thanks

from universal-portfolios.

Marigold avatar Marigold commented on June 23, 2024

I've updated the library to use cvxopt 1.3.0. That's the most I can do unfortunately. Fingers crossed it will work.

from universal-portfolios.

sabirjana avatar sabirjana commented on June 23, 2024

Many thanks!! I could able to install however it is conflicting with seaborn==0.11.2, Below is the code snippet regarding conflicts.

Installing collected packages: seaborn
  Attempting uninstall: seaborn
    Found existing installation: seaborn 0.10.1
    Uninstalling seaborn-0.10.1:
      Successfully uninstalled seaborn-0.10.1
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
universal-portfolios 0.4.10 requires seaborn<0.11.0,>=0.10.1, but you have seaborn 0.11.2 which is incompatible.
dtale 2.2.0 requires plotly>=5.0.0; python_version >= "3.6", but you have plotly 4.14.3 which is incompatible.
dtale 2.2.0 requires scikit-learn==0.24.2; python_version > "3.0", but you have scikit-learn 1.1.1 which is incompatible

from universal-portfolios.

Marigold avatar Marigold commented on June 23, 2024

It's meant to be installed in virtualenv (or you'd have to downgrade seaborn). You should probably just install it with pip install --no-deps and install missing dependencies manually (if you see an error about missing library when running some code).

from universal-portfolios.

sabirjana avatar sabirjana commented on June 23, 2024

After you updated cvxopt 1.3.0, I install universal-portfolios and that downgraded some of the packages such as seaborn. I upgraded these packages afterward and it works. Thanks!

from universal-portfolios.

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.