Code Monkey home page Code Monkey logo

Comments (14)

theholy7 avatar theholy7 commented on July 19, 2024 4

Please push this fix so we can pip install createsend without workarounds

from createsend-python.

kamusin avatar kamusin commented on July 19, 2024 2

Same problem here

from createsend-python.

SpainTrain avatar SpainTrain commented on July 19, 2024

Silver lining: it probably means that #34 can be closed?

from createsend-python.

phg49389 avatar phg49389 commented on July 19, 2024

I have the same error, as well.

from createsend-python.

lomaxap avatar lomaxap commented on July 19, 2024

Same error here. Went with pip install createsend==4.2.1 which worked.

from createsend-python.

djstein avatar djstein commented on July 19, 2024

problem is located here for python3 users: https://github.com/campaignmonitor/createsend-python/blob/master/createsend/__init__.py

the recursive imports at the top break everything, help would be appreciated on fixing the structure. @phg49389 @LomaxRx @kamusin @jbub

from createsend-python.

djstein avatar djstein commented on July 19, 2024

fixed this on pull request #46.

from createsend-python.

djstein avatar djstein commented on July 19, 2024

While the pull request is being made if you would like to use the version I have been working on feel free too: https://github.com/getbento/createsend-python

Simply add this to your requirements.py:
git+git://github.com/getbento/createsend-python.git

from createsend-python.

djstein avatar djstein commented on July 19, 2024

I have updated this again via this pull request #47 thus finally solving the import issues at pip install. Please read the explanation there. Also @jdennes Campaign Monitor has emailed me back saying they have contacted the engineering team.

from createsend-python.

jaraco avatar jaraco commented on July 19, 2024

This issue affected me, although I got a slightly different error:

Collecting createsend
  Downloading createsend-4.2.2.tar.gz (160kB)
    100% |████████████████████████████████| 163kB 1.0MB/s 
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-build-7c99r2qj/createsend/setup.py", line 3, in <module>
        from createsend.createsend import __version__
      File "/private/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/pip-build-7c99r2qj/createsend/createsend/__init__.py", line 20, in <module>
        from createsend.version import __version__
    ModuleNotFoundError: No module named 'createsend.version'

Pinning to 4.2.1 seems to work around the issue.

from createsend-python.

jaraco avatar jaraco commented on July 19, 2024

I spoke too soon. Installing 4.2.1 from PyPI also fails if six is not already installed.

Collecting createsend!=4.2.2 (from -r requirements.txt (line 14))
  Downloading createsend-4.2.1.tar.gz (159kB)
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-0phub523/createsend/setup.py", line 5, in <module>
        from createsend.createsend import __version__
      File "/tmp/pip-build-0phub523/createsend/createsend/__init__.py", line 1, in <module>
        from .createsend import *
      File "/tmp/pip-build-0phub523/createsend/createsend/createsend.py", line 6, in <module>
        from six import BytesIO
    ModuleNotFoundError: No module named 'six'

from createsend-python.

xfxf avatar xfxf commented on July 19, 2024

I just noticed in your git commit history this was fixed, and 4.2.3 and then 4.2.4 was meant to be released. This hasn't been pushed to pypi - could it please?

from createsend-python.

djstein avatar djstein commented on July 19, 2024

@xfxf @theholy7 @jaraco yep this is fixed with version 4.2.3 and 4.2.4. if you want to put pressure on the campaign monitor team to release it please do. for now if you still need it please grab from https://github.com/getbento/createsend-python

to install please add git+git://github.com/getbento/createsend-python.git to your requirements.txt

from createsend-python.

katharosada avatar katharosada commented on July 19, 2024

Fixed in d1d545f and pushed in version 4.2.6.

from createsend-python.

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.