Comments (10)
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.
Can you try updating to 0.4.9 on PyPI? I've updated dependencies.
from universal-portfolios.
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.
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.
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.
@Marigold, Any idea? Appreciate your help. Thanks
from universal-portfolios.
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.
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.
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.
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)
- It seem like the two functions "run" and "run_combination" do not calculate the same the total_wealth? HOT 6
- some question about the transaction cost code HOT 1
- Question about data format HOT 3
- Data reference HOT 2
- Convergence Issue: "Converged, but not successfully." and Weight Sum Not Equal to 1 HOT 3
- ModuleNotFoundError: No module named 'scipy.special'
- Question about data and TCO algorithm
- Invalid equity result using result weight
- MaybeEncodingError while using the run_combination() method
- Issue with Mac M1 HOT 2
- Data information HOT 3
- 2 questions HOT 1
- specifying the args of CORN class HOT 8
- a self.eta error in TCO
- Try to include transaction cost into OLMAR, but does not work HOT 1
- Assertion error # update logarithms, fees, etc. AssertionError:` HOT 2
- tools.simplex_project() returns the largest positive vector only? HOT 1
- There are several FeatureWarnings with the code
- Equity calculation, shift issue? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from universal-portfolios.