Comments (7)
The pip version is completely outdated. I have rewritten the code using Cython in an attempt to speed it up, whereas the version on pip is pure Python. Have a look at the README file, there are instructions on installing MCycle from the source code here on Github.
from mcycle.
I install from github :)
pip search mcycle
mcycle (0.1.3) - Power cycle sizing and analysis package
INSTALLED: 1.0.1
LATEST: 0.1.3
from mcycle.
Great, so just to confirm: you are able to run quickstart.py successfully now? If so I'll close this Issue. Cheers :)
from mcycle.
Wait a moment...
I found i used "pip install -U -e ." to install.
Now i use "py setup.py install" to try.
from mcycle.
After i uninstall mcycle and remove git dir, i reclone source code from github and py setup.py install.
When i run py quickstart.py, i have error:
λ py quickstart.py
Traceback (most recent call last):
File "quickstart.py", line 3, in
import mcycle as mc
File "D:\python\36-64\lib\site-packages\mcycle-1.0.1-py3.6-win-amd64.egg\mcycle_init_.py", line 15, in
from . import bases
File "D:\python\36-64\lib\site-packages\mcycle-1.0.1-py3.6-win-amd64.egg\mcycle\bases_init_.py", line 1, in
from .mcabstractbase import MCAB
ModuleNotFoundError: No module named 'mcycle.bases.mcabstractbase'
:(
from mcycle.
Finally, I uninstall mcycle. And, directly import source git dir.
import sys
try:
sys.path.append(r"D:\git\MCycle_cpython\")
import mcycle as mc
except Exception as e:
print(f"import is error: {e}")
raise
Then, running quickstart.py is OK.
from mcycle.
great, I'll close this issue now
from mcycle.
Related Issues (7)
- `CXXABI_1.3.9' not found HOT 2
- References? HOT 2
- Example problem takes too long to solve HOT 2
- CoolProp installation instructions HOT 1
- Setting up MCycle issue HOT 2
- HxSimple HOT 4
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 mcycle.