Giter Club home page Giter Club logo

Comments (4)

marcharper avatar marcharper commented on August 16, 2024

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.

 avatar commented on August 16, 2024

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.

 avatar commented on August 16, 2024

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.

marcharper avatar marcharper commented on August 16, 2024

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)

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.