Comments (4)
Thanks. Based on our gitter conversation I'm guessing that at some point you did not have this issue? I'm trying to pinpoint if there was a specific change or commit that caused the issue. Also:
- If you run python from the
python-ternary
directory do you still have the error? - What version of matplotlib is installed?
I suspect this is a packaging/windows issue since I'm not able to reproduce with anaconda on Ubuntu. If you look at the last line of __init__.py
you can see that figure
is explicitly imported. So it's there, and import ternary
doesn't throw an exception, we just need to figure out why.
Also, if you have multiple versions of python on your system, you may need to specify the full path to python during the install command. In other words instead of
python setup.py install
try
C:\full_path\to\anaconda\python setup.py install
from python-ternary.
Yes I had ternary working perhaps 1 1/2 weeks ago before I had some Path problems between ArcGIS python and anaconda (had to reinstall everything)
I noticed that when I run pip uninstall ternary that it only removes the files
c:\anaconda2\lib\site-packages\setup.py
c:\anaconda2\lib\site-packages\setup.pyc
c:\anaconda2\lib\site-packages\ternary-0.1.dist-info\description.rst
c:\anaconda2\lib\site-packages\ternary-0.1.dist-info\installer
c:\anaconda2\lib\site-packages\ternary-0.1.dist-info\metadata
c:\anaconda2\lib\site-packages\ternary-0.1.dist-info\metadata.json
c:\anaconda2\lib\site-packages\ternary-0.1.dist-info\record
c:\anaconda2\lib\site-packages\ternary-0.1.dist-info\top_level.txt
c:\anaconda2\lib\site-packages\ternary-0.1.dist-info\wheel
c:\anaconda2\lib\site-packages\ternary.py
c:\anaconda2\lib\site-packages\ternary.pyc
Running
c:\Anaconda2>python.exe C:\Users\install\Downloads\python-ternary-master\python- ternary-master\setup.py install
Traceback (most recent call last):
File "C:\Users\install\Downloads\python-ternary-master\python-ternary-master\s etup.py", line 4, in <module>
with open('README.txt') as file:
IOError: [Errno 2] No such file or directory: 'README.txt'
from python-ternary.
I have solved the issue by simply copying the ternary folder into the site-packages location of Anaconda. There appears to be an issue with the setup.py installation. I do not know if this only occurs on my system.
from python-ternary.
Great, I'll leave it open for a few days in case this is an issue for anyone else.
from python-ternary.
Related Issues (20)
- Scatter creates equilateral plot HOT 1
- Question on ternary heatmap plot HOT 1
- Can not set the limits of each axis? HOT 1
- Heatmap scale greater than 1 vs less than equal to 1 HOT 4
- Cut off top of triangle? HOT 5
- Problem in making the ternary heatmap if the key interval is not 1. HOT 1
- TernaryAxesSubplot.scatter() skips first default color in version 1.0.8 HOT 1
- How to plot the Ternary Choropleth Map? HOT 3
- Heatmap polygon triangles and gridlines don't meet exactly HOT 4
- Blank Heatmap HOT 6
- Plot Blocking Option
- Custom Axis Directions HOT 2
- Cannot set transparent background HOT 1
- Issues with corner label positions under panning/zooming HOT 4
- change font, and output an equilateral triangle HOT 2
- Can't find a way that works to reduce label overlap. HOT 2
- Update installation metadata
- Remove number
- Text annotations HOT 1
- Add pyproject.toml file for python 3.12
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 python-ternary.